diff options
author | Karel Zak | 2007-04-12 14:35:46 +0200 |
---|---|---|
committer | Karel Zak | 2007-04-25 00:20:40 +0200 |
commit | dd9f213ab6efd352f67bc18071c16239d1002b94 (patch) | |
tree | e390f57c96ff0c348fce7edf6eef311fe7d7b077 /mount/umount.8 | |
parent | mount: update mtab correctly when mount --move (diff) | |
download | kernel-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.8 | 13 |
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 |