]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
mount: properly mark the arguments of the 'ro' and 'rw' extended options
authorBenno Schulenberg <bensberg@telfort.nl>
Sun, 9 Feb 2025 08:23:22 +0000 (09:23 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 10 Feb 2025 11:36:57 +0000 (12:36 +0100)
The 'fs', 'vfs', and 'recursive' are literal values, not placeholders
for something else.

Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
sys-utils/mount.8.adoc

index 1ec7950565f08760942fab1a9cac6c4b07d2c327..1ee70096fca584ce36c26266e9b32fd38952e4cc 100644 (file)
@@ -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*::