lkml.org 
[lkml]   [2008]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] Documentation: Add 00-INDEX file for AoE
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@coraid.com>

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@coraid.com>


\
 
 \ /
  Last update: 2008-01-14 18:23    [W:0.033 / U:0.688 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site