usb auto mount when nobody is logged in?

Konstantin Svist fry.kun at gmail.com
Tue Nov 30 20:03:20 UTC 2010


On 11/30/2010 10:32 AM, Alan Evans wrote:
> 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

Not Fedora, but this might help: 
https://wiki.archlinux.org/index.php/Udev#Auto_mounting_USB_devices


More information about the users mailing list