On Friday 29 Aug 2003 00:40, Pupeno wrote:
> first of all, thank you... this script was very useful.

You're welcome.

> I'm modifying it for my own uses... may I ask why the "sleep 4" after
> the mount ?

The last line of the script:
        /sbin/hdparm -y /dev/hdc
spins the disk down.  This disk is only used for backups, so it is spun 
down at the end, to reduce power and noise.  The sleep is to allow time 
for it to spin up again.  It may not be needed but it does no harm.

I run this daily as a cron job.  After the first day it's very quick, 
and it's the fastest way I've found to restore yesterday's stuff.

Peter
-- 
======================================================================
Gentoo: Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
kernel-2.4.22_pre2-gss i686 AMD Athlon(tm) XP 1600+
======================================================================


--
[EMAIL PROTECTED] mailing list

Reply via email to