loadbsd(8) manpage (moved from arch directory).

This commit is contained in:
itohy 1998-11-20 11:01:25 +00:00
parent 6fca929d87
commit 543ebd6305
2 changed files with 138 additions and 2 deletions

View File

@ -1,7 +1,8 @@
# $NetBSD: Makefile,v 1.5 1997/10/11 08:22:28 mycroft Exp $
# $NetBSD: Makefile,v 1.6 1998/11/20 11:01:25 itohy Exp $
MAN= MAKEDEV.8 boot.8 poffd.8 rtcalarm.8
MAN= MAKEDEV.8 boot.8 loadbsd.8 poffd.8 rtcalarm.8
MLINKS= MAKEDEV.8 makedev.8
MLINKS+=loadbsd.8 loadbsd.x.8
MANSUBDIR=/x68k
.include <bsd.man.mk>

View File

@ -0,0 +1,135 @@
.\" $NetBSD: loadbsd.8,v 1.1 1998/11/20 11:01:26 itohy Exp $
.Dd Aug 13, 1998
.Dt LOADBSD 8 x68k
.Os NetBSD
.Sh NAME
.Nm loadbsd
.Nd load and boot NetBSD/x68k kernel from Human68k
.Sh SYNOPSIS
.Nm loadbsd.x
.Op Fl hvV
.Op Fl abDs
.Op Fl r Ar root_device
.Ar kernel_file
.Sh DESCRIPTION
.Nm
is a program runs on Human68k.
It loads and executes the specified
.Nx Ns Tn /x68k
kernel.
.Pp
The options (for
.Nm
itself) are as follows:
.Bl -tag -width flag
.It Fl h
Show help and exit.
.It Fl v
Enable verbose mode.
.It Fl V
Print version of
.Nm
and exit.
.El
.Pp
The options for
.Nx
kernel are as follows:
.Bl -tag -width flag
.It Fl a
Auto (multi-user) boot.
This disables
.Fl s
flag.
.It Fl b
Ask boot device during boot.
Pass
.Dv RB_ASKNAME
boot flag to the kernel.
.It Fl d
Use compiled-in rootdev.
Pass
.Dv RB_DFLTROOT
boot flag to the kernel.
.It Fl D
Enter kernel debugger.
Pass
.Dv RB_KDB
boot flag to the kernel.
.It Fl r Ar root_device
Specify boot device, which shall be mounted as root device.
The default device is
.Sq Li sd@0,0:a .
Note that the boot device name is
.Em not
the same as that of
.Nx .
See
.Sx BOOT DEVICE NAMES
below.
.It Fl s
Single user boot.
Pass
.Dv RB_SINGLE
boot flag to the kernel.
This disables
.Fl a
flag.
This flag is set by default.
.El
.Pp
Although listed separately, the options may be in any order.
.Sh BOOT DEVICE NAMES
The format of boot device names is:
.Pp
.Dl "[/interface/]dev@unit[,lun][:partition]"
.Pp
.Bl -tag -width Fl
.It interface
SCSI interface type.
One of:
.Sq Li spc@0 ,
.Sq Li spc@1 ,
.Sq Li mha@0 .
If the dev is a SCSI device, and interface is omitted,
the current boot interface is used.
.It dev
Device type.
One of:
.Sq Li fd
(floppy disk drive),
.Sq Li sd
(SCSI disk),
.Sq Li cd
(SCSI CD-ROM),
.Sq Li md
(Memory disk).
.It unit
Device unit #.
You must specify the target SCSI ID if dev is a SCSI device.
.It lun
SCSI LUN #.
0 is assumed if omitted.
.It partition
Partition letter of device.
Partition
.Sq Li a
is used if omitted.
.El
.Sh FILES
.Bl -tag -width /usr/mdec/loadbsd.xxxx -compact
.It Pa /usr/mdec/loadbsd.x
You will find this program here.
.El
.Sh SEE ALSO
.Xr reboot 2 ,
.Xr boot 8
.Sh BUGS
.Nm
reads the entire kernel image at once,
and requires enough free area on the main memory.
.Sh HISTORY
The
.Nm
utility first appeared in
.Nx 1.4 .