Re: FreeBSD 12.2 can not be upgraded
- Reply: doug : "Re: FreeBSD 12.2 can not be upgraded"
- In reply to: Paul Mather : "Re: FreeBSD 12.2 can not be upgraded"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 05 Sep 2022 05:56:15 UTC
On 9/4/22 13:31, Paul Mather wrote: > I don't understand your comment about /rescue/sh in the first sentence > in the quoted paragraph above. The binaries in /rescue are statically > linked, so I don't see how they depend on /libexec. In fact, ldd will > even complain if you run it against /rescue/sh because it is not a > dynamically-linked executable. Furthermore, file(1) will include > "statically linked" in its output when run against /rescue/sh. > (Disclaimer: I don't have any 12.x systems any more to double-check, > but it is true for FreeBSD 13.1 and historically has been the case for > as long as I know. See man rescue(8) for details.) Here is what one of my 12.3-R systems has to say about /rescue/sh: 2022-09-04 22:08:51 dpchrist@f3 ~ $ freebsd-version ; uname -a 12.3-RELEASE-p6 FreeBSD f3.tracy.holgerdanske.com 12.3-RELEASE-p6 FreeBSD 12.3-RELEASE-p6 GENERIC amd64 2022-09-04 22:09:02 dpchrist@f3 ~ $ ldd /rescue/sh ldd: /rescue/sh: not a dynamic ELF executable 2022-09-04 22:09:04 dpchrist@f3 ~ $ file /rescue/sh /rescue/sh: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), statically linked, for FreeBSD 12.3, FreeBSD-style, stripped David