2001-10-31 10:44:25

by Denis Vlasenko

[permalink] [raw]
Subject: e2fsck bogus message

e2fsck complains "Your /etc/fstab does not contain the fsck
passno field..." when there are no entries in /etc/fstab.
This message is bogus in this case.

Why I don't have any entries?
I refer to my root fs as /dev/root (thanks to devfs)
and I have nothing else to mount yet.
--
vda


2001-10-31 17:45:22

by Andreas Dilger

[permalink] [raw]
Subject: Re: e2fsck bogus message

On Oct 31, 2001 12:43 +0000, vda wrote:
> e2fsck complains "Your /etc/fstab does not contain the fsck
> passno field..." when there are no entries in /etc/fstab.
> This message is bogus in this case.
>
> Why I don't have any entries?
> I refer to my root fs as /dev/root (thanks to devfs)
> and I have nothing else to mount yet.

Actually it is NOT a bogus complaint. If you don't have root in /etc/fstab,
then it will never be checked by fsck. You still need something like:

/dev/root / ext2 defaults 1 1

Also, this is NOT a kernel problem, so it shouldn't be reported to
this list.

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/