From: Benno Schulenberg Date: Sun, 9 Feb 2025 08:23:22 +0000 (+0100) Subject: mount: properly mark the arguments of the 'ro' and 'rw' extended options X-Git-Tag: v2.42-start~51^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=29009a35a4112e1eeb73aafc7a0360094ccf6aad;p=thirdparty%2Futil-linux.git mount: properly mark the arguments of the 'ro' and 'rw' extended options The 'fs', 'vfs', and 'recursive' are literal values, not placeholders for something else. Signed-off-by: Benno Schulenberg --- diff --git a/sys-utils/mount.8.adoc b/sys-utils/mount.8.adoc index 1ec795056..1ee70096f 100644 --- a/sys-utils/mount.8.adoc +++ b/sys-utils/mount.8.adoc @@ -691,19 +691,19 @@ After this call, *mount* reads _fstab_ and merges these options with the options + remounts all already mounted vfat filesystems in read-only mode. Each of the filesystems is remounted by *mount -o remount,ro* _/dir_ semantic. This means the *mount* command reads _fstab_ or _mtab_ and merges these options with the options from the command line. -*ro*[=_recursive_,_vfs_,_fs_]:: +*ro*[**=**(*recursive*|*vfs*|*fs*)]:: Mount the filesystem read-only. The optional argument is an experimental feature supported only by the file-descriptor based kernel mount API and it is silently ignored for the old *mount*(2) syscall. + -The _recursive_ argument forces the VFS attribute to be applied recursively. +The *recursive* argument forces the VFS attribute to be applied recursively. + -The _vfs_ and _fs_ arguments specify the layer where the read-only flag should be applied. The _fs_ specifies -the filesystem superblock (unique filesystem instance in the kernel), and _vfs_ specifies the mount node. If no attribute is specified, then +The *vfs* and *fs* arguments specify the layer where the read-only flag should be applied. The *fs* specifies +the filesystem superblock (unique filesystem instance in the kernel), and *vfs* specifies the mount node. If no attribute is specified, then both layers are set to read-only. + For more details, please refer to the *Read-only Setting Notes* section. -*rw*[=_recursive_,_vfs_,_fs_]:: +*rw*[**=**(*recursive*|*vfs*|*fs*)]:: Mount the filesystem read-write. *sync*::