summaryrefslogtreecommitdiffstats
path: root/mount/umount.8
diff options
context:
space:
mode:
authorKarel Zak2007-04-12 14:35:46 +0200
committerKarel Zak2007-04-25 00:20:40 +0200
commitdd9f213ab6efd352f67bc18071c16239d1002b94 (patch)
treee390f57c96ff0c348fce7edf6eef311fe7d7b077 /mount/umount.8
parentmount: update mtab correctly when mount --move (diff)
downloadkernel-qcow2-util-linux-dd9f213ab6efd352f67bc18071c16239d1002b94.tar.gz
kernel-qcow2-util-linux-dd9f213ab6efd352f67bc18071c16239d1002b94.tar.xz
kernel-qcow2-util-linux-dd9f213ab6efd352f67bc18071c16239d1002b94.zip
mount: add support for mtab "uhelper" option
The helper is an external /sbin/umount.<suffix> program where the suffix is a value from the uhelper= option from /etc/mtab. The uhelper (unprivileged umount helper) is possible to used when non-root user wants to umount a mountpoint which is not defined in the /etc/fstab file (e.g devices mounted by HAL). This option is already supported by HAL upstream. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'mount/umount.8')
-rw-r--r--mount/umount.813
1 files changed, 13 insertions, 0 deletions
diff --git a/mount/umount.8 b/mount/umount.8
index fafbff269..5d38ac8d3 100644
--- a/mount/umount.8
+++ b/mount/umount.8
@@ -122,6 +122,19 @@ or when the \-d option was given.
Any pending loop devices can be freed using `losetup -d', see
.BR losetup (8).
+.SH NOTES
+The syntax of external umount helpers is:
+
+.br
+.BI "/sbin/umount.<suffix> [\-nlfvr] " "dir " | " device "
+.br
+
+where the <suffix> is filesystem type or a value from "uhelper=" mtab option.
+
+The uhelper (unprivileged umount helper) is possible to used when non-root user
+wants to umount a mountpoint which is not defined in the /etc/fstab file (e.g
+devices mounted by HAL).
+
.SH FILES
.I /etc/mtab
table of mounted file systems