xfs
[Top] [All Lists]

Re: 2.4.11 rocks? (and xfs / confusion)

To: Steve Lord <lord@xxxxxxx>, Robin Humble <rjh@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: 2.4.11 rocks? (and xfs / confusion)
From: Hristo Grigorov <Hristo.Grigorov@xxxxxxxxxxx>
Date: Wed, 10 Oct 2001 22:49:58 +0300
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <200110101917.f9AJHEc13664@jen.americas.sgi.com>
References: <200110101917.f9AJHEc13664@jen.americas.sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Wednesday 10 October 2001 22:17, Steve Lord wrote:
> > On an XFS note (unrelated to 2.4.10 or 11) - both my laptop and
> > desktop systems (2.4.9, 2.4.11) ALWAYS say on bootup that recovery is
> > required on the root filesystem - even though it's been shut down
> > cleanly.  My laptop's been doing this for months and I think the
> > desktop box started doing it in the last week or so (running 2.4.7).
> > There's nothing unusual about the boot or shutdowns (everything seems
> > clean) except this one thing :-/
> > RedHat7.1 with kgcc. I have cvs xfsprogs also.
>
> This line in the /etc/init.d/halt script could be the culprit:
>
> #echo $"Remounting remaining filesystems (if any) readonly"
> mount | awk '/ext2/ { print $3 }' | while read line; do
>     mount -n -o ro,remount $line
> done
>
> It is not xfs friendly.
>
> Steve
>

It seems they fixed it in rawhide. Now it is:

#echo $"Remounting remaining filesystems (if any) readonly"
mount | awk '/( \/ |^\/dev\/root)/ { print $3 }' | while read line; do
    mount -n -o ro,remount $line
done

which looks better. And I run linux-2.4.11 w/o any problems. 

FYI: Compiled with gcc 3.0.2 on a RedHat 7.1 system (plus the latest rawhide 
upgrades).

Hristo.


<Prev in Thread] Current Thread [Next in Thread>