usb auto mount when nobody is logged in?

Alan Evans ame.fedora at gmail.com
Tue Nov 30 18:32:47 UTC 2010


Is it possible to get gnome-volume-manager style auto mount/umount of
USB drives in /media (or elsewhere) when nobody is logged into the
desktop? The behavior when I'm logged in (auto-mounting in a directory
named after the Volume Name, auto-unmounting, etc) is exactly what I
would like when I'm not logged in. It doesn't matter if the mount
point is owned by root, as I just want to back up some files in a cron
job but only if there's a drive plugged in.

I suppose I could script it all, except: 1. I'm not a very skilled
script writer, 2. I don't really know where to start to accomplish
this, and 3. It seems to me that there's already something on the
system that does perfectly what I want.

-Alan


More information about the users mailing list