]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Merge branch 'patch-10' of https://github.com/mariobl/util-linux
authorKarel Zak <kzak@redhat.com>
Tue, 28 Mar 2023 17:10:40 +0000 (19:10 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 28 Mar 2023 17:10:40 +0000 (19:10 +0200)
* 'patch-10' of https://github.com/mariobl/util-linux:
  mount: (man) Add usual Asciidoctor markup

1  2 
sys-utils/mount.8.adoc

diff --combined sys-utils/mount.8.adoc
index 44146c08142b4316c5745562572a054425082fc6,d0c55cce25ec97741df1bd54da9c3c83e8f12bfb..ad94cb20862245237fa0390c5cd8df42ccf23696
@@@ -570,7 -570,7 +570,7 @@@ The filesystem resides on a device tha
  Do not report errors for this device if it does not exist.
  
  *relatime*::
 -Update inode access times relative to modify or change time. Access time is only updated if the previous access time was earlier than the current modify or change time. (Similar to *noatime*, but it doesn't break *mutt*(1) or other applications that need to know if a file has been read since the last time it was modified.)
 +Update inode access times relative to modify or change time. Access time is only updated if the previous access time was earlier than or equal to the current modify or change time. (Similar to *noatime*, but it doesn't break *mutt*(1) or other applications that need to know if a file has been read since the last time it was modified.)
  +
  Since Linux 2.6.30, the kernel defaults to the behavior provided by this option (unless *noatime* was specified), and the *strictatime* option is required to obtain traditional semantics. In addition, since Linux 2.6.30, the file's last access time is always updated if it is more than 1 day old.
  
@@@ -619,11 -619,11 +619,11 @@@ Attempt to remount an already-mounted f
  The remount operation together with the *bind* flag has special semantics. See above, the subsection *Bind mount operation*.
  +
  The default kernel behavior for VFS mount flags (nodev,nosuid,noexec,ro) is to
- reset all unspecified flags on remount. That's why mount(8) tries to
- keep the current setting according to fstab or /proc/self/mountinfo. This
+ reset all unspecified flags on remount. That's why *mount*(8) tries to
+ keep the current setting according to _fstab_ or _/proc/self/mountinfo_. This
  default behavior is possible to change by *--options-mode*. The recursive
- change of the mount flags (supported since v2.39 on systems with mount_setattr
- syscall), for example, "mount -o remount,ro=recursive", do not use
+ change of the mount flags (supported since v2.39 on systems with *mount_setattr*(2)
+ syscall), for example, *mount -o remount,ro=recursive*, do not use
  "reset-unspecified" behavior, and it works as a simple add/remove operation
  and unspecified flags are not modified.
  +
@@@ -635,7 -635,7 +635,7 @@@ After this call all old mount options a
  +
  *mount -o remount,rw /dir*
  +
- After this call, *mount* reads _fstab_ and merges these options with the options from the command line (*-o*). If no mountpoint is found in _fstab_, then it defaults to mount options from /proc/self/mountinfo.
+ After this call, *mount* reads _fstab_ and merges these options with the options from the command line (*-o*). If no mountpoint is found in _fstab_, then it defaults to mount options from _/proc/self/mountinfo_.
  +
  
  *mount* allows the use of *--all* to remount all already mounted filesystems which match a specified filter (*-O* and *-t*). For example: