mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
pkg/mount: adding fields supported by freebsd
Signed-off-by: Vincent Batts <vbatts@redhat.com>
This commit is contained in:
parent
4d4a7b81bf
commit
0e217c4a9e
1 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,8 @@ func parseMountTable() ([]*MountInfo, error) {
|
|||
for _, entry := range entries {
|
||||
var mountinfo MountInfo
|
||||
mountinfo.Mountpoint = C.GoString(&entry.f_mntonname[0])
|
||||
mountinfo.Source = C.GoString(&entry.f_mntfromname[0])
|
||||
mountinfo.Fstype = C.GoString(&entry.f_fstypename[0])
|
||||
out = append(out, &mountinfo)
|
||||
}
|
||||
return out, nil
|
||||
|
|
Loading…
Add table
Reference in a new issue