Gentoo Logo
Gentoo Spaceship

Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
To: gentoo-dev@g.o
From: "Robin H. Johnson" <robbat2@g.o>
Subject: Re: Re: newsitem: unmasking udev-181
Date: Sun, 11 Mar 2012 22:57:33 +0000
On Sat, Mar 10, 2012 at 09:53:25PM -0500, Rich Freeman wrote:
> On Sat, Mar 10, 2012 at 9:27 PM, William Hubbs <williamh@g.o> wrote:
> > here is the udev 181 unmasking news item.
> >
> > If all goes well, this will be committed to the tree ?on 3/14 UTC.
> I guess this might be OK for unstable, but before this goes stable we
> really need to improve the docs around this.  As far as I can tell
> neither the genkernel nor dracut docs have specific instructions about
> how to handle mounting /usr.  Since having a separate /usr is often
> the result of having a more complex configuration (nfs, lvm, mdraid,
> etc), instructions explaining how things work and how to handle
> variations is pretty important.  Perhaps genkernel automagically does
> the right thing in some cases, but I know that dracut does not unless
> you properly configure it.  I doubt either tool will handle more
> complex situations without some scripting.
With the new versions of genkernel as specified in the news item, you do
NOT need any specific instructions about /usr. Just upgrade your
genkernel and openrc, and (re)build your initramfs, done.

> Again, this is likely more of a concern before this is stabilized.
> However, knowing what I went through to get my bind-mounted /usr on
> LVM+mdraid working with dracut, I can imagine that any unstable users
> with tricky setups could face a fun weekend.
Your bind-mount /usr and a symlink at /usr to /home/usr are the most
troublesome cases for genkernel that I'm aware of.

For both of those cases, just add extra lines to /etc/initramfs.mounts
should suffice your needs. I realized that I hadn't given much
documentation in that file, so I added a much more detailed example in

If you could please test your LVM+MDRAID+bind-mount setup with
genkernel-3.4.25-r1, I'd like to know your results.
genkernel --lvm --mdadm should cover most of it.

Robin Hugh Johnson
Gentoo Linux: Developer, Trustee & Infrastructure Lead
E-Mail     : robbat2@g.o
GnuPG FP   : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85

newsitem: unmasking udev-181
-- William Hubbs
Re: newsitem: unmasking udev-181
-- Rich Freeman
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: newsitem: unmasking udev-181
Next by thread:
Re: Re: newsitem: unmasking udev-181
Previous by date:
Re: Re: newsitem: unmasking udev-181
Next by date:
Re: newsitem: unmasking udev-181

Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.