Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] busybox[sep-usr] support for mounting /usr w/out hassle
Date: Mon, 30 Apr 2012 16:41:02
Message-Id: 201204301240.35051.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] busybox[sep-usr] support for mounting /usr w/out hassle by Ulrich Mueller
1 On Monday 30 April 2012 12:14:19 Ulrich Mueller wrote:
2 > >>>>> On Mon, 30 Apr 2012, Mike Frysinger wrote:
3 > > On Monday 30 April 2012 02:34:18 Ulrich Mueller wrote:
4 > >> >>>>> On Sun, 29 Apr 2012, Mike Frysinger wrote:
5 > >> > i've added a new USE=sep-usr flag to busybox. when enabled, this
6 > >> > will install a static busybox at /ginit (and have the other busybox
7 > >> > paths symlink to that so there's no overhead). this new applet has a
8 > >> > hand written set of commands to automatically mount /dev /proc /sys
9 > >> > /usr and seed /dev, and then execute the real init (defaulting to
10 > >> > /sbin/init).
11 > >>
12 > >> Shouldn't it fsck the /usr partition before mounting it? I don't see
13 > >> that in ginit.c.
14 > >
15 > > it mounts it read-only. fsck-ing is left to the normal init scripts.
16 >
17 > Which doesn't work, at least not for ext{2,3,4}. e2fsck contains
18 > special handling for the root fs, but it refuses to repair any other
19 > mounted file system (even if mounted read-only).
20
21 i believe there's a bug open on the topic. it's not something i think belongs
22 in the pre-/usr code.
23 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies