aboutsummaryrefslogtreecommitdiff
path: root/sbin/disklabel/disklabel.8
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/disklabel/disklabel.8')
-rw-r--r--sbin/disklabel/disklabel.834
1 files changed, 26 insertions, 8 deletions
diff --git a/sbin/disklabel/disklabel.8 b/sbin/disklabel/disklabel.8
index 3b9e1395c3b3..13aa183da191 100644
--- a/sbin/disklabel/disklabel.8
+++ b/sbin/disklabel/disklabel.8
@@ -221,13 +221,17 @@ itself must be provided as the canonical name, i.e. not as a full
path name.
.Pp
PC-based systems have special requirements in order for the BIOS to properly
-recognize a FreeBSD disklabel. Older systems may require what is known as a
+recognize a
+.Fx
+disklabel. Older systems may require what is known as a
.Dq dangerously dedicated
disklabel, which creates a fake DOS partition to work around problems older
BIOSes have with modern disk geometries. On newer systems you generally want
to create a normal DOS slice using
.Ar fdisk
-and then create a FreeBSD disklabel within that slice. This is described
+and then create a
+.Fx
+disklabel within that slice. This is described
later on in this page.
.Pp
Installing a new disklabel does not in of itself allow your system to boot
@@ -303,7 +307,9 @@ the slice name such as
.Pa da0s1 .
Making a partition bootable can be tricky. If you are using a normal DOS
slice you typically install (or leave) a standard MBR on the base disk and
-then install the FreeBSD bootblocks in the slice.
+then install the
+.Fx
+bootblocks in the slice.
.Pp
.Nm disklabel
.Fl B
@@ -403,17 +409,25 @@ on architectures like the Alpha, where only a single-stage boot is used).
.Pp
To initialize a disk from scratch the following sequence is recommended.
Please note that this will wipe everything that was previously on the disk,
-including any non-FreeBSD slices.
+including any
+.No non- Ns Fx
+slices.
.Bl -enum
.It
Use
.Ar fdisk
to initialize the DOS partition table, creating a real whole-disk slice to
-hold the FreeBSD disklabel, and installing a master boot record.
+hold the
+.Fx
+disklabel, and installing a master boot record.
.It
Use
.Ar disklabel
-to initialize a virgin FreeBSD disklabel and install FreeBSD boot blocks .
+to initialize a virgin
+.Fx
+disklabel and install
+.Fx
+boot blocks.
.It
Use
.Ar disklabel
@@ -507,7 +521,9 @@ Flags may be
or
.Ar badsect .
.Ar removable
-is set for removable media drives, but no current FreeBSD driver evaluates this
+is set for removable media drives, but no current
+.Fx
+driver evaluates this
flag.
.Ar ecc
is no longer supported;
@@ -559,7 +575,9 @@ Display the in-core label for
.Pa da0s1
as obtained via
.Pa /dev/da0s1 .
-When reading a label, FreeBSD will allow you to specify the base disk name
+When reading a label,
+.Fx
+will allow you to specify the base disk name
even if the label resides on a slice. However, to be proper you should
specify the base disk name only if you are using a
.Dq dangerously-dedicated