1 |
Joshua Kinard posted on Tue, 13 Mar 2012 20:16:10 -0400 as excerpted: |
2 |
|
3 |
> On 03/13/2012 07:54, James Broadhead wrote: |
4 |
> |
5 |
>> I believe that the Art of Unix Programming* says that /usr was the |
6 |
>> result of the original UNIX 4MB hard disk becoming full, and that they |
7 |
>> chose /usr to mount a second one. Every definition since then has been |
8 |
>> an attempt to justify preserving the split. |
9 |
> |
10 |
> Sounds like how a lot of UNIXy things came into being. This is why I |
11 |
> think /usr should be merged back into /, not the other way around. |
12 |
> Although, both approaches essentially achieve the same effect in the |
13 |
> end, once you move /etc and a few other bits, then point the kernel at |
14 |
> "/usr". |
15 |
|
16 |
I've seen it pointed out that in initr* based systems anyway, the "new" |
17 |
rootfs is effectively taking the role the old initrd tmproot did, it's |
18 |
only there in a bootstrapping role, no "running system" content at all, |
19 |
except that instead of using pivot_root or whatever to get off it once |
20 |
the system early bootstrap is done, it remains the mountpoint used by |
21 |
everything else on the running system. |
22 |
|
23 |
That's rootfs's only modern role, according to these folks, providing the |
24 |
mountpoints for everything else. |
25 |
|
26 |
And with an assumed initr* based setup, it all "just works". Rootfs can |
27 |
in fact be entirely virtual, tmpfs or squashfs or whatever, setup only in |
28 |
the initr*, with only a few minimal early-boot config files, the modules |
29 |
necessary to boot the rest of the system, etc, as content, and those |
30 |
quickly over-mounted with the "real" system -- note that /usr/etc can be |
31 |
bind-mounted over the boot-time-stub /etc too, so literally, post-initr*, |
32 |
the ONLY part of rootfs operationally visible is the mountpoints used by |
33 |
everything else. |
34 |
|
35 |
THAT is why they're moving /bin, /sbin and /lib to /usr rather than the |
36 |
other direction. rootfs will be ONLY a mountpoint, with even /etc/ being |
37 |
bind-mounted from /usr/etc, and all system data unified on /usr, |
38 |
including /etc. |
39 |
|
40 |
Viewed from that perspective, the direction of the "unification", |
41 |
everything formerly on rootfs moving to /usr, so rootfs' only function is |
42 |
providing the mountpoints for everything else, has a certain logic to |
43 |
it... |
44 |
|
45 |
And they don't care about non-initr* based systems any more than they |
46 |
care about non-Linux systems or for that matter, non-systemd Linux |
47 |
systems. That's outside their operational universe. Other people are |
48 |
welcome to continue working with "legacy" systems if they want, but Linux- |
49 |
only, systemd-based, initr*-based systems are the only thing they're |
50 |
interested in supporting, themselves. |
51 |
|
52 |
-- |
53 |
Duncan - List replies preferred. No HTML msgs. |
54 |
"Every nonfree program has a lord, a master -- |
55 |
and if you use the program, he is your master." Richard Stallman |