xfs
[Top] [All Lists]

Re: fatal error -- couldn't initialize XFS library

To: Eric Sandeen <sandeen@xxxxxxx>
Subject: Re: fatal error -- couldn't initialize XFS library
From: Simon Matter <simon.matter@xxxxxxxxxxxxxxxx>
Date: Wed, 27 Jun 2001 08:44:21 +0200
>received: from mobile.sauter-bc.com (unknown [10.1.6.21]) by basel1.sauter-bc.com (Postfix) with ESMTP id 03DCD57306; Wed, 27 Jun 2001 08:48:39 +0200 (CEST)
Cc: linux-xfs <linux-xfs@xxxxxxxxxxx>
Organization: Sauter AG, Basel
References: <3B38DE54.37037A97@idcomm.com> <3B38DE20.C0BBE53A@sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
Eric Sandeen schrieb:
> 
> "D. Stimits" wrote:
> 
> > I noticed one other thing during the process that is definitely a bug,
> > but not necessarily xfs...it could be a mount bug. While in single user
> > mode, after remounting the partition read-only, it was falsely listed as
> > read/write when the mount command was run to see current mounts. I know
> > it was incorrect becase I tried intentionally to write to a file as a
> > test, and it correctly told me the file could not be saved because the
> > partition was read-only.
> 
> I've seen this before... I think it's a result of /etc/mtab not being
> updated before the / partition is made read-only.  (ext2 root does this
> for me, too, at least on RH7.1)  Try cat /proc/mounts and see what you
> get - it should say "ro".
> 
> -Eric

Even worse, when you expext the mount command really shows what and how
it
is mounted. Not so, try booting with something like 'linux init=/bin/sh'
and check with mount, it will falsely tell you / is mounted rw. Of
course
mount can not read from /proc/mounts cos it is not mounted already.

Simon



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