Re: mount acting strange

Andries.Brouwer@cwi.nl
Thu, 21 Oct 1999 20:14:48 +0200 (MET DST)


From axboe@image.dk Thu Oct 21 00:14:13 1999

On Wed, Oct 20 1999, Andries.Brouwer@cwi.nl wrote:
> Bingo, no problems. Is this a known mount problem?
>
> No, it is a known ext2 / mke2fs problem.
> An ext2 filesystem made by a recent mke2fs cannot be mounted
> under 2.0.* unless you give mount the option `check=none'.
>
> It is indeed funny that the remount,rw succeeds without warning.

I tried latest mount (2.9z I believe) and trying both
check=none and nocheck as option - neither helped.

Yes, sorry - I believed the RELEASE-NOTES of e2fsprogs-1.15
but should have checked the kernel source.

So, we have a flaw: the RELEASE-NOTES are incorrect,
and a bug: either 2.0.* kernels can do bad things
to a r/w mounted ext2 filesystem with sparse superblocks
in which case it is a kernel bug to allow the r/w remount,
or the r/w remount under 2.0.* is harmless, in which case
it is a mke2fs bug to set a bit in s_feature_ro_compat.

Anyway mount is not involved. I wouldnt like to teach mount
to mount readonly first and then to do a remount.

Andries

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