pumount(1)
π pumount(1) β the girlies' guide to yeeting removable drives π
okay bestie, welcome to pumount, a general commands manual page and honestly? she's iconic. she lets you, a normal user, unmount hotpluggable devices. yes, you. no root arc required. periodt. π
β¨ NAME β¨
pumount β umount arbitrary hotpluggable devices as normal user
πΈ SYNOPSIS πΈ
pumount [ options ] device
like that's it. one device. she's low maintenance fr.
π¦ DESCRIPTION π¦
so pumount is a wrapper around the standard umount program, and the way it serves is: it lets normal users umount removable devices without a matching /etc/fstab entry. no fstab, no problem, we move. π
pumount also supports encrypted devices which use dm-crypt and have LUKS metadata. If a LUKS-capable cryptsetup is installed, pumount will umount the mapped device instead and call cryptsetup to close the decrypted device afterwards. it's giving teamwork, it's giving delegation. β¨
pumount expects the device as its only argument. This will umount device from a directory below /media if policy is met (see below, bestie, the policy section is right there, don't skip it π«Ά).
Please note that, as with pmount, you can use labels and uuids as described in fstab(5) for devices present in /etc/fstab. In this case, the device name needs to match exactly the corresponding entry in /etc/fstab, including the LABEL= or UUID= part. exact match only, no vibes-based guessing, she will not be lenient. π€
Important note for Debian: The permission to executepumountis restricted to members of the system groupplugdev. Please add all desktop users who shall be able to usepmountto this group by executing
adduser user plugdev
(as root). yes you actually have to do this. no you can't skip it. π
β¨ OPTIONS β¨
-l,--lazyβ Lazy unmount. Detach the filesystem from the filesystem hierarchy now, and cleanup all references to the filesystem as soon as it is not busy anymore. (Requires kernel 2.4.11 or later.)
IMPORTANT NOTES β This option should not be used unless you really know what you are doing, as chances are high that it will result in data loss on the removable drive. Please runpumountmanually and wait until it finishes. In addition,pumountwill notluksClosea device which was unmounted lazily. like bestie I am BEGGING you to be careful with this one π
--luks-forceβ Normally,pumountwill notluksClose(seecryptsetup(1)) a devicepmountdid not open. However, you can bypass this restriction with this flag. You probably will need it if you did mess around with the/var/lock/pmount_luksdirectory. (not me telling on myself for poking around in/var/lock/pmount_luksπ)-h,--helpβ Print a help message and exit successfully. she's helpful and she leaves gracefully. queen behavior. π-d,--debugβ Enable verbose debug messages. for when you wanna see everything that's happening, main character energy but for logs. π₯--versionβ Print the current version number and exit successfully. also leaves gracefully. consistency. β¨
π POLICY π
The umount will succeed if all of the following conditions are met β like, all of them, it's not a pick-one situation:
deviceis a block device in/dev/(it does not need to exist if-lis supplied)deviceis not in/etc/fstab(if it is,pmountexecutesumount deviceas the calling user to handle this transparently)deviceis mounted according to/etc/mtaband/proc/mountswith the calling user's uid- mount point is in
/media
vibe check passed = unmount unlocked. fail the vibe check = no unmount for you. π
π§ PUMOUNT AND MISSING DEVICES π§
pumount now supports unmounting devices that have gone missing for some reason, such as a brutal removal of the device, or a kernel/hardware problem. Just specify the mount point as argument for pumount.
yep. device ghosted you? you can still unmount the ghost. she's emotionally mature like that. π
β SEE ALSO β
pmount(1)cryptsetup(1)umount(8)
the friend group. go read them. iykyk. π
π AUTHOR π
pmount is developed by Martin Pitt <martin.pitt@canonical.com>.
okay that's the whole page bestie, go forth and unmount responsibly π«Άβ¨
this was Martin Pitt's pumount(1) page, dated August 27, 2004 β yes, 2004, she's a vintage icon and she still slays π πΈ
π¦ where this page comes from
- debian bookworm: pmount 0.9.23-6 Β· GPL-2.0-only
- debian trixie: pmount 0.9.23-9 Β· GPL-2.0-only
- ubuntu jammy: pmount 0.9.23-6 Β· GPL-2.0-only
- ubuntu noble: pmount 0.9.23-7.1build1 Β· GPL-2.0-only
- ubuntu questing: pmount 0.9.23-9
- ubuntu resolute: pmount 0.9.23-10 Β· GPL-2.0-only
- ubuntu stonking: pmount 0.9.23-11 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms