2.0.31-pre6 and noatime

Jon Lewis (jlewis@inorganic5.fdt.net)
Sun, 17 Aug 1997 17:23:59 -0400 (EDT)


Ok...I've compiled mount-2.6g with noatime support, played around a bit,
and found the following. The state of noatime/atime cannot be changed via
mount -o remount. To change the noatime/atime state, you must umount and
then mount the partition again.

This is a change from the old 2.0.x no_atime patch by coneill@premier.net.
Because I wanted to avoid "bad things" happening if I boot a kernel that
doesn't support no_atime on my news server, I do the following in
rc.local:

echo "remounting news partitions no_atime"
/sbin/mount -o remount,no_atime /usr
/sbin/mount -o remount,no_atime /var/spool/news
/sbin/mount -o remount,no_atime /var/spool/news/alt
/sbin/mount -o remount,no_atime /var/spool/news/over.view

That way, if no_atime doesn't work, no big deal...the bootup continues and
everything runs.

Is the change in behavior in 2.0.31-pre6 a bug or feature?

------------------------------------------------------------------
Jon Lewis <jlewis@fdt.net> | Unsolicited commercial e-mail will
Network Administrator | be proof-read for $199/message.
Florida Digital Turnpike |
______http://inorganic5.fdt.net/~jlewis/pgp for PGP public key____