Les Stott wrote:

>> Just thinking out loud here, but couldn't you achieve the same result
>> by using the automounter? The the drive is present, the automounter
>> would mount it up and then BackupPC would be happy. If the drive
>> isn't present, the mount should fail and BackupPC would error out
>> because its directory tree would not be present.
>>
>> Perhaps it's not as pretty as the scripted solution you're using, but
>> I think it should "just work" otherwise.
>>
>
> Never had much luck with the automounter doing things the right way.  
> It
> always wants to auto mount on directories under /media, and the
> directory can either be a label or a made up name.
>
> i prefer mounting and unmounting explicitly and choosing my own
> directory mount points.

Couldn't you use hotplug to start the BackupPC daemon when the  
external drive gets plugged in and stop it when it is removed?

Nils Breunese.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to