On Thursday 03 March 2005 21:25, A. Khattri wrote: > Think about this - if the checkfs script is running then root must already > be mounted. You shouldn't (can't?) fsck a mounted fs. Also if you look at > the startup scripts you will see that checkroot runs BEFORE checkfs so the > root file system has already been fsck'ed at that point by the checkroot > script. the root filesystem is mounted by the kernel before it passes control to init, as it needs to be able to *find* init. Also, the root filesystem must be mounted in order to run fsck. But it doesn't have to be mounted read-write. IIRC, when the kernel mounts the root, it mounts it read-only. You *can* fsck a read-only fs.
--
t3h 3l3ctr0n3rd <[EMAIL PROTECTED]>
Supermarket Deli Clerk and Student Programmer
OpenPGP Key Fingerprint:
0A65 EEFA B23A F0AC E6C2 C71C BEA0 E055 BE0E EC25
pgpfRDpQAqMyq.pgp
Description: PGP signature
