Re: Disk usage error

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

 



  Thanks Will,
       I have fixed this now to automount the USB drive, which is better
because it means the backup is made.
  Thanks anyway,
       Bill

On Wed, 2010-02-10 at 15:17 -0500, aragonx@xxxxxxxxxx wrote:
> >    * 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.
> 
> 

-- 
-- 
Scanned by iCritical.
-- 
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