-.\" $OpenBSD: boot_macppc.8,v 1.21 2014/02/14 12:18:27 schwarze Exp $
+.\" $OpenBSD: boot_macppc.8,v 1.22 2022/09/05 10:03:50 kn Exp $
.\"
.\" Copyright (c) 1992, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
.\" @(#)boot_macppc.8
.\"
-.Dd $Mdocdate: February 14 2014 $
+.Dd $Mdocdate: September 5 2022 $
.Dt BOOT_MACPPC 8 macppc
.Os
.Sh NAME
is entered, the bootloader will attempt to restart the machine.
.Pp
The file specification used is of the form:
-.Dl promdev:partition/filename options
-where:
-.Dq promdev
+.Pp
+.Dl Oo Oo Ar promdev : Oc Ns Ar filename Oc Op Fl acds
+.Pp
+where
+.Ar promdev
is an optional Open Firmware device name (such as
.Dq hd
or
-.Dq ide )
-and
-.Dq partition
-is an optional disk partition number.
+.Dq ide ) .
Normal line editing characters can be used when typing the file
specification.
.Pp
-.\" $OpenBSD: boot.8,v 1.4 2019/12/23 12:44:34 bluhm Exp $
+.\" $OpenBSD: boot.8,v 1.5 2022/09/05 10:03:50 kn Exp $
.\"
.\" Copyright (c) 1997-2001 Michael Shalayeff
.\" All rights reserved.
.\" THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\"
-.Dd $Mdocdate: December 23 2019 $
+.Dd $Mdocdate: September 5 2022 $
.Dt BOOT 8 macppc
.Os
.Sh NAME
.Nm
prompt:
.Bl -tag -width shorten
-.It Ic boot Op Ar image Op Fl acds
-Boots the kernel image specified by
+.It Ic boot Oo Oo Ar device : Oc Ns Ar image Oc Op Fl acds
+Boots the specified kernel image with any options given.
+If
+.Ar device
+or
.Ar image
-with any options given.
-Image specification consists of a pair
-.Ar device : Ns Ar filename ;
-either or both can be omitted (`:' is not needed if both are omitted),
-in which case values from
+are omitted, values from the
.Nm
variables will be used.
.Pp
The only bootable devices, at the moment, are IDE devices connected to
the internal controller;
they are detected as
-.Sq wd
+.Sq hd
devices.
Therefore, to boot kernel
.Pa /bsd
-from slice
-.Sq a
on the first hard drive,
specify
-.Dq boot wd0a:/bsd .
+.Dq boot hd:/bsd .
.Bl -tag -width _a_
.It Fl a
Causes the kernel to ask for the
was compiled with DEBUG defined.
.It Ic device
Boot device name (e.g.,
-.Li wd0a ,
-.Li wd1a ) .
+.Li ide ,
+.Li ide0 ,
+.Li hd ,
+.Li hd1 ) .
.It Ic howto
Options to pass to the loaded kernel.
.It Ic image
.Fl e
option.
.Pp
-.Dl boot> boot wd1a:/bsd -c
+.Dl boot> boot hd:/bsd -c
.Sh SEE ALSO
.Xr gzip 1 ,
.Xr autoconf 4 ,
-/* $OpenBSD: ofdev.c,v 1.26 2021/03/11 11:16:59 jsg Exp $ */
+/* $OpenBSD: ofdev.c,v 1.27 2022/09/05 10:03:50 kn Exp $ */
/* $NetBSD: ofdev.c,v 1.1 1997/04/16 20:29:20 thorpej Exp $ */
/*
/*
* this function is passed [device specifier]:[kernel]
- * however a device specifier may contain a ':'
*/
static int
parsename(char *str, char **file)