flockm...@gmx.at posted 200907251229.20148.flockm...@gmx.at, excerpted below, on Sat, 25 Jul 2009 12:29:19 +0200:
> I am booting my computer via an initramdisk because of my rootfs being > on a LVM2 volume. now, I get an error message during boot, when the > checkroot-script tries to e2fsck my rootfs (something like: cannot mount > / read-only, do you really want to continue?). I want to disable/skip > the fs-checks on boot, because I am doing this in my initramfs-script > already. but the following command: > > rc-update -d checkroot boot > > does not work, because at the next reboot, my rootfs will be checked > again. Any ideas? "Use the fstab, Luke!" =:^) Quoting the fstab manpage: """"" The sixth field, (fs_passno), is used by the fsck(8) program[.] If the sixth field is not present or zero, a value of zero is returned and fsck will assume that the filesystem does not need to be checked. """"" It works here (I run reiserfs, which does a quick scan before it mounts an fs regardless, and which won't do anything much heavier in a -a fsck anyway), but note that I'm on baselayout-2/openrc. I'm not sure whether that works for baselayout-1 users or not. -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman