Re: Linux kernel - and regular sync'ing?

From: Brian Dushaw (dushaw@munk.apl.washington.edu)
Date: Thu Mar 08 2001 - 17:50:46 EST


In the interests of finishing off this thread:
  Thanks to all who replied to my question on how to get a notebook
disk to spin down. The clear consensus is:
- the problem was probably caused by the cron daemon (I have some doubts
    about this, but never mind)
- the problem is fixed by adding the "noatime" option when mounting the
    root filesystem (I use /etc/fstab to do this)
- there appears to be no harm in not updating the inode access times with
    this option.
- I am now using "hdparm -S 6 /dev/hda" to great effect; placed in my
    /etc/rc.d/rc.local file.
- Naturally as soon as I learned all this from this e-mail thread, I found
    the appropriate paragraph in an out-of-the-way spot on the "Linux on
    Notebooks" pages (this must be one of Murphy's Laws... :) )
- I've added this discussion to my notebook web page in the interest of
    spreading this gem of information.

B.D.

On Thu, 8 Mar 2001, Russell King wrote:

> On Thu, Mar 08, 2001 at 12:09:51PM +0000, Alan Cox wrote:
> > To quote the linux on palmax page
> >
> > For startup my /etc/rc.d/rc.local contains the following lines.
> > mount -o remount,rw,noatime /
> > /sbin/hdparm -S 15 /dev/hda
>
> Or else place "noatime" in /etc/fstab, which is probably the better
> place for it.
>
> --
> Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux
> http://www.arm.linux.org.uk/personal/aboutme.html
>

-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Brian Dushaw Applied Physics Laboratory University of Washington 1013 N.E. 40th Street Seattle, WA 98105-6698 (206) 685-4198 (206) 543-1300 (206) 543-6785 (fax) dushaw@apl.washington.edu

Web Page: http://staff.washington.edu/dushaw/index.html

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 15 2001 - 21:00:09 EST