Posted Nov 22, 2012 12:36 UTC (Thu) by dps (subscriber, #5725)
Parent article: Gentoo's udev fork
I have separate /usr and definitely want to keep it---anything that breaks that is a huge step in the wrong direction. While I can't mount / read only and I *can*, and do, mount /usr read only. /usr is actually on a different physical device too, so just merging with / would require a lot of work.
It would be nice to move further so that /var, /tmp, /home and very few other places are not read only but I appreciate that may be difficult. That said I currently do use systemd.
There are enough tools on / to mount /usr very early in the boot process, so there is no excuse for any init replacement not to cope with that configuration.
Posted Nov 22, 2012 13:14 UTC (Thu) by tomegun (subscriber, #56697)
[Link]
The suggested and supported way for split /usr to work without any issues is to mount it in your initramfs. This is supported by dracut (fedora) and mkinitcpio (arch) at least, and probably (hopefully) others.
If you do that you are guaranteed for things to keep working also in the future :-)
Separate /usr works for me....
Posted Nov 23, 2012 6:28 UTC (Fri) by drag (subscriber, #31333)
[Link]
Bingo.
People complaining about separate /usr are not actually complaining about separate /usr.
They are complaining about having to use a initrd to have a separate /usr.
It's all really incredibly bizzaro and just goes to show that simply ignoring some people is really the best thing to do sometimes.
Separate /usr works for me....
Posted Nov 23, 2012 9:42 UTC (Fri) by nix (subscriber, #2304)
[Link]
Not *quite* true. I whined about separate /usr a bit even though I've been using a linked-into-the-kernel initramfs since about six minutes after that became possible, so fixing it was one mount --bind away.
But then I'm a flaming conservative by inclination who hates change :) most people actually had, y'know, *rationales*, such as that they weren't using an initramfs already and setting one up is a bit hair-raising (you can expect to break booting a few times if you're doing anything at all unusual, just as with any other major init script change).
Separate /usr works for me....
Posted Nov 30, 2012 18:53 UTC (Fri) by Wol (guest, #4433)
[Link]
AOL.
As a gentoo user, I have a custom kernel with near-enough no modules. Why do I need an initramfs? And when I've mucked about with a system that used it, I got into quite a mess, and needed gentoo to get me out of it.
Yup. People don't like change. I still don't like grub - I'd go back to lilo if it wasn't for everything having moved on and forced me to change...
Cheers,
Wol
Separate /usr works for me....
Posted Nov 22, 2012 13:55 UTC (Thu) by jengelh (subscriber, #33263)
[Link]
>/usr is actually on a different physical device too, so just merging with / would require a lot of work.
If partition sizes do not need to be changed,, it is really just `mount / /mnt --bind` (avoiding the need for using a rescue boot), then copying /usr to /mnt/usr, removing the mountpoint from fstab and run mkinitrd, is it not?