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
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page