summaryrefslogtreecommitdiffstats
path: root/sbin/disklabel/disklabel.5
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/disklabel/disklabel.5')
-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 fb6f6cd..9062e82 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
OpenPOWER on IntegriCloud