The case for the /usr merge
The case for the /usr merge
Posted Jan 27, 2012 17:33 UTC (Fri) by paulj (subscriber, #341)In reply to: The case for the /usr merge by raven667
Parent article: The case for the /usr merge
a) It's been a *long* time since this was supported by distros.
b) Package management generally can't cope with shared /usr's (Solaris IPS is the only modern one I know of that tried to, for zones - but it's hard & I don't know if they succeeded).
c) If you can't share /usr's, then there's no real point having a separate /usr - just remote mount the whole /.
As for /usr/ having lots of directories, and that it'd pollute /:
# for H in /usr/* ; do printf "%14s in /?: " $H ; [ -d ${H#/usr} ] && echo yes || echo no ; done
/usr/bin in /?: yes
/usr/etc in /?: yes
/usr/games in /?: no
/usr/include in /?: no
/usr/lib in /?: yes
/usr/lib64 in /?: yes
/usr/libexec in /?: no
/usr/local in /?: no
/usr/sbin in /?: yes
/usr/share in /?: no
/usr/src in /?: no
/usr/tmp in /?: yes
Half the /usr dirs are in / already (actually, one of them is same directory). Of the rest, at least 1 or 2 are system directories (libexec, share) that should be kept in the system directory (i.e. /, if you're moving to /). Which leaves games, local src and include. Those could stay in /usr I guess (/usr will have to stay anyway, to keep backwards-compat symlinks).
