Module Name: src
Committed By: abs
Date: Sat Nov 28 10:28:22 UTC 2009
Modified Files:
src/sbin/disklabel: disklabel.8
Log Message:
Shuffle the order of examples to put the interactive option (-i) ahead
of $EDITOR and "disklabel -w -r /dev/rsd0c sd2212 foo"
To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/sbin/disklabel/disklabel.8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/disklabel/disklabel.8
diff -u src/sbin/disklabel/disklabel.8:1.61 src/sbin/disklabel/disklabel.8:1.62
--- src/sbin/disklabel/disklabel.8:1.61 Sat Jan 27 19:20:28 2007
+++ src/sbin/disklabel/disklabel.8 Sat Nov 28 10:28:22 2009
@@ -1,4 +1,4 @@
-.\" $NetBSD: disklabel.8,v 1.61 2007/01/27 19:20:28 perry Exp $
+.\" $NetBSD: disklabel.8,v 1.62 2009/11/28 10:28:22 abs Exp $
.\"
.\" Copyright (c) 1987, 1988, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -32,7 +32,7 @@
.\"
.\" @(#)disklabel.8 8.2 (Berkeley) 4/19/94
.\"
-.Dd November 26, 2006
+.Dd November 28, 2009
.Dt DISKLABEL 8
.Os
.Sh NAME
@@ -238,6 +238,20 @@
Display the in-core label for sd0 as obtained via
.Pa /dev/rsd0c .
.Pp
+.Dl Ic disklabel -i -r sd0
+.Pp
+Read the on-disk label for sd0, edit it using the built-in interactive editor and reinstall in-core as well
+as on-disk.
+.Pp
+.Dl Ic disklabel -i -I sd0
+.Pp
+As previous, but don't fail if there was no label on the disk yet;
+provide some default values instead.
+.Pp
+.Dl Ic disklabel -e -I sd0
+.Pp
+As previous, only edit using $EDITOR
+.Pp
.Dl Ic disklabel -w -r /dev/rsd0c sd2212 foo
.Pp
Create a label for sd0 based on information for
@@ -256,20 +270,6 @@
editing the file, and replacing the label with
.Ic disklabel -R sd0 protofile .
.Pp
-.Dl Ic disklabel -e -r sd0
-.Pp
-Read the on-disk label for sd0, edit it and reinstall in-core as well
-as on-disk.
-.Pp
-.Dl Ic disklabel -e -I sd0
-.Pp
-As previous, but don't fail if there was no label on the disk yet;
-provide some default values instead.
-.Pp
-.Dl Ic disklabel -i -I sd0
-.Pp
-As previous, only use the built-in interactive editor.
-.Pp
.Dl Ic disklabel -R sd0 mylabel
.Pp
Restore the on-disk and in-core label for sd0 from information in