diff options
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]*) |