pmount-hal

Langue: en

Version: 263697 (debian - 07/07/09)

Section: 1 (Commandes utilisateur)

NAME

pmount-hal - HAL-aware wrapper around pmount

SYNOPSIS

pmount-hal device [ pmount options ]

DESCRIPTION

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.

WARNING

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

ENVIRONMENT

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

SEE ALSO

pmount(1), hald(8),

AUTHOR

pmount is developed by Martin Pitt <martin.pitt@canonical.com>.