Baho Utot wrote:
> Some distributions are doing the following:
>
>
> moving all the files in /bin to /usr/bin then symlinking /bin to /usr/bin
> moving all the files in /sbin to /usr/bin then symlinking /sbin to /usr/sbin
> moving all the files in /lib to /usr/lib then symlinking /lib to /usr/lib
> moving all the files in /lib64 to /usr/lib64 then symlinking /lib to 
> /usr/lib64
>
> Is LFS going to follow this?

I've been thinking about it.  We really would only need in Section 6.5 
change:

mkdir -pv /{bin,boot,etc/{opt,sysconfig},home,lib,mnt,opt,run}
mkdir -pv /{media/{floppy,cdrom},sbin,srv,var}
mkdir -pv /usr/{,local/}{bin,include,lib,sbin,src}

to

mkdir -pv /{boot,etc/{opt,sysconfig},home,mnt,opt,run}
mkdir -pv /{media/{floppy,cdrom},srv,var}
mkdir -pv /usr/{,local/}{bin,include,lib,sbin,src} (unchanged)

ln -sv /usr/lib  /lib
ln -sv /usr/sbin /sbin
ln -sv /usr/bin  /bin

I haven't tried it, but will after LFS 7.2 is released.

> What are the advanages/disadvanages?

For the user, it doesn't make any difference.  For the developers, they 
don't have to worry about some things being in the / directories and 
others in the /usr directories.  It really doesn't make any sense to 
keep things split in the age of large disks.  On my system the three / 
directories add up to only 34M.

> Also systemd seems to be the way they are also going
> Is LFS following this also or will it remain sysinitv ?
> What are the advanages/disadvanages?

sytemd is a solution looking for a problem.  In the world of the large 
distros, about 1% of the users need it, so of course they force it on 
everyone so they only need to maintain one system.  It is quite opaque 
and requires (I think) an initrd.  It would add about 6 libraries to the 
basic LFS system.  It is harder to understand or troubleshoot and slower 
to boot than an LFS system.

systemd offers a lot of problems and little benefit for LFS users, so it 
will probably be a long time, if ever, that we will support it.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to