pmount-hal(1) HAL-aware wrapper around pmount


pmount-hal device [ pmount options ]


pmount ("policy mount") is a wrapper around the standard mount program which permits normal users to mount removable devices without a matching /etc/fstab entry.

pmount-hal extends pmount by making it work together with hal (Hardware Abstration Layer). pmount-hal will ask hal about values for certain mount flags (like noatime and async) and the prefered mount point name and pass it to pmount, thus respecting the configured device storage policy.

The first parameter (device) must be the HAL UDI or the device node of the device to be mounted. All further parameters are passed to pmount unchanged.


As pmount-hal uses pmount(1) to mount the given device, it is not possible to unmount it with hal ! You need to use either pumount(1) or directly umount(1) to unmount the devices mounted by pmount-hal. This is the cause of the following error messages when unmounting with halĀ umount:

Device to unmount is not in /media/.hal-mtab so it is not mounted by HAL

Cannot open /media/.hal-mtab

Cannot obtain lock on /media/.hal-mtab


Setting this variable to a nonempty value will enable debug messages.


pmount is developed by Martin Pitt <[email protected]>.