diff options
author | Karel Zak | 2019-01-21 11:56:27 +0100 |
---|---|---|
committer | Karel Zak | 2019-01-21 11:56:27 +0100 |
commit | c22fc04127506c4c22db2cd87706f53448e9af64 (patch) | |
tree | 75e3adf5513de948bf8309c46fa4a4e7114b75e5 /sys-utils/mount.8 | |
parent | losetup: use offset in warn_size() calculation (diff) | |
download | kernel-qcow2-util-linux-c22fc04127506c4c22db2cd87706f53448e9af64.tar.gz kernel-qcow2-util-linux-c22fc04127506c4c22db2cd87706f53448e9af64.tar.xz kernel-qcow2-util-linux-c22fc04127506c4c22db2cd87706f53448e9af64.zip |
mount: (man) add note about --all to remount desc
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/mount.8')
-rw-r--r-- | sys-utils/mount.8 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-utils/mount.8 b/sys-utils/mount.8 index 6ef589050..73d816c30 100644 --- a/sys-utils/mount.8 +++ b/sys-utils/mount.8 @@ -1218,6 +1218,18 @@ After this call, mount reads fstab and merges these options with the options from the command line (\fB\-o\fR). If no mountpoint is found in fstab, then a remount with unspecified source is allowed. +.sp +mount(8) allows to use \fB\-\-all\fR to remount all already mounted filesystems +which match a specified filter (\fB\-O\fR and \fB\-t\fR). For example: +.sp +.in +4 +.B "mount \-\-all \-o remount,ro -t vfat" +.in +.sp +remounts all already mounted vfat filesystems in read-only mode. The each of the +filesystems is remounted by "mount \-o remount,ro /dir" semantic. It means the +mount command reads fstab or mtab and merges these options with the options +from the command line. .TP .B ro Mount the filesystem read-only. |