summaryrefslogtreecommitdiffstats
path: root/sbin/disklabel/disklabel.8
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-02-23 01:48:42 +0000
committerru <ru@FreeBSD.org>2003-02-23 01:48:42 +0000
commit5ecd4995a53ef83a3ed6cc0e466632e66719f8c0 (patch)
treecfae9526af95d4076b33edc5d378ef6e2bfd3a5f /sbin/disklabel/disklabel.8
parent8b5b8ec6a76033148b7266d572cd6e0ec6ddd60b (diff)
downloadFreeBSD-src-5ecd4995a53ef83a3ed6cc0e466632e66719f8c0.zip
FreeBSD-src-5ecd4995a53ef83a3ed6cc0e466632e66719f8c0.tar.gz
Deal with vestiges of d_boot[01].
Diffstat (limited to 'sbin/disklabel/disklabel.8')
-rw-r--r--sbin/disklabel/disklabel.846
1 files changed, 10 insertions, 36 deletions
diff --git a/sbin/disklabel/disklabel.8 b/sbin/disklabel/disklabel.8
index ab18c6f..c618dc5 100644
--- a/sbin/disklabel/disklabel.8
+++ b/sbin/disklabel/disklabel.8
@@ -86,7 +86,6 @@
.Fl b Ar boot
.Oc
.Ar disk Ar protofile
-.Oo Ar disktype/auto Oc
.Sh DESCRIPTION
The
.Nm
@@ -370,7 +369,6 @@ disklabel that would have been written will be printed to stdout.
.Fl b Ar boot
.Oc
.Ar disk Ar protofile
-.Oo Ar disktype Oc
.Pp
This form corresponds to the
.Dq restore label
@@ -388,38 +386,13 @@ flag. If
is used, no data will be written to the device, and instead the
disklabel that would have been written will be printed to stdout.
.Pp
-The bootstrap code is comprised of two boot programs. Specify the name of the
-boot programs to be installed in one of these ways:
-.Bl -enum
-.It
-Specify the names explicitly with the
-.Fl b
-and
-.Fl s
-flags.
-.Fl b
-indicates the primary boot program and
-.Fl s
-the secondary boot program. The boot programs are located in
-.Pa /boot .
-.It
-If the
+The bootstrap code is comprised of two boot programs, both
+compiled into a single
+.Pa /boot/boot
+image.
+An alternative boot image may be specified with the
.Fl b
-and
-.Fl s
-flags are not specified, but
-.Ar disktype
-was specified, the names of the programs are taken from the
-.Dq b0
-and
-.Dq b1
-parameters of the
-.Xr disktab 5
-entry for the disk if the disktab entry exists and includes those parameters.
-.It
-Otherwise, the default boot image name are used:
-.Pa /boot/boot .
-.El
+option.
.Ss Initializing/Formatting a bootable disk from scratch
.Pp
To initialize a disk from scratch the following sequence is recommended.
@@ -478,10 +451,11 @@ auto
.Fl e
.Ar da0s1
.Sh FILES
-.Bl -tag -width Pa -compact
+.Bl -tag -width ".Pa /etc/disktab" -compact
+.It Pa /boot/boot
+Default boot image.
.It Pa /etc/disktab
-.It Pa /boot/
-.It Pa /boot/boot<n>
+Disk description file.
.El
.Sh SAVED FILE FORMAT
The
OpenPOWER on IntegriCloud