Re: [PATCH] Documentation: Add 00-INDEX file for AoE

From: Ed L. Cashin
Date: Mon Jan 14 2008 - 12:20:19 EST


On Sun, Jan 13, 2008 at 02:44:48AM +0100, Jesper Juhl wrote:
> Documentation/aoe/ is missing a 00-INDEX file. Add one.

Thanks. I think that it would help to clarify that using udev is the
norm, and that the mkdev and mkshelf scripts are just examples to show
how you could do it manually.

Signed-off-by: Ed L. Cashin <ecashin@xxxxxxxxxx>

diff --git a/Documentation/aoe/00-INDEX b/Documentation/aoe/00-INDEX
index 8188b22..d087df6 100644
--- a/Documentation/aoe/00-INDEX
+++ b/Documentation/aoe/00-INDEX
@@ -5,9 +5,10 @@ aoe.txt
autoload.sh
- script for making the AoE driver autoload via /etc/modprobe.conf.
mkdevs.sh
- - script for creating required AoE device nodes.
+ - script for creating required AoE device nodes without udev.
mkshelf.sh
- - script for making one shelf's worth of block device nodes.
+ - script for making one shelf's worth of block device nodes
+ without udev.
status.sh
- script to collate and present sysfs information about AoE storage.
todo.txt
diff --git a/Documentation/aoe/mkdevs.sh b/Documentation/aoe/mkdevs.sh
index 97374aa..5870a6c 100644
--- a/Documentation/aoe/mkdevs.sh
+++ b/Documentation/aoe/mkdevs.sh
@@ -1,4 +1,7 @@
#!/bin/sh
+# This example script shows how device nodes for interacting with the
+# aoe driver could be created in the absence of udev. Using udev is
+# preferable to creating them manually.

n_shelves=${n_shelves:-10}
n_partitions=${n_partitions:-16}
diff --git a/Documentation/aoe/mkshelf.sh b/Documentation/aoe/mkshelf.sh
index 3261581..7f412f0 100644
--- a/Documentation/aoe/mkshelf.sh
+++ b/Documentation/aoe/mkshelf.sh
@@ -1,4 +1,7 @@
#! /bin/sh
+# This example script shows how device nodes for interacting with the
+# aoe driver could be created in the absence of udev. Using udev is
+# preferable to creating them manually.

if test "$#" != "2"; then
echo "Usage: sh `basename $0` {dir} {shelfaddress}" 1>&2


--
Ed L Cashin <ecashin@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/