Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/disklabel kill some bogus comments about -r: it _does n...
details: https://anonhg.NetBSD.org/src/rev/d528572cbdf6
branches: trunk
changeset: 473427:d528572cbdf6
user: cgd <cgd%NetBSD.org@localhost>
date: Thu Jun 03 01:49:58 1999 +0000
description:
kill some bogus comments about -r: it _does not_ cause the boot area to
be clobbered. since 4.4-Lite(?) disklabel.c has gone to extra effort
to avoid clobbering the boot area when using -r, but the 4.4-Lite manual
pages were apparently not updated to note that!
diffstat:
sbin/disklabel/disklabel.8 | 29 +++--------------------------
1 files changed, 3 insertions(+), 26 deletions(-)
diffs (72 lines):
diff -r f82b81cf1bd7 -r d528572cbdf6 sbin/disklabel/disklabel.8
--- a/sbin/disklabel/disklabel.8 Thu Jun 03 00:05:45 1999 +0000
+++ b/sbin/disklabel/disklabel.8 Thu Jun 03 01:49:58 1999 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: disklabel.8,v 1.26 1999/04/09 16:01:34 kleink Exp $
+.\" $NetBSD: disklabel.8,v 1.27 1999/06/03 01:49:58 cgd Exp $
.\"
.\" Copyright (c) 1987, 1988, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -119,9 +119,9 @@
This option may allow a label to be installed on a disk
without kernel support for a label, such as when labels are first installed
on a system; it must be used when first installing a label on a disk.
-The specific effect of
+Any special effects of the
.Fl r
-is described under each command.
+flag are described with the affected commands.
.Pp
The read and install forms also support the
.Fl B
@@ -168,17 +168,6 @@
The optional argument is a pack identification string,
up to 16 characters long.
The pack id must be quoted if it contains blanks.
-If the
-.Fl r
-flag is given, the disk sectors containing the label and bootstrap
-will be written directly.
-A side-effect of this is that any existing bootstrap code will be overwritten
-and the disk rendered unbootable.
-If
-.Fl r
-is not specified,
-the existing label will be updated via the in-core copy and any bootstrap
-code will be unaffected.
If the disk does not already have a label, the
.Fl r
flag must be used.
@@ -193,10 +182,6 @@
An existing disk label may be edited by using the
.Fl e
flag.
-The label is read from the in-core kernel copy,
-or directly from the disk if the
-.Fl r
-flag is also given.
The label is formatted and then supplied to an editor for changes.
If no editor is specified in an
.Ev EDITOR
@@ -205,9 +190,6 @@
is used.
When the editor terminates, the formatted label is reread
and used to rewrite the disk label.
-Existing bootstrap code is unchanged regardless of whether
-.Fl r
-was specified.
.Pp
Labels can also created interactively using the
.Fl i
@@ -235,11 +217,6 @@
Comments are delimited by
.Ar \&#
and newline.
-As with
-.Fl w ,
-any existing bootstrap code will be clobbered if
-.Fl r
-is specified and will be unaffected otherwise.
.Pp
The
.Fl NW
Home |
Main Index |
Thread Index |
Old Index