aboutsummaryrefslogtreecommitdiff
path: root/sbin/disklabel
diff options
context:
space:
mode:
authorMike Pritchard <mpp@FreeBSD.org>1996-04-07 00:06:21 +0000
committerMike Pritchard <mpp@FreeBSD.org>1996-04-07 00:06:21 +0000
commit906c1e27fc15d09fe630e425166401aaea7020a5 (patch)
treea3ba6912210e1b413706c71ed63a536ccf343f46 /sbin/disklabel
parentd9fb9dd03eadc5ebc521f0cbfc9c773cf90efe8a (diff)
Notes
Diffstat (limited to 'sbin/disklabel')
-rw-r--r--sbin/disklabel/disklabel.56
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/disklabel/disklabel.5 b/sbin/disklabel/disklabel.5
index fb6f6cd14d58..9062e827932b 100644
--- a/sbin/disklabel/disklabel.5
+++ b/sbin/disklabel/disklabel.5
@@ -80,12 +80,12 @@ program.
.Pp
A copy of the in-core label for a disk can be obtained with the
.Dv DIOCGDINFO
-.Xr ioctl ;
+.Xr ioctl 2 ;
this works with a file descriptor for a block or character (``raw'') device
for any partition of the disk.
The in-core copy of the label is set by the
.Dv DIOCSDINFO
-.Xr ioctl .
+.Xr ioctl 2 .
The offset of a partition cannot generally be changed while it is open,
nor can it be made smaller while it is open.
One exception is that any change is allowed if no label was found
@@ -93,7 +93,7 @@ on the disk, and the driver was able to construct only a skeletal label
without partition information.
Finally, the
.Dv DIOCWDINFO
-.Xr ioctl
+.Xr ioctl 2
operation sets the in-core label and then updates the on-disk label;
there must be an existing label on the disk for this operation to succeed.
Thus, the initial label for a disk or disk pack must be installed