On Thursday 18 July 2002 16:18, Richard B. Johnson wrote:
> 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.
True.
in my previous mail i forgot to mention that it is not recommended to mount
root read-write on startup...
> 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 /`.
you really should check if this gets executed in one of your bootscripts and
otherwise change them to do it this way.
Rudmer
-
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/
This archive was generated by hypermail 2b29 : Tue Jul 23 2002 - 22:00:27 EST