Gentoo Archives: gentoo-user

From: Michael Mol <mikemol@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] After /usr conflation: why not copy booting software to /sbin rather than initramfs?
Date: Tue, 27 Mar 2012 13:51:28
Message-Id: CA+czFiBQNrgaCs2xAZZKsC3f3_mZt8evb_qhtVW09sTKfjJDzA@mail.gmail.com
In Reply to: [gentoo-user] After /usr conflation: why not copy booting software to /sbin rather than initramfs? by Alan Mackenzie
1 On Tue, Mar 27, 2012 at 9:37 AM, Alan Mackenzie <acm@×××.de> wrote:
2 > Hello, Gentoo.
3 >
4 > I've been thinking about the problem of the conflation of every
5 > executable into /usr.  If /usr isn't on /, the system can't boot without
6 > special preperations.  Nothing new here.
7 >
8 > The method usually discussed is to copy the booting software into an
9 > initramfs on a partition other than /usr, and use this to mount /usr.
10 >
11 > My question: what, technically, prevents me from copying the booting
12 > software instead to /sbin and booting the system that way?
13
14 Dynamic linking is probably going to be the killer piece. After every
15 update, you'd need to make sure all the libraries the binary needs are
16 also accessible on the / mount.
17
18 The other piece is probably somewhere along the lines of "if you're
19 going to use an initramfs anyway, now you can put / on
20 $composite_block_device, too!" (Which is something I'll probably start
21 doing on any system where I'd want /usr on a composite block device
22 anyway. Which is pretty much all of them; I like the load consumer
23 balancing behaviors I get from RAID{0|5|6})
24
25
26 --
27 :wq