summaryrefslogtreecommitdiffstats
path: root/sbin/sunlabel/sunlabel.8
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>2005-03-30 09:33:10 +0000
committerjoerg <joerg@FreeBSD.org>2005-03-30 09:33:10 +0000
commita1f08bc5f7b37450504a24735e5bb2c746553f5e (patch)
tree5bb68f02e734f431a193e326b10c918abb80188a /sbin/sunlabel/sunlabel.8
parent6b247959f9c9efe28e444f6e55d6f7ed3a5a7174 (diff)
downloadFreeBSD-src-a1f08bc5f7b37450504a24735e5bb2c746553f5e.zip
FreeBSD-src-a1f08bc5f7b37450504a24735e5bb2c746553f5e.tar.gz
Support VTOC volume names. This can be useful to distinguish multiple
disks in a system. Solaris' format(1m) displays the volume names in the disk overview. MFC after: 1 month
Diffstat (limited to 'sbin/sunlabel/sunlabel.8')
-rw-r--r--sbin/sunlabel/sunlabel.813
1 files changed, 11 insertions, 2 deletions
diff --git a/sbin/sunlabel/sunlabel.8 b/sbin/sunlabel/sunlabel.8
index 1662b0e..2460989 100644
--- a/sbin/sunlabel/sunlabel.8
+++ b/sbin/sunlabel/sunlabel.8
@@ -26,7 +26,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd June 1, 2004
+.Dd March 30, 2005
.Dt SUNLABEL 8
.Os
.Sh NAME
@@ -238,7 +238,7 @@ be written to disk.
The label presented for editing is the same as the standard
printout, with some added hints about the possible options to
specify the sector size and starting cylinder.
-There are two areas in the template that can be edited:
+The following areas in the template that can be edited:
.Bl -tag -width indent
.It Sy Textual label, geometry emulation
The line
@@ -266,6 +266,15 @@ The product
.D1 Em (CC + 2) * HH * SS
must be less than or equal to the total number of sectors of the
disk (which is given as a hint in a comment field).
+.It Sy Volume name
+The volume name (if present) is introduced by the string
+.Dq "volume name:" .
+It can be up to 8 characters long, and might be useful to distinguish
+different disks in a system.
+Note that volume names require the VTOC elements to be present, so
+any of the VTOC constraints described below need to be obeyed as well
+if a volume name is to be set.
+Setting an empty volume name will delete it from the label.
.It Sy Partition entries
Partition entries start with a letter from
.Ql a
OpenPOWER on IntegriCloud