aboutsummaryrefslogtreecommitdiff
path: root/sbin/bsdlabel/bsdlabel.8
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2003-01-26 11:11:19 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2003-01-26 11:11:19 +0000
commitf080d33b66306419b40c2f2a879198d3d5a8d36c (patch)
tree9f62c6ce4618bd7ff5fb809caebbabc83543513c /sbin/bsdlabel/bsdlabel.8
parentc297498757458a638238901cdc42d6a6ed7c01e8 (diff)
downloadsrc-f080d33b66306419b40c2f2a879198d3d5a8d36c.tar.gz
src-f080d33b66306419b40c2f2a879198d3d5a8d36c.zip
Retire the "-N" and "-W" options which implemented write-protection
for the disklabel: This facility is OBE. First of all, we cannot sensibly implement this in a properly stacked environment. Second, if we did, it would confuse the heck out of users who wouldn't be able to "start from scratch" by dd(8)'ing /dev/zero onto /dev/da0. Third, the offered protection is not comprehensive: no other software would respect it. Fourth and finally, the disklabel is already protected against tampering if it controls open partitions. Uselessness of these options discussed with: peter
Notes
Notes: svn path=/head/; revision=109872
Diffstat (limited to 'sbin/bsdlabel/bsdlabel.8')
-rw-r--r--sbin/bsdlabel/bsdlabel.824
1 files changed, 0 insertions, 24 deletions
diff --git a/sbin/bsdlabel/bsdlabel.8 b/sbin/bsdlabel/bsdlabel.8
index 1e908c29cf46..b3df66e06436 100644
--- a/sbin/bsdlabel/bsdlabel.8
+++ b/sbin/bsdlabel/bsdlabel.8
@@ -61,9 +61,6 @@
.Op Fl r
.Op Fl n
.Ar disk Ar protofile
-.Nm
-.Op Fl NW
-.Ar disk
.Pp
.Nm
.Fl B
@@ -311,27 +308,6 @@ If
is used, no data will be written to the device, and instead the
disklabel that would have been written will be printed to stdout. This is
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 arranges for
-.Xr write 2
-and similar system calls
-to return
-.Er 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
-.Fl W
-.Ar disk
-.Pp
-To disallow writing to the label area after previously allowing it, use the
-command
-.Pp
-.Nm
-.Fl N
-.Ar disk
.Ss Installing bootstraps
.Pp
The final three forms of