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
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Joshua Kinard <kumba@g.o>
Subject: Re: udev and /usr
Date: Mon, 19 Sep 2011 06:37:49 -0400
On 09/19/2011 05:10, Michał Górny wrote:

> 
> Could we stop putting random stuff in random dirs because 'it will
> work'? /etc is _SYSCONFDIR_. I don't see how PCI IDs are config at all.


The best answer is for someone to look into udev and see what it needs
exactly from /usr.  Does it really need pci.ids?  Or is it just the fact
that random udev rules might rely on a tool/lib in /usr?

Former, yes, pci.ids is perfectly valid to go into /etc.  It specifies a
mapping of PCI ID numbers to device strings used in udev rules.

In the latter case, maybe rules specifically required for booting up enough
to mount disks need to be isolated into their own file and udev pointed
there, then re-pointed to the bigger file after /usr is made available.  If
that is even possible.

Note: I'm brainstorming here.  Anyone else?


> As I see it, the simplest solution would be to lay out the minimal
> initramfs contents to rootfs and make it mount /usr and stuff before
> starting actual rc. This should cut all the complaints and possibly let
> us move some stuff back to /usr where it belongs.


Yes, but some of us don't even want to have that initramfs built into our
kernels.  And no one, other than freedesktop.org* and a few people on
linux-hotplug-devel*, said everything belongs in /usr.  FHS clearly defines
the roles for /, /bin, /sbin, /lib*, /usr, /var, /home, /tmp and the virtual
fses.  Plus others.

http://www.freedesktop.org/wiki/Software/systemd/separate-usr-is-broken
http://marc.info/?l=linux-hotplug&m=131206447302056&w=2

Really, MacOS's filesystem layout is not something anyone in their right
mind should deign to mimic/copy.

-- 
Joshua Kinard
Gentoo/MIPS
kumba@g.o
4096R/D25D95E3 2011-03-28

"The past tempts us, the present confuses us, the future frightens us.  And
our lives slip away, moment by moment, lost in that vast, terrible in-between."

--Emperor Turhan, Centauri Republic

Attachment:
signature.asc (OpenPGP digital signature)
Replies:
Re: udev and /usr
-- Greg KH
Re: udev and /usr
-- Arun Raghavan
References:
udev and /usr
-- Joost Roeleveld
Re: udev and /usr
-- Luca Barbato
Re: udev and /usr
-- Joost Roeleveld
Re: udev and /usr
-- Luca Barbato
Re: udev and /usr
-- Rich Freeman
Re: udev and /usr
-- Michał Górny
Re: udev and /usr
-- Nirbheek Chauhan
Re: udev and /usr
-- Jorge Manuel B. S. Vicetto
Re: udev and /usr
-- Nirbheek Chauhan
Re: udev and /usr
-- Joshua Kinard
Re: udev and /usr
-- Michał Górny
Re: udev and /usr
-- Joshua Kinard
Re: udev and /usr
-- Michał Górny
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: udev and /usr
Next by thread:
Re: udev and /usr
Previous by date:
Re: udev and /usr
Next by date:
Re: udev and /usr


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.