From Bugzilla Helper: User-Agent: Mozilla/4.78 [en] (X11; U; Linux 2.4.9-13smp i686) Description of problem: If e2fsck needs to be run manually in rc.sysinit, you have to remember where your filesystems are :-) It does not understand the LABEL=foo syntax. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 0. Use labels for your ext2 filesystems in /etc/fstab 1. crash your system horribly 2. reboot, wait for e2fsck to fail automatic recovery 3. try typing e2fsck LABEL=mm 4. look futilely in /etc/fstab 5. tear out your hair trying to remember on which disk and slice the filesystem is. :-) Actual Results: Since it is in repair mode, I didn't write down the actual error message, sorry. It has happened to me in both RH 7.1 and 7.2. Expected Results: It should've done an fsck on /dev/hdg5 (see? now I know! :) Additional info: This is not a duplicate of 35980. $ rpm -q e2fsprogs e2fsprogs-1.23-2 $ rpm -q initscripts initscripts-6.40-1
In Skipjack, the problem in repair mode seems to be fixed, but now it doesn't work in multiuser mode: # grep mm /proc/mounts /dev/hdg5 /mm ext3 rw 0 0 # grep mm /etc/fstab LABEL=mm /mm ext3 defaults 1 2 # umount /mm # e2fsck LABEL=mm e2fsck 1.27 (8-Mar-2002) e2fsck: No such file or directory while trying to open LABEL=mm # rpm -q e2fsprogs e2fsprogs-1.27-1
Doh! e2fsck doesn't understand LABEL=foo, but the fsck wrapper does. My apologies.
The wrapper should be ok. Thanks, Florian La Roche