From: Karel Zak Date: Mon, 21 Jan 2019 10:56:27 +0000 (+0100) Subject: mount: (man) add note about --all to remount desc X-Git-Tag: v2.34-rc1~151 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c22fc04127506c4c22db2cd87706f53448e9af64;p=thirdparty%2Futil-linux.git mount: (man) add note about --all to remount desc Signed-off-by: Karel Zak --- diff --git a/sys-utils/mount.8 b/sys-utils/mount.8 index 6ef5890505..73d816c300 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.