Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/disklabel Shuffle the order of examples to put the inte...
details: https://anonhg.NetBSD.org/src/rev/849bde5b2203
branches: trunk
changeset: 749379:849bde5b2203
user: abs <abs%NetBSD.org@localhost>
date: Sat Nov 28 10:28:22 2009 +0000
description:
Shuffle the order of examples to put the interactive option (-i) ahead
of $EDITOR and "disklabel -w -r /dev/rsd0c sd2212 foo"
diffstat:
sbin/disklabel/disklabel.8 | 32 ++++++++++++++++----------------
1 files changed, 16 insertions(+), 16 deletions(-)
diffs (60 lines):
diff -r a33241014692 -r 849bde5b2203 sbin/disklabel/disklabel.8
--- a/sbin/disklabel/disklabel.8 Sat Nov 28 10:10:17 2009 +0000
+++ b/sbin/disklabel/disklabel.8 Sat Nov 28 10:28:22 2009 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index