You are not logged in.

#1 2024-02-24 15:00:21

raphaelabb
Member
From: France
Registered: 2021-02-03
Posts: 35

Linking /bin /lib /sbin

Hello,

I am building a LFS system, I won't go as far as building an elaborate graphical OS, just a minimal one in order to better understand the inner mechanisms of GNU/Linux.
I am at the creation of the limited directory layout step.
At this point:

for i in bin lib sbin; do
  ln -sv usr/$i $LFS/$i
done

I understand what this command does, but I need explanations regarding its utility in the system (there's no further explanation in the LFS book).
Thank you.

Offline

#2 2024-02-24 15:12:47

seth
Member
Registered: 2012-09-03
Posts: 58,658

Re: Linking /bin /lib /sbin

https://en.wikipedia.org/wiki/Filesyste … compliance
https://wiki.gentoo.org/wiki//usr_move
https://www.freedesktop.org/wiki/Softwa … eUsrMerge/

It's because lennart broke it, then broke it again and complained to not blame him because it was already broken before roll
https://www.freedesktop.org/wiki/Softwa … is-broken/
(tbf, others had broken it, too - he could however have mentioned his part in the list he enumerates there…)

Offline

#3 2024-02-25 00:30:10

raphaelabb
Member
From: France
Registered: 2021-02-03
Posts: 35

Re: Linking /bin /lib /sbin

Thanks, that was useful reading.

Offline

Board footer

Powered by FluxBB