1pmount-hal(1)               General Commands Manual              pmount-hal(1)
2
3
4

NAME

6       pmount-hal - HAL-aware wrapper around pmount
7
8

SYNOPSIS

10       pmount-hal device [ pmount options ]
11
12

DESCRIPTION

14       pmount  ("policy mount") is a wrapper around the standard mount program
15       which permits normal users to mount removable devices without a  match‐
16       ing /etc/fstab entry.
17
18       pmount-hal extends pmount by making it work together with hal (Hardware
19       Abstration Layer).  pmount-hal will ask hal about  values  for  certain
20       mount  flags (like noatime and async) and the prefered mount point name
21       and pass it to pmount, thus respecting the  configured  device  storage
22       policy.
23
24       The  first parameter (device) must be the HAL UDI or the device node of
25       the device to be mounted. All further parameters are passed  to  pmount
26       unchanged.
27
28

WARNING

30       As  pmount-hal uses pmount(1) to mount the given device, it is not pos‐
31       sible to unmount it with hal !  You need to use  either  pumount(1)  or
32       directly  umount(1) to unmount the devices mounted by pmount-hal.  This
33       is the cause of the  following  error  messages  when  unmounting  with
34       hal umount:
35
36
37       * Device  to unmount is not in /media/.hal-mtab so it is not mounted by
38         HAL
39
40
41       * Cannot open /media/.hal-mtab
42
43
44       * Cannot obtain lock on /media/.hal-mtab
45
46
47
48

ENVIRONMENT

50       PMOUNT_DEBUG
51              Setting this variable to a nonempty value will enable debug mes‐
52              sages.
53
54

SEE ALSO

56       pmount(1), hald(8),
57
58

AUTHOR

60       pmount is developed by Martin Pitt <martin.pitt@canonical.com>.
61
62
63
64Martin Pitt                    November 15, 2004                 pmount-hal(1)
Impressum