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
|
|
|
|
PRIVATE = syscall.MS_PRIVATE
|
|
|
|
RELATIME = syscall.MS_RELATIME
|
|
|
|
STRICTATIME = syscall.MS_STRICTATIME
|
|
|
|
)
|