:: Re: [DNG] Devuan with usr merge?
Etusivu
Poista viesti
Vastaa
Lähettäjä: Steve Litt
Päiväys:  
Vastaanottaja: dng
Aihe: Re: [DNG] Devuan with usr merge?
Didier Kryn said on Mon, 8 Nov 2021 13:50:25 +0100

>Le 06/11/2021 à 03:03, Steve Litt a écrit :
>> Personally, I want a directory, guaranteed not to be a mount point,
>> where the statically compiled binaries necessary to bring up the
>> system, things like mount and ln and vi and fsck, etc, so if I don't
>> want to, I don't have to run an initramfs.
>
>    Hi Steve. It seems you always understand the s of sbin as meaning
>"static". it isn't. Look at Devuan binaries in /sbin and /usr/sbin;
>they are dynamically linked. s stands for "system".
>
> # file /bin/mount
>/bin/mount: setuid ELF 64-bit LSB pie executable, x86-64, version 1
>(SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2,
>BuildID[sha1]=82eb1fdddc0083f599c4072f4e1a39e28de6c759, for GNU/Linux
>3.2.0, stripped
>
>What is called "interpreter" here is the dynamic linker associated to
>the shared version of gcc, the Gnu C library. There is practically no
>statically linked application in a Debian distribution, except some
>part of debootstrap.


Hi Didier,

The logic is still the same. I need a guaranteed place on the root
partition to find the programs necessary to mount all the other
partitions, or else I'll need to run an initramfs.

SteveT

Steve Litt
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques