udevmnt

Download udevmnt Download

Ever since I got my first USB stick drive I’ve been frustrated at how difficult it is to manage these things in Linux. At first I had to run dmesg to find the device file, log in as root (or sudo once I got around to it), and manually mount it. This was unsatisfactory to say the least.

Now that the Linux desktop is all grown up there are better solutions, right? Well, kind-of. KDE and Gnome can look after this for you, but I don’t want to run a heavy desktop environment, and besides, these solutions aren’t exactly perfect for me. I tried ivman and had problems with it. I tried pmount, but for non-FAT filesystems it insisted on mounting my device in a directory I couldn’t write to. Finally sick of this nonsense enough to make my own solution, I came up with a solution, starting from some udev rules I found over at Gentoo and ArchLinux.

Now my sticks and USB hard disk are automatically mounted and unmounted for me, and I can manually unmount using pumount (which I’ve integrated into ROX filer).

Copy the files into /etc/udev/rules.d or wherever your distro puts its udev rules.

Update

I’ve retired udevmnt for my own system, largely (no) thanks to systemd. I’ve replaced it with udevil

Give back

If you find this program useful, give something back.