Home Explore Blog CI



man-pages

19th chunk of `mount.man`
2f6969a502947320baa313c39107199a67644d7c07151ae00000000100001045
    │ 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

Title: Filesystem-Specific Mount Options: adfs, affs, debugfs, and devpts
Summary
The document details mount options specific to several filesystems. For adfs, it covers `uid`, `gid`, `ownmask`, and `othmask` for setting file ownership and permissions. For affs, it explains options like `uid`, `gid`, `setuid`, `setgid`, `mode`, `protect`, `usemp`, `verbose`, `prefix`, `volume`, `reserved`, `root`, `bs`, and quota-related options, covering ownership, permissions, volume prefixes, and block size. For debugfs, it lists `uid`, `gid`, and `mode` to control mountpoint ownership and permissions. Lastly, for devpts, it describes `uid`, `gid`, and `mode` to configure ownership and permissions of newly created pseudo terminals.