diff options
author | Karel Zak | 2018-02-22 12:45:56 +0100 |
---|---|---|
committer | Karel Zak | 2018-02-22 12:45:56 +0100 |
commit | f49cf49bd857a2ecf3207bb6e38a08fc039bbe8e (patch) | |
tree | c2d88a2d0c7bcb55939bd134bd901097c2339cf5 /sys-utils/mount.8 | |
parent | libsmartcols: fix docs warnings (diff) | |
download | kernel-qcow2-util-linux-f49cf49bd857a2ecf3207bb6e38a08fc039bbe8e.tar.gz kernel-qcow2-util-linux-f49cf49bd857a2ecf3207bb6e38a08fc039bbe8e.tar.xz kernel-qcow2-util-linux-f49cf49bd857a2ecf3207bb6e38a08fc039bbe8e.zip |
mount: add note about cached kernel table for --all
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/mount.8')
-rw-r--r-- | sys-utils/mount.8 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys-utils/mount.8 b/sys-utils/mount.8 index f492f7f25..c040730a2 100644 --- a/sys-utils/mount.8 +++ b/sys-utils/mount.8 @@ -118,7 +118,7 @@ network filesystems) the same filesystem maybe be mounted on the same mountpoint more times. The mount command does not implement any policy to control this behavior. All behavior is controlled by kernel and it is usually specific to filesystem driver. The exception is \fB\-\-all\fR, in this case -already mounted filesystems are ignored. +already mounted filesystems are ignored (see \fB\-\-all\fR below for more details). .SS Listing the mounts The listing mode is maintained for backward compatibility only. @@ -553,6 +553,10 @@ Mount all filesystems (of the given types) mentioned in .B noauto keyword). The filesystems are mounted following their order in .IR fstab . +The mount command compares filesystem source, target (and fs root for bind +mount or btrfs) to detect already mounted filesystems. The kernel table with +already mounted filesystems is cached during \fBmount \-\-all\fR. It means +that all duplicated fstab entries will be mounted. .sp Note that it is a bad practice to use \fBmount \-a\fR for .IR fstab |