BackupPC-users

Re: [BackupPC-users] Disk space used far higher than reported pool size

2013-10-30 09:40:54
Subject: Re: [BackupPC-users] Disk space used far higher than reported pool size
From: Timothy J Massey <tmassey AT obscorp DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Wed, 30 Oct 2013 09:33:25 -0400
Adam Goryachev <mailinglists AT websitemanagers.com DOT au> wrote on 10/30/2013 09:18:59 AM:

> Not really relevant to this thread, but I have in the past added a
> empty file to each of the removable drives, then test if the file
> exists before creating the archives. If the drive isn't mounted, the
> file won't exist. Thus preventing that issue.
>
> I'm sure you've probably considered this previously already :)


Thank you for the suggestion!

My thought was to parse the output of "df /path/to/drive" and confirm that it was mounted correctly.  (I already do that in the scripts I use to mount the removable drive and re-format it.)  If it happened more than once or twice a year, I probably would!  :)

Your way certainly works, too.  Because it's the root of the removable drive, I could simply look for lost+found, too!  :)

Tim Massey

 
Out of the Box Solutions, Inc.
Creative IT Solutions Made Simple!

http://www.OutOfTheBoxSolutions.com
tmassey AT obscorp DOT com
      22108 Harper Ave.
St. Clair Shores, MI 48080
Office: (800)750-4OBS (4627)
Cell: (586)945-8796

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
<Prev in Thread] Current Thread [Next in Thread>