Documentation
¶
Overview ¶
Package mountinfo reads the mounts of the node, as /proc/self/mountinfo lists them: unlike /proc/mounts, it says which directory of a filesystem a mount shows, as the subvolume of a btrfs or the directory of a bind mount.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct {
// Root is the directory of the filesystem the mount shows.
Root string
// Target is the mount point.
Target string
FSType string
// Source is the device mounted, or what stands for it, as the
// dataset of a zfs.
Source string
// Options are the options of the mount, SuperOptions the ones of
// the filesystem.
Options string
SuperOptions string
}
Entry is one mount.