Getting rid of /usr for F12?

Lennart Poettering mzerqung at 0pointer.de
Fri Apr 17 23:24:45 UTC 2009


On Sat, 18.04.09 01:15, Kevin Kofler (kevin.kofler at chello.at) wrote:

> 
> Chris Adams wrote:
> > Aside from any "religious" debate, there's a practical problem: last
> > time anything like this was tried, rpm couldn't handle moving
> > directories to symlinks.  That's why init.d is still under /etc/rc.d
> > instead of just /etc (and /etc/init.d is a symlink).
> 
> This can be hacked around with some fragile %pretrans hackery. That said, I
> don't think that'd be feasible for such a radical change (affecting nearly
> all packages), it'd have to be done by some special-case code (which is a
> strong argument not to do it).

I don't think the switch would be that complicated. The packagers
could change --prefix=/usr to --prefix=/ in the spec files whenever
they want. And when the last package is updated accordingly and a bit
of time passed and /usr is empty it could be replaced by a symlink.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4




More information about the fedora-devel-list mailing list