diff options
author | Hannes Reinecke <hare@suse.de> | 2007-05-25 14:48:08 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2007-05-25 14:48:08 +0200 |
commit | 87cf9f5aacf65d0bc186e5e525026cc760290379 (patch) | |
tree | ec2310ba2b3b2d49a55065be217e8c75cc1e86e0 /extras/path_id | |
parent | 335b8aace33a2018c947381d32c33bcebe6cbe37 (diff) |
cciss device support
Diffstat (limited to 'extras/path_id')
-rw-r--r-- | extras/path_id/path_id | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/extras/path_id/path_id b/extras/path_id/path_id index a7d650bf42..ee26dc1f8a 100644 --- a/extras/path_id/path_id +++ b/extras/path_id/path_id @@ -74,6 +74,17 @@ handle_pci () { DEV=${PWD} pci_id=${DEV##*/} host_dev_path=$DEV + + # cciss devices don't have a separate sysfs node + for blk_link in block*; do + if [ -L "$blk_link" ]; then + case "$blk_link" in + *cciss*) + d=cciss-${blk_link#*cciss\!} + ;; + esac + fi + done while [ ! -z "$host_dev_path" ] ; do case "$host_dev_path" in */pci[0-9]*) |