path: root/sbin/bsdlabel/bsdlabel.8
diff options
authorPoul-Henning Kamp <phk@FreeBSD.org>2003-04-18 19:44:12 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2003-04-18 19:44:12 +0000
commit2c60b6689ab990ad3d34257119765d9d29b2e6d9 (patch)
treecf0c549297a9e79777a2e177172ded33c5ad2d3f /sbin/bsdlabel/bsdlabel.8
parentf029471dbe4dd5259180ef70082c2774e1561c86 (diff)
First scrub of s/disklabel/bsdlabel/
bsdlabel.5 deliberately exempted, its contents looks less than useful.
Notes: svn path=/head/; revision=113680
Diffstat (limited to 'sbin/bsdlabel/bsdlabel.8')
1 files changed, 17 insertions, 17 deletions
diff --git a/sbin/bsdlabel/bsdlabel.8 b/sbin/bsdlabel/bsdlabel.8
index 3ed37c01ebb1..fa33bd7aeee1 100644
--- a/sbin/bsdlabel/bsdlabel.8
+++ b/sbin/bsdlabel/bsdlabel.8
@@ -36,10 +36,10 @@
.\" $FreeBSD$
.Dd March 15, 2003
-.Nm disklabel
+.Nm bsdlabel
.Nd read and write disk pack label
@@ -731,7 +731,7 @@ The asterisk
indicates that the partition does not begin or end exactly on a
cylinder boundary.
-.Dl "disklabel da0s1"
+.Dl "bsdlabel da0s1"
Display the in-core label for the first slice of the
.Pa da0
@@ -742,7 +742,7 @@ disk, as obtained via
the base disk name should be specified, such as
.Pa da0 . )
-.Dl "disklabel da0s1 > savedlabel"
+.Dl "bsdlabel da0s1 > savedlabel"
Save the in-core label for
.Pa da0s1
@@ -752,7 +752,7 @@ This file can be used with the
.Fl R
option to restore the label at a later date.
-.Dl "disklabel -w -r /dev/da0s1 da2212 foo"
+.Dl "bsdlabel -w -r /dev/da0s1 da2212 foo"
Create a label for
.Pa da0s1
@@ -763,14 +763,14 @@ found in
Any existing bootstrap code will be clobbered
and the disk rendered unbootable.
-.Dl "disklabel -e -r da0s1"
+.Dl "bsdlabel -e -r da0s1"
Read the on-disk label for
.Pa da0s1 ,
edit it, and reinstall in-core as well as on-disk.
Existing bootstrap code is unaffected.
-.Dl "disklabel -e -r -n da0s1"
+.Dl "bsdlabel -e -r -n da0s1"
Read the on-disk label for
.Pa da0s1 ,
@@ -779,7 +779,7 @@ It does
.Em not
install the new label either in-core or on-disk.
-.Dl "disklabel -r -w da0s1 auto"
+.Dl "bsdlabel -r -w da0s1 auto"
Try to auto-detect the required information from
.Pa da0s1 ,
@@ -789,7 +789,7 @@ Use another
command to edit the
partitioning and file system information.
-.Dl "disklabel -R da0s1 savedlabel"
+.Dl "bsdlabel -R da0s1 savedlabel"
Restore the on-disk and in-core label for
.Pa da0s1
@@ -797,7 +797,7 @@ from information in
.Pa savedlabel .
Existing bootstrap code is unaffected.
-.Dl "disklabel -R -n da0s1 label_layout"
+.Dl "bsdlabel -R -n da0s1 label_layout"
Display what the label would be for
.Pa da0s1
@@ -810,7 +810,7 @@ or
.Cm *
partition sizes.
-.Dl "disklabel -B da0s1"
+.Dl "bsdlabel -B da0s1"
Install a new bootstrap on
.Pa da0s1 .
@@ -818,7 +818,7 @@ The boot code comes from
.Pa /boot/boot .
On-disk and in-core labels are unchanged.
-.Dl "disklabel -w -B /dev/da0s1 -b newboot da2212"
+.Dl "bsdlabel -w -B /dev/da0s1 -b newboot da2212"
Install a new label and bootstrap.
The label is derived from
@@ -833,8 +833,8 @@ in the current working directory.
dd if=/dev/zero of=/dev/da0 bs=512 count=32
fdisk -BI da0
dd if=/dev/zero of=/dev/da0s1 bs=512 count=32
-disklabel -w -B da0s1 auto
-disklabel -e da0s1
+bsdlabel -w -B da0s1 auto
+bsdlabel -e da0s1
Completely wipe any prior information on the disk, creating a new bootable
@@ -856,7 +856,7 @@ such as
.Cm * ,
which could be used as a source file for
-.Dq Li "disklabel -R ad0s1c new_label_file" :
+.Dq Li "bsdlabel -R ad0s1c new_label_file" :
.Bd -literal -offset 4n
# /dev/ad0s1c:
type: ESDI
@@ -889,7 +889,7 @@ drivedata: 0
.Xr ccd 4 ,
.Xr md 4 ,
-.Xr disklabel 5 ,
+.Xr bsdlabel 5 ,
.Xr disktab 5 ,
.Xr boot0cfg 8 ,
.Xr fdisk 8 ,
@@ -973,4 +973,4 @@ if the
partition does not start at 0 or does not cover the entire slice,
if a partition runs past the end of the device,
and a number of other errors,
-but no warning is given if space remains unused. \ No newline at end of file
+but no warning is given if space remains unused.