> Jeremy Herbison wrote: > > Except that you typically run fsck on an unmounted disk, so a fsck > binary > > on the damaged partition isn't going to help you, whether it is linked > to > > other libraries or not. > > So tell me how you run fsck on your root filesystem at startup if you > don't mount the disk at all? In the LFS bootscripts, when a system file > check is required at boot, the root partition is mounted read-only. > > "mount -n -o remount,ro / >/dev/null" > > If the script determines that it should run fsck on the root partition, > the following line is run: > > "fsck ${options} -a -A -C -T 2>/dev/null" > > -- > JH
Okay, but in the event that it finds a problem, you'll still need a recovery disk of some sort. Or, if it can't run fsck at all because fsck is linked to a damaged .so, you'll know there is a problem anyhow and you'll STILL need a recovery disk with a different fsck binary :) Jeremy -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page