Re: Disk usage error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>    * 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.

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux