mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
53 lines
1.4 KiB
Go
53 lines
1.4 KiB
Go
|
// +build !darwin,!windows
|
||
|
|
||
|
package mount // import "github.com/docker/docker/pkg/mount"
|
||
|
|
||
|
// Deprecated: this package is not maintained and will be removed.
|
||
|
// Use github.com/moby/sys/mount and github.com/moby/sys/mountinfo instead.
|
||
|
|
||
|
import (
|
||
|
sysmount "github.com/moby/sys/mount"
|
||
|
)
|
||
|
|
||
|
// Deprecated: use github.com/moby/sys/mount instead.
|
||
|
//nolint:golint
|
||
|
var (
|
||
|
Mount = sysmount.Mount
|
||
|
ForceMount = sysmount.Mount // a deprecated synonym
|
||
|
Unmount = sysmount.Unmount
|
||
|
RecursiveUnmount = sysmount.RecursiveUnmount
|
||
|
)
|
||
|
|
||
|
// Deprecated: use github.com/moby/sys/mount instead.
|
||
|
//nolint:golint
|
||
|
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.
|
||
|
//nolint:golint
|
||
|
var (
|
||
|
MergeTmpfsOptions = sysmount.MergeTmpfsOptions
|
||
|
)
|