Module Name: othersrc
Committed By: agc
Date: Tue May 17 03:51:40 UTC 2011
Modified Files:
othersrc/external/bsd/genraidconf: genraidconf.8
Log Message:
invoke the commands in the example properly
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 othersrc/external/bsd/genraidconf/genraidconf.8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: othersrc/external/bsd/genraidconf/genraidconf.8
diff -u othersrc/external/bsd/genraidconf/genraidconf.8:1.1.1.1 othersrc/external/bsd/genraidconf/genraidconf.8:1.2
--- othersrc/external/bsd/genraidconf/genraidconf.8:1.1.1.1 Tue May 17 03:48:50 2011
+++ othersrc/external/bsd/genraidconf/genraidconf.8 Tue May 17 03:51:40 2011
@@ -1,4 +1,4 @@
-.\" $NetBSD: genraidconf.8,v 1.1.1.1 2011/05/17 03:48:50 agc Exp $
+.\" $NetBSD: genraidconf.8,v 1.2 2011/05/17 03:51:40 agc Exp $
.\"
.\" Copyright (c) 2011 Alistair Crooks <[email protected]>
.\" All rights reserved.
@@ -116,7 +116,7 @@
.Bd -literal
% uname -m
amd64
-% genraidconf.sh -n -o raid5 -d raid0 sd0 sd1 sd2
+% genraidconf -n -o raid5 -d raid0 sd0 sd1 sd2
fdisk -uai -A 2048 sd0a
fdisk -uai -A 2048 sd1a
fdisk -uai -A 2048 sd2a
@@ -126,9 +126,9 @@
raidctl -I 20110516143616 raid0
raidctl -i raid0
raidctl -A yes raid0
-% genraidconf.sh -n -o raid1 -d raid1 sd0 sd1 sd2
+% genraidconf -n -o raid1 -d raid1 sd0 sd1 sd2
RAIDframe RAID1 requires 2 disks
-% genraidconf.sh -n -r 1 -d raid1 sd0 sd1
+% genraidconf -n -r 1 -d raid1 sd0 sd1
fdisk -uai -A 2048 sd0a
fdisk -uai -A 2048 sd1a
disklabel -R sd0 /tmp/label.26009a
@@ -136,7 +136,7 @@
raidctl -I 20110516143702 raid1
raidctl -i raid1
raidctl -A yes raid1
-% genraidconf.sh -n -o raid1 -d raid1 -o zero sd0 sd1
+% genraidconf -n -o raid1 -d raid1 -o zero sd0 sd1
dd if=/dev/zero bs=32k of=/dev/rsd0a
dd if=/dev/zero bs=32k of=/dev/rsd1a
fdisk -uai -A 2048 sd0a
@@ -146,7 +146,7 @@
raidctl -I 20110516143710 raid1
raidctl -i raid1
raidctl -A yes raid1
-% genraidconf.sh -n -o raid1 -d raid1 -o zero -o root sd0 sd1
+% genraidconf -n -o raid1 -d raid1 -o zero -o root sd0 sd1
dd if=/dev/zero bs=32k of=/dev/rsd0a
dd if=/dev/zero bs=32k of=/dev/rsd1a
fdisk -uai -A 2048 sd0a