Documentation ¶
Index ¶
Constants ¶
View Source
const ( RDONLY = sysmount.RDONLY NOSUID = sysmount.NOSUID NOEXEC = sysmount.NOEXEC SYNCHRONOUS = sysmount.SYNCHRONOUS NOATIME = sysmount.NOATIME BIND = sysmount.BIND DIRSYNC = sysmount.DIRSYNC MANDLOCK = sysmount.MANDLOCK NODEV = sysmount.NODEV NODIRATIME = sysmount.NODIRATIME UNBINDABLE = sysmount.UNBINDABLE RUNBINDABLE = sysmount.RUNBINDABLE PRIVATE = sysmount.PRIVATE RPRIVATE = sysmount.RPRIVATE SHARED = sysmount.SHARED RSHARED = sysmount.RSHARED SLAVE = sysmount.SLAVE RSLAVE = sysmount.RSLAVE RBIND = sysmount.RBIND RELATIME = sysmount.RELATIME REMOUNT = sysmount.REMOUNT STRICTATIME = sysmount.STRICTATIME )
Deprecated: use github.com/moby/sys/mount instead.
Variables ¶
View Source
var ( Mounted = mountinfo.Mounted PrefixFilter = mountinfo.PrefixFilter SingleEntryFilter = mountinfo.SingleEntryFilter ParentsFilter = mountinfo.ParentsFilter FstypeFilter = mountinfo.FSTypeFilter )
Deprecated: use github.com/moby/sys/mountinfo instead.
View Source
var ( MakeMount = sysmount.MakeMount MakePrivate = sysmount.MakePrivate MakeRPrivate = sysmount.MakeRPrivate MakeSlave = sysmount.MakeSlave MakeRSlave = sysmount.MakeRSlave MakeUnbindable = sysmount.MakeUnbindable MakeRUnbindable = sysmount.MakeRUnbindable )
Deprecated: use github.com/moby/sys/mount instead.
View Source
var ( Mount = sysmount.Mount ForceMount = sysmount.Mount // a deprecated synonym Unmount = sysmount.Unmount RecursiveUnmount = sysmount.RecursiveUnmount )
Deprecated: use github.com/moby/sys/mount instead.
View Source
var (
MergeTmpfsOptions = sysmount.MergeTmpfsOptions
)
Deprecated: use github.com/moby/sys/mount instead.
Functions ¶
This section is empty.
Types ¶
type FilterFunc ¶
FilterFunc is a type. Deprecated: use github.com/moby/sys/mountinfo instead.
type Info ¶ added in v1.13.1
type Info struct {
ID, Parent, Major, Minor int
Root, Mountpoint, Opts, Optional, Fstype, Source, VfsOpts string
}
Info is a type Deprecated: use github.com/moby/sys/mountinfo instead.
func GetMounts
deprecated
func GetMounts(f FilterFunc) ([]*Info, error)
GetMounts is a function.
Deprecated: use github.com/moby/sys/mountinfo.GetMounts() instead.
Click to show internal directories.
Click to hide internal directories.