{"modulePath":"github.com/codedellemc/libstorage","version":"v0.6.3","isLatest":true,"isStandardLibrary":false,"goos":"linux","goarch":"amd64","docs":"# package linux\n\nPackage linux is the OS driver for linux. In order to reduce external dependencies, this package borrows the following packages:\n\n  - github.com/docker/docker/pkg/mount\n  - github.com/opencontainers/runc/libcontainer/label\n\n## Constants\n\n```go\nconst (\n\t// RDONLY will mount the file system read-only.\n\tRDONLY = syscall.MS_RDONLY\n\n\t// NOSUID will not allow set-user-identifier or set-group-identifier bits to\n\t// take effect.\n\tNOSUID = syscall.MS_NOSUID\n\n\t// NODEV will not interpret character or block special devices on the file\n\t// system.\n\tNODEV = syscall.MS_NODEV\n\n\t// NOEXEC will not allow execution of any binaries on the mounted file system.\n\tNOEXEC = syscall.MS_NOEXEC\n\n\t// SYNCHRONOUS will allow I/O to the file system to be done synchronously.\n\tSYNCHRONOUS = syscall.MS_SYNCHRONOUS\n\n\t// DIRSYNC will force all directory updates within the file system to be done\n\t// synchronously. This affects the following system calls: create, link,\n\t// unlink, symlink, mkdir, rmdir, mknod and rename.\n\tDIRSYNC = syscall.MS_DIRSYNC\n\n\t// REMOUNT will attempt to remount an already-mounted file system. This is\n\t// commonly used to change the mount flags for a file system, especially to\n\t// make a readonly file system writeable. It does not change device or mount\n\t// point.\n\tREMOUNT = syscall.MS_REMOUNT\n\n\t// MANDLOCK will force mandatory locks on a filesystem.\n\tMANDLOCK = syscall.MS_MANDLOCK\n\n\t// NOATIME will not update the file access time when reading from a file.\n\tNOATIME = syscall.MS_NOATIME\n\n\t// NODIRATIME will not update the directory access time.\n\tNODIRATIME = syscall.MS_NODIRATIME\n\n\t// BIND remounts a subtree somewhere else.\n\tBIND = syscall.MS_BIND\n\n\t// RBIND remounts a subtree and all possible submounts somewhere else.\n\tRBIND = syscall.MS_BIND | syscall.MS_REC\n\n\t// UNBINDABLE creates a mount which cannot be cloned through a bind operation.\n\tUNBINDABLE = syscall.MS_UNBINDABLE\n\n\t// RUNBINDABLE marks the entire mount tree as UNBINDABLE.\n\tRUNBINDABLE = syscall.MS_UNBINDABLE | syscall.MS_REC\n\n\t// PRIVATE creates a mount which carries no propagation abilities.\n\tPRIVATE = syscall.MS_PRIVATE\n\n\t// RPRIVATE marks the entire mount tree as PRIVATE.\n\tRPRIVATE = syscall.MS_PRIVATE | syscall.MS_REC\n\n\t// SLAVE creates a mount which receives propagation from its master, but not\n\t// vice versa.\n\tSLAVE = syscall.MS_SLAVE\n\n\t// RSLAVE marks the entire mount tree as SLAVE.\n\tRSLAVE = syscall.MS_SLAVE | syscall.MS_REC\n\n\t// SHARED creates a mount which provides the ability to create mirrors of\n\t// that mount such that mounts and unmounts within any of the mirrors\n\t// propagate to the other mirrors.\n\tSHARED = syscall.MS_SHARED\n\n\t// RSHARED marks the entire mount tree as SHARED.\n\tRSHARED = syscall.MS_SHARED | syscall.MS_REC\n\n\t// RELATIME updates inode access times relative to modify or change time.\n\tRELATIME = syscall.MS_RELATIME\n\n\t// STRICTATIME allows to explicitly request full atime updates.  This makes\n\t// it possible for the kernel to default to relatime or noatime but still\n\t// allow userspace to override it.\n\tSTRICTATIME = syscall.MS_STRICTATIME\n)\n```\n\n","path":"github.com/codedellemc/libstorage/drivers/os/linux","name":"linux","synopsis":"Package linux is the OS driver for linux.","isRedistributable":true}
