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