From 7238285bf2c6d73a0425791539a9bb668592f7f1 Mon Sep 17 00:00:00 2001 From: Vaclav Dolezal Date: Thu, 8 Feb 2018 15:46:33 +0100 Subject: mount: document --options-* in man/help Signed-off-by: Vaclav Dolezal --- sys-utils/mount.8 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'sys-utils/mount.8') diff --git a/sys-utils/mount.8 b/sys-utils/mount.8 index c5f7c1408..3c16a132c 100644 --- a/sys-utils/mount.8 +++ b/sys-utils/mount.8 @@ -677,6 +677,27 @@ and sections. .RE +.TP +.BR "\-\-options\-mode " \fImode +Controls how to combine options from fstab/mtab with options from command line. +\fImode\fR can be one of +.BR ignore ", " append ", " prepend " or " replace . +Default value is \fBprepend\fR. + +.TP +.BR "\-\-options\-source " \fIsource +Source of default options. +\fIsource\fR is comma separated list of +.BR fstab ", " mtab " and " disable . +\fBdisable\fR disables +.BR fstab " and " mtab +and disables \fB\-\-options\-source\-force\fR. +Default value is \fBfstab,mtab\fR. + +.TP +.BR \-\-options\-source\-force +Use options from fstab/mtab even if both \fIdevice\fR and \fIdir\fR are specified. + .TP .BR \-R , " \-\-rbind" Remount a subtree and all possible submounts somewhere else (so that its -- cgit v1.2.3-55-g7522 From 50ed551992e21d6a4cd88e8e14eb3e9cc6c670bd Mon Sep 17 00:00:00 2001 From: Vaclav Dolezal Date: Wed, 14 Feb 2018 13:52:04 +0100 Subject: mount(8): clarify behavior of --options-mode Signed-off-by: Vaclav Dolezal --- sys-utils/mount.8 | 1 + 1 file changed, 1 insertion(+) (limited to 'sys-utils/mount.8') diff --git a/sys-utils/mount.8 b/sys-utils/mount.8 index 3c16a132c..b8afa1a67 100644 --- a/sys-utils/mount.8 +++ b/sys-utils/mount.8 @@ -682,6 +682,7 @@ sections. Controls how to combine options from fstab/mtab with options from command line. \fImode\fR can be one of .BR ignore ", " append ", " prepend " or " replace . +For example \fBappend\fR means that options from fstab are appended to options from command line. Default value is \fBprepend\fR. .TP -- cgit v1.2.3-55-g7522