aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorJens Schweikhardt <schweikh@FreeBSD.org>2002-10-10 19:16:10 +0000
committerJens Schweikhardt <schweikh@FreeBSD.org>2002-10-10 19:16:10 +0000
commitb2aa8b2a98fcd6f4e0abd19b3a2f72b4705aa640 (patch)
tree3db8316fad8a4b4e3240954a9b7156d3dfa55025 /sbin
parent63872bc9c522de32c96343b40913498bbd79f5cb (diff)
Notes
Diffstat (limited to 'sbin')
-rw-r--r--sbin/bsdlabel/bsdlabel.85
-rw-r--r--sbin/disklabel/disklabel.85
2 files changed, 8 insertions, 2 deletions
diff --git a/sbin/bsdlabel/bsdlabel.8 b/sbin/bsdlabel/bsdlabel.8
index 32ed01cafd28..7c71bd7920fc 100644
--- a/sbin/bsdlabel/bsdlabel.8
+++ b/sbin/bsdlabel/bsdlabel.8
@@ -314,7 +314,10 @@ useful to see how a partitioning scheme will work out for a specific disk.
.Ss Enabling and disabling writing to the disk label area
.Pp
By default, it is not possible to write to the disk label area at the beginning
-of a disk. The disk driver silently ignores any attempt to do so. If you need
+of a disk. The disk driver arranges for
+.Xr write 2
+and similar system calls
+to return EROFS on any attempt to do so. If you need
to write to this area (for example, to obliterate the label), use the form
.Pp
.Nm
diff --git a/sbin/disklabel/disklabel.8 b/sbin/disklabel/disklabel.8
index 32ed01cafd28..7c71bd7920fc 100644
--- a/sbin/disklabel/disklabel.8
+++ b/sbin/disklabel/disklabel.8
@@ -314,7 +314,10 @@ useful to see how a partitioning scheme will work out for a specific disk.
.Ss Enabling and disabling writing to the disk label area
.Pp
By default, it is not possible to write to the disk label area at the beginning
-of a disk. The disk driver silently ignores any attempt to do so. If you need
+of a disk. The disk driver arranges for
+.Xr write 2
+and similar system calls
+to return EROFS on any attempt to do so. If you need
to write to this area (for example, to obliterate the label), use the form
.Pp
.Nm