summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authoratul.sabharwal@intel.com <atul.sabharwal@intel.com>2004-03-31 22:56:51 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:35:13 -0700
commitc1f8ea9562765d920881d46aeac69cce554d7ce3 (patch)
tree89e98c8bee661fccbe641beb075e62b2be360954 /extras
parent0536819cca9468cf383807037dbaa5ad0d48b60f (diff)
[PATCH] Add README for chassis_id
Diffstat (limited to 'extras')
-rw-r--r--extras/chassis_id/README28
1 files changed, 28 insertions, 0 deletions
diff --git a/extras/chassis_id/README b/extras/chassis_id/README
new file mode 100644
index 0000000000..51add4945e
--- /dev/null
+++ b/extras/chassis_id/README
@@ -0,0 +1,28 @@
+ README.txt
+ ~~~~~~~~~~
+Chassis_id is a callout program which is used to give geographic names to devices. It uses
+another callout program scsi_id to determine the serial number of a device and then looks up
+the provisioning table based on this key. It retrieves geographic information
+( chassis#, slot# and host# ) about the device and prints it to stdout. These fields are
+used by udev to create the device entry.
+
+Using Udev:
+~~~~~~~~~~
+Chassis_id gets invoked by udev using the udev as below:
+
+BUS="scsi", PROGRAM="/usr/local/bin/chassis_id", NAME="/chassis%c{1}/slot%c{2}/host%c{3}/disk-%c{4}
+
+The provisioning table ( file provision.tbl ) has to be put in /usr/local/bin and as of now has
+to be populated manually. This is the only place where the geographic map of devices is kept
+in the system.
+
+
+Usage Model:
+~~~~~~~~~~~~
+On ATCA based blade architecture systems, blade insertion/removal is common. We create names
+in a 3 level deep tree which represent the geographic map of the devices.
+
+
+CONTACT:
+~~~~~~~~
+Please feel free to contact atul.sabharwal@intel.com with questions, comments, suggestions.