> > 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. BackupPC would still try to create the top level directories even if the drive never mounted, and thus they would end up being created in the root filesystem and not on the mounted drive. That would be bad. Les ------------------------------------------------------------------------- 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 [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
