pumount(1) | General Commands Manual | pumount(1) |
pumount - umount arbitrary hotpluggable devices as normal user
pumount [ options ] device
pumount is a wrapper around the standard umount program which permits normal users to umount removable devices without a matching /etc/fstab entry.
pumount also supports encrypted devices which use dm-crypt and have LUKS metadata. If a LUKS-capable cryptsetup is installed, pumount will umount the mapped device instead and call cryptsetup to close the decrypted device afterwards.
pumount expects the device as its only argument. This will umount device from a directory below /media if policy is met (see below).
Please note that, as with pmount, you can use labels and uuids as described in fstab (5) for devices present in /etc/fstab. In this case, the device name need to match exactly the corresponding entry in /etc/fstab, including the LABEL= or UUID= part.
Important note for Debian: The permission to execute pumount is restricted to members of the system group plugdev. Please add all desktop users who shall be able to use pmount to this group by executing
(as root).
The umount will succeed if all of the following conditions are met:
pumount now supports unmounting devices that have gone missing for some reason, such as a brutal removal of the device, or a kernel/hardware problem. Just specify the mount point as argument for pumount.
pmount is developed by Martin Pitt <martin.pitt@canonical.com>.
August 27, 2004 | Martin Pitt |