You can also use udisks directly.
- Code: Select all
udisks --mount <device>
udisks --unmount <device>
Yes, that's unmount, not umount.
It won't do encrypted partitions, and it won't let you specify the mountpoint. It mounts at /media/<disklabel> or if there's no no label, it uses the uuid.
Thunar volman lets you mount encrypted partitions without using the root password. I don't know how that works, but looking at top when I mounted an encrypted volume, I saw cryptsetup at the top momentarily.
I also took at look at cryptmount, and it looks like you have to specify who is allowed to mount what in a config file ahead of time. No thanks.
The next few versions of refracta2usb will most likely continue to use pmount.