On Mon, 8 Nov 2021 13:50:25 +0100 Didier Kryn <k...@in2p3.fr> wrote: > 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. > > -- Didier >
Hi, on my system there are just a couple: /bin/sash: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, BuildID[sha1]=433ea9ce7bb7462db5f83bd9bd4e59535b826cc9, for GNU/Linux 3.2.0, stripped /sbin/e2fsck.static: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, BuildID[sha1]=b6cb05441d3e0215639e4445ca0d1947ac26ab43, for GNU/Linux 3.2.0, stripped and in the repos: bash-static/stable 5.1-2+b3 amd64 busybox-static/stable 1:1.30.1-6+b3 amd64 cdebootstrap-static/stable 0.7.8+b3 amd64 dar-static/stable 2.6.13-2+b3 amd64 zsh-static/stable 5.8-6+b2 amd64 Ciao, Tito _______________________________________________ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng