From owner-freebsd-current@freebsd.org Sun Aug 26 21:18:30 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 05BAC10832AA for ; Sun, 26 Aug 2018 21:18:30 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic304-22.consmr.mail.ne1.yahoo.com (sonic304-22.consmr.mail.ne1.yahoo.com [66.163.191.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 94F0C71EA4 for ; Sun, 26 Aug 2018 21:18:29 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: _927YGsVM1mlgaMgGTW46XSnRHqsGphpSkBavW5txRHZvLJB1xLGGrN2dfLSw9G q74I.SM53bEzQ7MGSazTKyG2HFZk2qvI9DDp842Vk0A.9zbxvMfviu3ZiHtvT0UEki9.9JT5gCVT SuLGeS1Viq30WXqX6RkJIrzRgimaIPb939ievzwGojl8oH2R1zPsuTVqBqzEGcJynsVbclH5KXME xdVCgTqrUskfYnxwT.z_tzBsv8oW4So8HNR1ir8FifZUt1Eh0SbmJ2c2e9HEUytF16wXD_CTh.OA mvH7kY8iiOTOElzv11QAcDQumQij.f6CpN6vgux8JknNR0udaaFFh7lSU8IPxbdhduWd.9icioXl xdnUpNL8kAZ_mdduue56vq9B0X3oHlARjY2zjThYFH8LhRnrxbkpHEMXD5BeRJDxC4Wkl82Ru4wA oOCXJG2KSePWK_QO0HPDOfHskzsJh74fcOwIuDeIJX7NJdTAys1XBlnjio2y09ufsQz5VPuIQIxc TQw7kv9pS9xatLOQg_nmj5LXe98fPuhxyG5HwVv3GE1qvfKbO92LwVbI8iHRFWhZQMxk4Oi2Docy iL15b3k7Bt_M.FDGT8U0irbX6rqUsYreSsQex3hm.McIloqFzW1pZiW2LJeV8YhgzrV0g4thyOUh 4K9ViHsg52oRqIfgRTy0.fdJ1y9xdlqMYIcSjAXvn2xgsGgDYnehJsjuwg.g3UVgnA_WzAkDqmGJ Xpetk6F.LDltZULA2CSYQ1Gs_Sm6WiO2T1Gxzeyjm.D5mfRHnIG8GvQCzVHPMX_Sdvf48s77mG8T WAh9OlyqwxN4Q.dm5FWslPJqSvfLznFbrcsqT7FlkNcMoHuj7jvyksuFrSls89kSmXqojmtOk0XN rRGjqV.9GMWsWYG1DG9f8HqvE7XqxjRcPn1F3UY6AKwpN2gpP56YSwWsEV2q8M_hz5HgYZTT4Ph_ gp3OUX4lFri8rnLy6_ZrZbd3Jz0AbgiI43kHEq.xsg27WmhO2h3um9ftAL8Y9pgQc4tTs0.gr8ZP vmNZv Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ne1.yahoo.com with HTTP; Sun, 26 Aug 2018 21:18:23 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.105]) ([70.189.131.151]) by smtp401.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 0b17df66ec7658dd66b141942473fbe9; Sun, 26 Aug 2018 21:18:20 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: head's /usr/src/UPDATING vs. "LOADER_DEFAULT_INTERP, documented in build(7)": not documented yet From: Mark Millard In-Reply-To: <868t4sq5tk.fsf@next.des.no> Date: Sun, 26 Aug 2018 14:18:18 -0700 Cc: FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: <4625B3CC-CF7C-4AB0-96F1-29AE6AAEDF57@yahoo.com> References: <3E8E48A0-4CE1-4641-8DF7-79B6BAF52AFF@yahoo.com> <868t4sq5tk.fsf@next.des.no> To: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Aug 2018 21:18:30 -0000 On 2018-Aug-26, at 12:35 PM, Dag-Erling Sm=C3=B8rgrav = wrote: > Mark Millard writes: >> But when I look at [...] the installed build(7) for head -r338319 I = do >> not find any references to LOADER_DEFAULT_INTERP . >=20 > It was added to build(7) in r338043: Thanks for the notes. Sure enough I see it in /usr/src/share/man/man7/build.7 . Not sure how I missed it in the man output. I thought that I also searched for it via the command line. It looks like: = https://www.freebsd.org/cgi/man.cgi?query=3Dbuild&apropos=3D0&sektion=3D7&= manpath=3DFreeBSD+12-current&arch=3Ddefault&format=3Dhtml lags (2017-Dec-24) so I should not depend on such having recent updates. (Good to know.) > LOADER_DEFAULT_INTERP Defines what interpreter the default loader > program will have. Valid values include = =E2=80=9C4th=E2=80=9D, > =E2=80=9Clua=E2=80=9D, and =E2=80=9Csimp=E2=80= =9D. This creates the default link > for /boot/loader to the loader with that > interpreter. It also determines what = interpreter > is compiled into userboot. >=20 >> I have assumed that my long-in-use amd64 virtual-box context that I >> run and update FreeBSD in (under macOS) just automatically updated >> sufficiently via installkernel and installworld after building. >=20 > Correct. The loader and its support files (4th and lua) are built by > 'make buildworld' and installed by 'make installworld'. The source = code > is in /usr/src/stand. [Looks like userboot is /boot/userboot.so and is associated with = bhyvload.] >> (This assumes that all the changes are in the freebsd-ufs partition >> involved and that the freebsd-boot partition involved need not be >> updated.) >=20 > The freebsd-boot partition contains the code that loads the loader and > should not need updating. Thanks again. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)