[rfc] use ext3 instead of ext2

Nathan Coulson conathan at conet.dyndns.org
Thu Jul 15 23:24:00 PDT 2004


> Archaic wrote:
>
>> Keep the fsck code in. There is no reason to pull it when a simple 0 0
>> in fstab can let the user decide for himself. I for one still fsck ext3
>> systems. Also, readonly is still perfectly valid for bootup.
>
> Actually I don't think that's true with the current LFS bootscripts; I
> use XFS as my root filesystems here, and even with "0 0" in the fstab it
> stills tries to fsck them (which is pointless seeing as XFS doesn't have
> an fsck tool at all <G>).
>
> I don't believe the bootscripts pay any attention to fstab until after
> they've completed all their root-filesystem work.
> --

mount -n -o remount,ro /
fsck  -a -A -C -T

(if someone wants to compress the cleanfs script down to 2 lines, those
are it, BTW).

It appears -A checks root, then checks everything else ordered by priority
[ignoring those with priorty 0]  (found under man fsck)



More information about the lfs-dev mailing list