│ tmpfs(5) │
├──────────────────┼───────────────┤
│ │ │
│ xfs │ xfs(5) │
└──────────────────┴───────────────┘
Note that some of the pages listed above might be available only after
you install the respective userland tools.
The following options apply only to certain filesystems. We sort them by
filesystem. All options follow the -o flag.
What options are supported depends a bit on the running kernel. Further
information may be available in filesystem-specific files in the kernel
source subdirectory Documentation/filesystems.
Mount options for adfs
uid=value and gid=value
Set the owner and group of the files in the filesystem (default:
uid=gid=0).
ownmask=value and othmask=value
Set the permission mask for ADFS 'owner' permissions and 'other'
permissions, respectively (default: 0700 and 0077, respectively).
See also /usr/src/linux/Documentation/filesystems/adfs.rst.
Mount options for affs
uid=value and gid=value
Set the owner and group of the root of the filesystem (default:
uid=gid=0, but with option uid or gid without specified value, the
UID and GID of the current process are taken).
setuid=value and setgid=value
Set the owner and group of all files.
mode=value
Set the mode of all files to value & 0777 disregarding the original
permissions. Add search permission to directories that have read
permission. The value is given in octal.
protect
Do not allow any changes to the protection bits on the filesystem.
usemp
Set UID and GID of the root of the filesystem to the UID and GID of
the mount point upon the first sync or umount, and then clear this
option. Strange...
verbose
Print an informational message for each successful mount.
prefix=string
Prefix used before volume name, when following a link.
volume=string
Prefix (of length at most 30) used before '/' when following a
symbolic link.
reserved=value
(Default: 2.) Number of unused blocks at the start of the device.
root=value
Give explicitly the location of the root block.
bs=value
Give blocksize. Allowed values are 512, 1024, 2048, 4096.
grpquota|noquota|quota|usrquota
These options are accepted but ignored. (However, quota utilities
may react to such strings in /etc/fstab.)
Mount options for debugfs
The debugfs filesystem is a pseudo filesystem, traditionally mounted on
/sys/kernel/debug. As of kernel version 3.4, debugfs has the following
options:
uid=n, gid=n
Set the owner and group of the mountpoint.
mode=value
Sets the mode of the mountpoint.
Mount options for devpts
The devpts filesystem is a pseudo filesystem, traditionally mounted on
/dev/pts. In order to acquire a pseudo terminal, a process opens
/dev/ptmx; the number of the pseudo terminal is then made available to
the process and the pseudo terminal slave can be accessed as
/dev/pts/<number>.
uid=value and gid=value
This sets the owner or the group of newly created pseudo terminals
to the specified values. When nothing is specified, they will be set
to the UID and GID of the creating process. For example, if there is
a tty group with GID 5, then gid=5 will cause newly created pseudo
terminals to belong to the tty group.
mode=value
Set the mode of newly created pseudo terminals to the specified
value. The default is 0600. A value of mode=620 and gid=5 makes
"mesg y" the default on newly created