[clug] Re: HAL, DBUS and co.

David Tulloh david at tulloh.id.au
Wed Jun 3 12:43:38 GMT 2009


Andrew Janke wrote:
>> Does anyone know a "clean" way to make a machine automagically mount
>> USB HDD's (by label as per gnome-volume-manager in /media/<label>)
>> when no user is logged in?
>>     
>
> Don't you hate it how the second after you post something you
> generally find an answer..  not quite automatic but good enough for
> cron..
>   
I've used halevt a little bit.
http://www.nongnu.org/halevt/

It's in apt, just install it and it works...
The (sadly XML) configuration file allows you to do other things as 
well.  So you could just mount that specific device, or start your 
backup when that device is inserted.


David


More information about the linux mailing list