[Soekris] Putting harddrive to sleep

Hasse Hagen Johansen hhj at musikcheck.dk
Mon Nov 1 16:50:22 UTC 2004


Christopher Hoover wrote:

>If you are running a 2.6 kernel, you may find it necessary to do this in
>addition to frobbing the disk settings via hdparm:
>
>echo -n 1 > /proc/sys/vm/laptop_mode
>
>(alternatively, add "vm.laptop_mode = 1" to /etc/sysctl.conf, if you've got
>one.)
>
>Without this setting, the VM and file buffering may keep the drive busy
>enough that it cannot power down.
>
>I recollect there is something equivalent for 2.4, but I cannot recall what
>it is.
>
>Cheers,
>-ch
>
>
>  
>
>>-----Original Message-----
>>From: 
>>soekris-tech-bounces+ch=murgatroid.com at lists.soekris.com 
>>[mailto:soekris-tech-bounces+ch=murgatroid.com at lists.soekris.c
>>    
>>
>om] On Behalf Of Hasse Hagen Johansen
>  
>
>>Sent: Sunday, October 31, 2004 11:00 AM
>>To: soekris-tech at lists.soekris.com
>>Subject: [Soekris] Putting harddrive to sleep
>>
>>Hi
>>
>>I have just installed a harddrive in the my 4801. I am using 
>>pebble on 
>>it. Is there any program for powering down the harddrive when 
>>it has not 
>>been used for some time? As far as I know the 4801 doesn't support 
>>powermanagement. I would just like to power down the 
>>harddrive so it is 
>>not rotating (I would be powered down most of the time)
>>
>>Regards
>>Hasse
>>_______________________________________________
>>Soekris-tech mailing list
>>Soekris-tech at lists.soekris.com
>>http://lists.soekris.com/mailman/listinfo/soekris-tech
>>
>>    
>>
>
>  
>
Yes I am using laptop_mode on my laptop with great success. It should 
have been merged in 2.4.23 as far as I can see, but I think I will go 
for building a 2.6.x kernel

/Hasse



More information about the Soekris-tech mailing list