That's because "/" is a directory and not a device. fsck works with
devices. If you want to avoid specifying your root partition in
/etc/fstab explicitly, then you can use an ext2 label instead. Set
the label on the filesystem with "tune2fs -L root <root_dev>", and
then put "LABEL=root" in /etc/fstab instead of a device name. This
way if your root device gets moved around you are still OK. This
of course works with filesystems other than root as long as they are
ext2/ext3/xfs (reiserfs does not have labels yet).
Cheers, Andreas
--
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/