Unified Filesystem Layout ?

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read how to get help
Post Reply
pgmer6809
Level 3
Level 3
Posts: 188
Joined: Sun Mar 04, 2012 9:06 pm

Unified Filesystem Layout ?

Post by pgmer6809 »

The release notes for Ulyssa (20.1) say that it supports uinified file system layout.
that page says that all the stuff in /bin, /sbin, /lib etc is now just logical links to the real files in /usr/bin /usr/lib etc.

I just upgraded my system from 20 to 20.1 using the upgrade tool in update manager (it went VERY smoothly BTW. Kudos to the team)
However when I do a

Code: Select all

which bash
I get only /bin/bash and when I do a

Code: Select all

 find /usr -iname bash -print
I get no hits for a bash binary

So what do they mean when they say that 20.1 supports the unified file system?

pgmer6809
rene
Level 17
Level 17
Posts: 7519
Joined: Sun Mar 27, 2016 6:58 pm

Re: Unified Filesystem Layout ?

Post by rene »

On a newly installed 20.1 /bin, /sbin, /lib, /lib32, /lib64 and /libx32 are symlinks to /usr/bin, /usr/sbin, etc. I.e., there it's true. We've seen more reports of an upgraded copy not getting this right: would seemingly need to write this off as a simple upgrader bug.

By the way: not "the stuff in /bin, /sbin, /lib etc is now just logical links [ ... ]" as you say but /bin, /sbin etc. are/should be themselves symlinks to their /usr counterpart directories.
User avatar
AndyMH
Level 16
Level 16
Posts: 6914
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Unified Filesystem Layout ?

Post by AndyMH »

rene wrote:
Fri May 14, 2021 8:42 pm
We've seen more reports of an upgraded copy not getting this right: would seemingly need to write this off as a simple upgrader bug.
Yep. I ran into this, LM20.0 installed and then upgraded to LM20.1 will have both /bin and /usr/bin, etc. no symlinks. LM20.1 installed from scratch will have symlinks for /bin, etc. Confused the policy kit I had that worked with LM20.1 (that was an upgrade) and not with a LM20.1 (fresh install).
Homebrew i5-8400+GTX1080 Cinnamon 19.0, 4 x Thinkpad T430 Cinnamon 20.1, 2 x i7-3632 , i5-3320, i5-3210, Thinkpad T60 19.0 Mate
rene
Level 17
Level 17
Posts: 7519
Joined: Sun Mar 27, 2016 6:58 pm

Re: Unified Filesystem Layout ?

Post by rene »

AndyMH wrote:
Sat May 15, 2021 5:48 am
Yep. I ran into this
Quite. You were those "more reports" :-)
Post Reply