5

I do not have access to an Ubuntu system or chroot. I was hoping if someone could tell me if the Ubuntu wiki is accurate in saying:

For Quantal, merged /usr should be supported. On new systems installer should create {/bin, /lib, /sbin} symlinks into /usr.

9
  • 1
    See: unix.stackexchange.com/questions/5915/…
    – Terrance
    Nov 27, 2017 at 21:44
  • 2
    The wiki page was a proposal for discussion, not a final roadmap. Regardless of whether it was implemented in Quantal (13.04), it is not implemented in 17.10 and is not planned for 18.04.
    – user535733
    Nov 27, 2017 at 21:45
  • @Terrance not exactly true anymore. As of Fedora 17 (=2012) they do exactly this.
    – Rinzwind
    Nov 27, 2017 at 22:01
  • @user535733 I apparently got fooled by the shiny Ubuntu wiki. Compared to the Arch discussion, the Ubuntu page convinced me that the merge happened.
    – StrongBad
    Nov 27, 2017 at 22:09
  • @Rinzwind You know, that is interesting. By reading through the Filesystem Hierarchy Standard pages it would make me think that Fedora wouldn't be FHS compliant then.
    – Terrance
    Nov 27, 2017 at 22:21

2 Answers 2

6

Yes. As of at least Ubuntu 20.04, new installs use symlinks (existing systems won't be modified).

$ lsb_release -ds
Ubuntu 20.04 LTS
$ ll / | grep -E "usr|bin|lib"
lrwxrwxrwx   1 root root     7 Apr 23 15:02 bin -> usr/bin/
lrwxrwxrwx   1 root root     7 Apr 23 15:02 lib -> usr/lib/
lrwxrwxrwx   1 root root     8 Apr 23 15:02 sbin -> usr/sbin/
drwxr-xr-x  11 root root  4096 Apr 23 15:05 usr/

Seems like an unannounced change: Why are /bin and /sbin now symlinks in Ubuntu 20.04?

2
  • How is it possible they didn't mark it anywhere? I've upgraded from 19.10 and looks like it didn't change that (or maybe it failed to apply this change?)
    – morhook
    Jun 8, 2020 at 20:21
  • 1
    Good point. Updating comment as this only applies to new installs.
    – Gertlex
    Jun 9, 2020 at 21:24
5

No.

$ ls -l /
total 2097260
drwxr-xr-x   2 root     root           4096 okt 28 11:46 bin

drwxr-xr-x  21 root     root           4096 okt 21 10:32 lib
drwxr-xr-x   2 root     root           4096 okt 18 20:32 lib64

drwxr-xr-x   2 root     root          12288 okt 28 11:46 sbin

You are looking at a proposal. Besides that: we follow Debian and unless they do not set this up we probably will not.

===

The link from Terrance is a little bit invalid: Fedora did this from release 17 (= 2012). See https://fedoraproject.org/wiki/Features/UsrMove on this. But Debian, Ubuntu never went for this setup.

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .