> -----Original Message-----
> From: Soulier, Frederic P [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 16, 2000 6:51 PM
> To: cooker
> Subject: [Cooker] hdparm
> 
> 
> Hi,
> 
> Have not selected "hdparm" during installation on a 7.0.
> I plan to use it now in /etc/rc.d/rc.local
>       hdparm -c 1 -d 1 -k 1 /dev/hda
>       hdparm -c 1 -d 1 -k 1 /dev/hdb
> 



mandrake_everytime gets called in rc.sysinit see

if [ -f /etc/rc.d/init.d/mandrake_everytime ];then
        /bin/sh /etc/rc.d/init.d/mandrake_everytime
[glee@armidala rc.d]$    


and mandrake_everytime calls hdparm see:

[glee@armidala init.d]$ cat mandrake_everytime | grep hdparm
    if [ -x /sbin/hdparm ];then
        if grep -i nohdparm /proc/cmdline >/dev/null ; then
                    hdparm -q -c1 -q -A1 -q -m16 -q -d1 /dev/$i
[glee@armidala init.d]$


> Is it safe to put it earlier (a script launched before rc.local)?
> If yes, where?
> 


yes, it's ok to launch in rc.sysinit, which is hwat should be done.



> Cheers,
> Fred
> 

Reply via email to