This is completely fixed in version 0.9.16 of pmount. Just try out
pmount LABEL=my_nice_label
and
pumount LABEL=my_nice_label
Provided that you have the LABEL=my_nice_label entry in /etc/fstab,
pmount will just forward the query to mount (without root privileges).
** Changed in: pmount (Ubuntu
Status update: This is not an issue in feisty any more. Feisty now uses
gnome-mount and the hal mount backend, which does find devices by
uuid/label.
** Changed in: pmount (Ubuntu)
Status: In Progress => Confirmed
--
does not find devices by label/uuid
https://launchpad.net/bugs/69087
--
Oh, udev does not create /dev/disk/by-label symlinks, however.
--
does not find devices by label/uuid
https://launchpad.net/bugs/69087
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
AFAICT, this fstab line works correctly:
/dev/disk/by-uuid/... /media/... auto defaults,user,noauto 0 0
noauto means mount -a will ignore it (used at boot-time - would be a
problem to mount as root), but pmount will use it (I haven't tried
rebooting yet).
Hot plugging does work as expected, (that
(sorry for repeating obvious things) To give a user mount permissions,
just add "user" to the options field in the fstab file.
As I understand it: as soon as a fstab entry has been found, mount is
called and any policy decisions are left to this command. mount then
sees the 'user' option in the fs