On 20/09/2007, Stephen Joyce <[EMAIL PROTECTED]> wrote: > Use 'mount' instead of checking for directory existence to determine if the > filesystem is mounted and return the corresponding exit status? (if > backuppc has created the directory structure on the main drive instead of > a mounted one, it's safe to remove inside the script. Use 'rm' on each > level working your way up, NOT 'rm -rf' on the parent, if you're paranoid > or don't fully trust your script.) > > Or am I misunderstanding the problem?
I think the problem is that MacOS X uses an automounter, and what BackupPC is doing (viz. creating the directory before calling the checks) is creating a situation where the automounter *always* mounts the drive in the wrong place. So no amount of checks is going to work because the config is guaranteed to be wrong. -- cheers, -ambrose Yahoo and Gmail must die. Yes, I use them, but they still must die. PS: Don't trust everything you read in Wikipedia. (Very Important) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/