1pumount(1) General Commands Manual pumount(1)
2
3
4
6 pumount - umount arbitrary hotpluggable devices as normal user
7
8
10 pumount [ options ] device
11
12
14 pumount is a wrapper around the standard umount program which permits
15 normal users to umount removable devices without a matching /etc/fstab
16 entry.
17
18 pumount also supports encrypted devices which use dm-crypt and have
19 LUKS metadata. If a LUKS-capable cryptsetup is installed, pumount will
20 umount the mapped device instead and call cryptsetup to close the
21 decrypted device afterwards.
22
23 pumount expects the device as its only argument. This will umount
24 device from a directory below /media if policy is met (see below).
25
26
28 -l, --lazy
29 Lazy unmount. Detach the filesystem from the filesystem hierar‐
30 chy now, and cleanup all references to the filesystem as soon as
31 it is not busy anymore. (Requires kernel 2.4.11 or later.)
32
33
34 -h, --help
35 Print a help message and exit successfully.
36
37
38 -d, --debug
39 Enable verbose debug messages.
40
41
42 --version
43 Print the current version number and exit successfully.
44
45
47 The umount will succeed if all of the following conditions are met:
48
49
50 · device is a block device in /dev/ (it does not need to exist if -l is
51 supplied)
52
53 · device is not in /etc/fstab (if it is, pmount executes umount
54 device as the calling user to handle this transparently)
55
56 · device is mounted according to /etc/mtab and /proc/mounts with the
57 calling user's uid
58
59 · mount point is in /media
60
61
63 pmount(1), umount(8)
64
65
67 pmount is developed by Martin Pitt <martin.pitt@canonical.com>.
68
69
70
71Martin Pitt August 27, 2004 pumount(1)