Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] fsck check of /usr on a separate partition fails during boot
Date: Sun, 14 Jan 2018 09:21:37
Message-Id: 020ba2ae-014b-5795-a074-62b06895ade9@gmail.com
In Reply to: Re: [gentoo-user] fsck check of /usr on a separate partition fails during boot by Neil Bothwick
1 On 14/01/2018 01:36, Neil Bothwick wrote:
2 > On Sat, 13 Jan 2018 23:16:19 +0200, Alan McKinnon wrote:
3 >
4 >> On 13/01/2018 23:16, Neil Bothwick wrote:
5 >>> On Sat, 13 Jan 2018 14:57:59 -0600, John Johnson wrote:
6 >>>
7 >>>> Shouldn't that be taken care of by the "/etc/fstab" entries?
8 >>>
9 >>> Those say whether the filesystem should be checked, not when.
10 >>>
11 >>>> Obviously, if "/usr" is on a separate partition, it needs to be
12 >>>> mounted at the time when "/usr/sbin/fsck" is expected to be
13 >>>> present.
14 >>>
15 >>> fsck is in /sbin, but that's not the point. If you have an initramfs,
16 >>> fsck should be in it and run before /usr is mounted rw, which means it
17 >>> has to be done by the initramfs. It's too late to do it when control
18 >>> has been handed over because then /usr is already mounted rw.
19 >>
20 >>
21 >> So what does the dirty check and fsck of / ?
22 >
23 > OpenRC AFAIK.
24 >
25 >> I don't have an initramfs, I don't have a separate /usr,
26 >
27 > You need an initramfs and a separate /usr to experience this problem. You
28 > have neither so you have avoided it twice, well done :-)
29
30 I'm an engineer, so I don't add unneeded things that serve no purpose
31 and no benefit :-)
32
33
34
35 --
36 Alan McKinnon
37 alan.mckinnon@×××××.com

Replies

Subject Author
Re: [gentoo-user] fsck check of /usr on a separate partition fails during boot Neil Bothwick <neil@××××××××××.uk>