]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
docs: restore the mention of uhelper= and helper= in man page of umount
authorBenno Schulenberg <bensberg@justemail.net>
Thu, 31 Jul 2014 20:43:29 +0000 (22:43 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 5 Aug 2014 13:37:36 +0000 (15:37 +0200)
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
sys-utils/umount.8

index 54fe7ae6296e3cde1d0300fbf35490f1252b36fc..8a640f44d8c1eb9677729c280ca2175831ca6f56 100644 (file)
@@ -162,20 +162,30 @@ The syntax of external unmount helpers is:
 .IR type . subtype ]
 .RE
 .PP
-where \fIsuffix\fR is the filesystem type.
+where \fIsuffix\fR is the filesystem type (or the value from a
+\fBuhelper=\fR or \fBhelper=\fR marker in the mtab file).
 The \fB\-t\fR option can be used for filesystems that
 have subtype support.  For example:
 .PP
 .RS
 .B umount.fuse \-t fuse.sshfs
 .RE
+.PP
+A \fBuhelper=\fIsomething\fR marker (unprivileged helper) can appear in
+the \fI/etc/mtab\fR file when ordinary users need to be able to unmount
+a mountpoint that is not defined in \fI/etc/fstab\fR
+(for example for a device that was mounted by \fBudisks\fR(1)).
+.PP
+A \fBhelper=\fItype\fR marker in the mtab file will redirect
+all unmount requests
+to the \fB/sbin/umount.\fItype\fR helper independently of UID.
 .SH FILES
 .TP
 .B /etc/mtab
 table of mounted filesystems
 .TP
 .B /etc/fstab
-checked when option \fB\-O\fR is given
+table of known filesystems
 .SH ENVIRONMENT
 .IP LIBMOUNT_FSTAB=<path>
 overrides the default location of the fstab file