Various notes on /usr unification
Various notes on /usr unification
Posted Feb 28, 2012 7:59 UTC (Tue) by jackb (guest, #41909)In reply to: Various notes on /usr unification by tetromino
Parent article: Various notes on /usr unification
A lot of this resistance could be overcome tools like Dracut had better documentation, not just command line options but a step-by-step explanation of how it constructs the initramfs and what happens between when the kernel starts executing it and it hands over control to /sbin/init. Right now it's just a black box that works most of the time but when it fails those failures tend to be inexplicable.
I'm guessing the documentation that does exist was written based on a binary distribution paradigm where most users boot a pre-compiled kernel so the users for the most part don't need to know how dracut works internally to make sure their system will boot.
Posted Feb 28, 2012 11:04 UTC (Tue)
by smurf (subscriber, #17840)
[Link] (11 responses)
The only remaining directory that's unlikely to be a mount point is /etc; symlinking the two or three files that still need to be read-write off into /var/lib land is left as an exercise to the reader.
Posted Feb 28, 2012 13:27 UTC (Tue)
by jwakely (subscriber, #60262)
[Link]
Posted Feb 28, 2012 20:17 UTC (Tue)
by smcv (subscriber, #53363)
[Link] (9 responses)
/etc has to be on the root filesystem (or possibly be mounted by an initramfs if you use one): it contains /etc/fstab, which is required to mount the rest.
Posted Feb 29, 2012 0:09 UTC (Wed)
by rgmoore (✭ supporter ✭, #75)
[Link] (8 responses)
Unless you move
Posted Feb 29, 2012 8:14 UTC (Wed)
by Cyberax (✭ supporter ✭, #52523)
[Link] (7 responses)
Root will still be able to login even without their home directory in emergencies.
Posted Feb 29, 2012 15:56 UTC (Wed)
by jengelh (guest, #33263)
[Link]
The point of /root not being in /home is even more volatile (as in: potentially not available due to whatever outage) than /usr.
Posted Mar 1, 2012 12:38 UTC (Thu)
by smurf (subscriber, #17840)
[Link] (5 responses)
Posted Mar 1, 2012 12:56 UTC (Thu)
by Cyberax (✭ supporter ✭, #52523)
[Link] (4 responses)
Maybe it could be a job for union mounts (once Valerie Aurora gets them mainlined).
Posted Mar 3, 2012 17:00 UTC (Sat)
by dpquigl (guest, #52852)
[Link] (3 responses)
Posted Mar 3, 2012 22:07 UTC (Sat)
by Cyberax (✭ supporter ✭, #52523)
[Link] (2 responses)
And no, I'm not aware of any progress in that area.
Posted Mar 4, 2012 18:02 UTC (Sun)
by dpquigl (guest, #52852)
[Link] (1 responses)
Posted Mar 4, 2012 22:36 UTC (Sun)
by Cyberax (✭ supporter ✭, #52523)
[Link]
However, FUSE itself is not ready at all for high-performance filesystems. It's fine for things like sshfs over WAN but totally sucks for local filesystems.
Posted Mar 8, 2012 9:48 UTC (Thu)
by slashdot (guest, #22014)
[Link]
Various notes on /usr unification
Various notes on /usr unification
Various notes on /usr unification
Various notes on /usr unification
/root (how could we forget about that?) to /var/root first. At that point, /etc would be the only non-mount point under /, so you could convert / into a virtual filesystem that just contained a bunch of mount points, with /etc being one of those mounts.
Various notes on /usr unification
Various notes on /usr unification
Various notes on /usr unification
Some login methods require files in $HOME. sshd with authorized_keys is only one of them. Not every system has a console, and even if it has one I don't want to force somebody to go to the data center and plug something magic into some blade system just because a reboot has managed not to mount $HOME.
(Which might as well be on NFS. To require a working NFS for root login is stupid.)
Various notes on /usr unification
Various notes on /usr unification
Various notes on /usr unification
Various notes on /usr unification
Various notes on /usr unification
Various notes on /usr unification
