On Mon, Dec 30, 2019 at 12:51:13AM +0100, Klemens Nanni wrote:
> Those are briefly mentioned for the specific softraid case in
> boot_sparc64(8) but I want better offline documentation.
Especially since this is how one can configure their boot devices with
`variable' in ldom.conf(5).
> Technically `boot-device' accepts the empty string as well but all that
> OBP does is
>
> {0} ok setenv boot-device ''
> boot-device = ''
> {0} ok boot
> ...
> Evaluating:
> No viable default device found in boot-device variable.
>
> {0} ok
>
> I see no benefit in documenting it, especially since eeprom(8)
> explicitly mentions how variables are platform dependent, may not
> exist and such; so this mileage already covers that.
"no benefit" in documenting the empty string case I mean, of course.
> Feedback? OK?
Anyone? Unless I hear objections, I'll just commit as is soon.
Index: eeprom.8
===================================================================
RCS file: /cvs/src/usr.sbin/eeprom/eeprom.8,v
retrieving revision 1.21
diff -u -p -r1.21 eeprom.8
--- eeprom.8 1 Sep 2016 13:39:50 -0000 1.21
+++ eeprom.8 29 Dec 2019 23:44:18 -0000
@@ -269,6 +269,14 @@ It is unlikely that this value should ev
An 8-bit integer specifying the number of columns on the console.
.It Ar screen-#rows
An 8-bit integer specifying the number of rows on the console.
+.It Ar boot-device
+Space separated list of device aliases or device paths to boot from,
+in the given order.
+.It Ar boot-file
+File to boot.
+The empty string lets the second-stage boot program
+.Sy ofwboot
+choose the default.
.It Ar auto-boot?
If true, the system will boot automatically at power-up.
.It Ar watchdog-reboot?