Re: Re: problem of linux-2.4.19

Richard B. Johnson (root@chaos.analogic.com)
Thu, 18 Jul 2002 10:18:49 -0400 (EDT)


On Thu, 18 Jul 2002, zhengchuanbo wrote:

>
> i replaced 'read-only' in lilo with 'read-write'. and it worked.

No! The file-system must be mounted read-only upon startup! There
are exceptions in embedded systems and special systems that build
file-systems (root file-system ram-disks) upon startup.

> ><snip>
> >VFS: Mounted root (reiserfs filesystem) readonly.

Correct.

The init scripts should check the file-systems (using fsck) and
then mount them read-write. If you (or init) executes fsck
on r/w mounted file-systems, you may (read will) destroy them.
Look in /etc/rc.d to see what happens upon startup. Something
like `fsck -A -V -a` gets executed. Then, after than happens,
something like `mount -n -o remount,rw /` gets executed. Then,
to update /etc/mtab, somewhere there will be a `mount -f /`.

Cheers,
Dick Johnson

Penguin : Linux version 2.4.18 on an i686 machine (797.90 BogoMips).

Windows-2000/Professional isn't.

-
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/