util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] docs: restore the mention of uhelper= and helper= in man page of umount
@ 2014-07-31 20:43 Benno Schulenberg
  2014-08-05 13:41 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: Benno Schulenberg @ 2014-07-31 20:43 UTC (permalink / raw)
  To: util-linux

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
---
 sys-utils/umount.8 |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/sys-utils/umount.8 b/sys-utils/umount.8
index 54fe7ae..8a640f4 100644
--- a/sys-utils/umount.8
+++ b/sys-utils/umount.8
@@ -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
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] docs: restore the mention of uhelper= and helper= in man page of umount
  2014-07-31 20:43 [PATCH] docs: restore the mention of uhelper= and helper= in man page of umount Benno Schulenberg
@ 2014-08-05 13:41 ` Karel Zak
  0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2014-08-05 13:41 UTC (permalink / raw)
  To: Benno Schulenberg; +Cc: util-linux

On Thu, Jul 31, 2014 at 10:43:29PM +0200, Benno Schulenberg wrote:
>  sys-utils/umount.8 |   14 ++++++++++++--
>  1 files changed, 12 insertions(+), 2 deletions(-)

 Applied, thanks.

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-05 13:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-31 20:43 [PATCH] docs: restore the mention of uhelper= and helper= in man page of umount Benno Schulenberg
2014-08-05 13:41 ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).