Module: Sys::Filesystem::Constants
- Included in:
- Sys::Filesystem
- Defined in:
- lib/sys/unix/sys/filesystem/constants.rb,
lib/sys/windows/sys/filesystem/constants.rb
Constant Summary collapse
- MNT_RDONLY =
read only filesystem
0x00000001
- MNT_SYNCHRONOUS =
file system written synchronously
0x00000002
- MNT_NOEXEC =
can’t exec from filesystem
0x00000004
- MNT_NOSUID =
don’t honor setuid bits on fs
0x00000008
- MNT_NODEV =
don’t interpret special files
0x00000010
- MNT_UNION =
union with underlying filesystem
0x00000020
- MNT_ASYNC =
file system written asynchronously
0x00000040
- MNT_CPROTECT =
file system supports content protection
0x00000080
- MNT_EXPORTED =
file system is exported
0x00000100
- MNT_QUARANTINE =
file system is quarantined
0x00000400
- MNT_LOCAL =
filesystem is stored locally
0x00001000
- MNT_QUOTA =
quotas are enabled on filesystem
0x00002000
- MNT_ROOTFS =
identifies the root filesystem
0x00004000
- MNT_DOVOLFS =
FS supports volfs (deprecated)
0x00008000
- MNT_DONTBROWSE =
FS is not appropriate path to user data
0x00100000
- MNT_IGNORE_OWNERSHIP =
VFS will ignore ownership info on FS objects
0x00200000
- MNT_AUTOMOUNTED =
filesystem was mounted by automounter
0x00400000
- MNT_JOURNALED =
filesystem is journaled
0x00800000
- MNT_NOUSERXATTR =
Don’t allow user extended attributes
0x01000000
- MNT_DEFWRITE =
filesystem should defer writes
0x02000000
- MNT_MULTILABEL =
MAC support for individual labels
0x04000000
- MNT_NOATIME =
disable update of file access time
0x10000000
- MNT_NOCLUSTERR =
disable cluster read
0x40000000
- MNT_NOCLUSTERW =
disable cluster write
0x80000000
- MNT_VISFLAGMASK =
( MNT_RDONLY | MNT_SYNCHRONOUS | MNT_NOEXEC | MNT_NOSUID | MNT_NODEV | MNT_UNION | MNT_ASYNC | MNT_EXPORTED | MNT_QUARANTINE | MNT_LOCAL | MNT_QUOTA | MNT_ROOTFS | MNT_DOVOLFS | MNT_DONTBROWSE | MNT_IGNORE_OWNERSHIP | MNT_AUTOMOUNTED | MNT_JOURNALED | MNT_NOUSERXATTR | MNT_DEFWRITE | MNT_MULTILABEL | MNT_NOATIME | MNT_CPROTECT )
- MS_RDONLY =
1
- MS_NOSUID =
2
- MS_NODEV =
4
- MS_NOEXEC =
8
- MS_SYNCHRONOUS =
16
- MS_REMOUNT =
32
- MS_MANDLOCK =
64
- MS_DIRSYNC =
128
- MS_NOATIME =
1024
- MS_NODIRATIME =
2048
- MS_BIND =
4096
- MS_MOVE =
8192
- MS_REC =
16384
- MS_SILENT =
32768
- MS_POSIXACL =
1 << 16
- MS_UNBINDABLE =
1 << 17
- MS_PRIVATE =
1 << 18
- MS_SLAVE =
1 << 19
- MS_SHARED =
1 << 20
- MS_RELATIME =
1 << 21
- MS_KERNMOUNT =
1 << 22
- MS_I_VERSION =
1 << 23
- MS_STRICTATIME =
1 << 24
- MS_ACTIVE =
1 << 30
- MS_NOUSER =
1 << 31
- MNT_FORCE =
1
- MNT_DETACH =
2
- MNT_EXPIRE =
4
- UMOUNT_NOFOLLOW =
8
- MAXPATH =
260
- CASE_SENSITIVE_SEARCH =
0x00000001
- CASE_PRESERVED_NAMES =
0x00000002
- UNICODE_ON_DISK =
0x00000004
- PERSISTENT_ACLS =
0x00000008
- FILE_COMPRESSION =
0x00000010
- VOLUME_QUOTAS =
0x00000020
- SUPPORTS_SPARSE_FILES =
0x00000040
- SUPPORTS_REPARSE_POINTS =
0x00000080
- SUPPORTS_REMOTE_STORAGE =
0x00000100
- VOLUME_IS_COMPRESSED =
0x00008000
- SUPPORTS_OBJECT_IDS =
0x00010000
- SUPPORTS_ENCRYPTION =
0x00020000
- NAMED_STREAMS =
0x00040000
- READ_ONLY_VOLUME =
0x00080000