Lines 40-53
Link Here
|
40 |
device="${device#/dev/}" |
40 |
device="${device#/dev/}" |
41 |
devflags="" |
41 |
devflags="" |
42 |
case ${device} in |
42 |
case ${device} in |
43 |
cd*) continue |
43 |
cd*) ;; |
|
|
44 |
tw[ae]*) devflags="-d3ware,${device##tw[ae][0-9]*,}" |
45 |
device="/dev/${device%,[0-9]*}" |
44 |
;; |
46 |
;; |
45 |
tw[ae]*) devflags="-d3ware,${device#tw[ae][0-9]*,}" |
47 |
ciss*) devflags="-dcciss,${device##ciss[0-9]*,}" |
46 |
device="/dev/${device%,[0-9]*}" |
48 |
device="/dev/${device%,[0-9]*}" |
47 |
;; |
49 |
;; |
48 |
/*) ;; |
50 |
/*) ;; |
49 |
*) device="/dev/${device}" |
51 |
*) device="/dev/${device}" |
50 |
;; |
52 |
;; |
51 |
esac |
53 |
esac |
52 |
|
54 |
|
53 |
if [ -e ${device} ]; then |
55 |
if [ -e ${device} ]; then |