---
name: "pmount-hal"
section: "1"
platform: "linux"
package: "pmount"
version: "0.9.23-1"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/pmount-hal"
---

# pmount-hal(1)

HAL-aware wrapper around pmount

## 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)](/pmount/1.md) to mount the given device,  **it is not possible to unmount it with hal !** You need to use either [**pumount**(1)](/pumount/1.md) 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)](/pmount/1.md), [**hald**(8)](/hald/8.md),

## AUTHOR

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