]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
mount: (man) use markup for command names
authorMario Blättermann <mario.blaettermann@gmail.com>
Mon, 10 Apr 2023 14:41:43 +0000 (16:41 +0200)
committerGitHub <noreply@github.com>
Mon, 10 Apr 2023 14:41:43 +0000 (16:41 +0200)
sys-utils/mount.8.adoc

index ad94cb20862245237fa0390c5cd8df42ccf23696..e39ac766b6ddec9daacc6e31654abaa675d516ae 100644 (file)
@@ -234,7 +234,7 @@ ____
 
 Note that a read-only bind will create a read-only mountpoint (VFS entry), but the original filesystem superblock will still be writable, meaning that the _olddir_ will be writable, but the _newdir_ will be read-only.
 
-It's also possible to change nosuid, nodev, noexec, noatime, nodiratime, relatime and nosymfollow VFS entry flags via a "remount,bind" operation. The other flags (for example filesystem-specific flags) are silently ignored. The classic mount(2) system call does not allow to change mount options recursively (for example with *-o rbind,ro*). The recursive semantic is possible with a new mount_setattr(2) kernel system call and it's supported since libmount from util-linux v2.39 by a new experimental "recursive" option argument (e.g. *-o rbind,ro=recursive*). For more details see the *FILESYSTEM-INDEPENDENT MOUNT OPTIONS* section for more details.
+It's also possible to change nosuid, nodev, noexec, noatime, nodiratime, relatime and nosymfollow VFS entry flags via a "remount,bind" operation. The other flags (for example filesystem-specific flags) are silently ignored. The classic *mount*(2) system call does not allow to change mount options recursively (for example with *-o rbind,ro*). The recursive semantic is possible with a new *mount_setattr*(2) kernel system call and it's supported since libmount from util-linux v2.39 by a new experimental "recursive" option argument (e.g. *-o rbind,ro=recursive*). For more details see the *FILESYSTEM-INDEPENDENT MOUNT OPTIONS* section.
 
 Since util-linux 2.31, *mount* ignores the *bind* flag from _/etc/fstab_ on a *remount* operation (if *-o remount* is specified on command line). This is necessary to fully control mount options on remount by command line. In previous versions the bind flag has been always applied and it was impossible to re-define mount options without interaction with the bind semantic. This *mount* behavior does not affect situations when "remount,bind" is specified in the _/etc/fstab_ file.
 
@@ -465,7 +465,7 @@ ____
 to get a complete overview of filesystems and VFS options.
 
 The read-only setting (*ro* or *rw*) is interpreted by VFS and the filesystem
-and depends on how the option is specified on the mount(8) command line. The
+and depends on how the option is specified on the *mount*(8) command line. The
 default is to interpret it on the filesystem level. The operation "-o bind,remount,ro"
 is applied only to the VFS mountpoint, and operation "-o remount,ro" is applied to
 VFS and filesystem superblock. This semantic allows create a read-only