mount

package
v20.10.4+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

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
	MakeShared      = sysmount.MakeShared
	MakeRShared     = sysmount.MakeRShared
	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

type FilterFunc = func(*Info) (skip, stop bool)

FilterFunc is a type. Deprecated: use github.com/moby/sys/mountinfo instead.

type Info added in v1.8.0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL