Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ProcMount represents the /proc/mounts file
ProcMount = "/proc/mounts"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Mount ¶
type Mount struct { Device string MountPoint string FSType string Opts string // fs options, such as rw, ro. Dump string // backup options, set 0 or 1, 1 will use dump to backup. Pass string // fsck options, set 0 or 1 or 2, 0 will not check, 1 earlier than 2 to check. }
Mount defines the attribute of mount.
func GetMountPoint ¶
GetMountPoint returns the mount point information of file system
Click to show internal directories.
Click to hide internal directories.