Disk usage error

aragonx at dcsnow.com aragonx at dcsnow.com
Wed Feb 10 20:17:05 UTC 2010


>    * I did not regard and of the /media/XXXX directories as part of / so
> missed it.
>
> So now I better fix the mounting of USB drives with /etc/fstab,

Hi Bill,

I created a label for my backup device/partition.  Then I wrote this into
my backup script:

mount -L Backup /home/data/backup
RETURN=`mount|grep /home/data/backup|wc -l`
if [ $RETURN -ne 1 ]
then
    logger "Backup failed due to unmounted backup device."
    exit 1
fi

---
Will Y.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the users mailing list