2014-01-20 18:52:26 +00:00
|
|
|
package mount
|
|
|
|
|
|
|
|
import (
|
|
|
|
"syscall"
|
|
|
|
)
|
|
|
|
|
2014-03-20 15:52:12 +00:00
|
|
|
const (
|
|
|
|
RDONLY = syscall.MS_RDONLY
|
|
|
|
NOSUID = syscall.MS_NOSUID
|
|
|
|
NODEV = syscall.MS_NODEV
|
|
|
|
NOEXEC = syscall.MS_NOEXEC
|
|
|
|
SYNCHRONOUS = syscall.MS_SYNCHRONOUS
|
|
|
|
DIRSYNC = syscall.MS_DIRSYNC
|
|
|
|
REMOUNT = syscall.MS_REMOUNT
|
|
|
|
MANDLOCK = syscall.MS_MANDLOCK
|
|
|
|
NOATIME = syscall.MS_NOATIME
|
|
|
|
NODIRATIME = syscall.MS_NODIRATIME
|
|
|
|
BIND = syscall.MS_BIND
|
|
|
|
RBIND = syscall.MS_BIND | syscall.MS_REC
|
2014-10-31 14:18:41 +00:00
|
|
|
UNBINDABLE = syscall.MS_UNBINDABLE
|
|
|
|
RUNBINDABLE = syscall.MS_UNBINDABLE | syscall.MS_REC
|
2014-03-20 15:52:12 +00:00
|
|
|
PRIVATE = syscall.MS_PRIVATE
|
2014-10-31 14:18:41 +00:00
|
|
|
RPRIVATE = syscall.MS_PRIVATE | syscall.MS_REC
|
|
|
|
SLAVE = syscall.MS_SLAVE
|
|
|
|
RSLAVE = syscall.MS_SLAVE | syscall.MS_REC
|
|
|
|
SHARED = syscall.MS_SHARED
|
|
|
|
RSHARED = syscall.MS_SHARED | syscall.MS_REC
|
2014-03-20 15:52:12 +00:00
|
|
|
RELATIME = syscall.MS_RELATIME
|
|
|
|
STRICTATIME = syscall.MS_STRICTATIME
|
|
|
|
)
|