Lines 16-22
Link Here
|
16 |
case "${daily_status_smart_devices}" in |
16 |
case "${daily_status_smart_devices}" in |
17 |
# XXX AUTO mode selects only regular ad/da disks |
17 |
# XXX AUTO mode selects only regular ad/da disks |
18 |
[Aa][Uu][Tt][Oo]) |
18 |
[Aa][Uu][Tt][Oo]) |
19 |
daily_status_smart_devices="$(sysctl -n kern.disks | sed -E 's/[[:<:]](cd|ar)[0-9]+//g')" |
19 |
daily_status_smart_devices="$(sysctl -n kern.disks | sed -E 's/[[:<:]](cd|ar)[0-9]+//g; s/nvd/nvme/g')" |
20 |
;; |
20 |
;; |
21 |
*) ;; |
21 |
*) ;; |
22 |
esac |
22 |
esac |
Lines 48-53
Link Here
|
48 |
ciss*) devflags="-dcciss,${device##ciss[0-9]*,}" |
48 |
ciss*) devflags="-dcciss,${device##ciss[0-9]*,}" |
49 |
device="/dev/${device%,[0-9]*}" |
49 |
device="/dev/${device%,[0-9]*}" |
50 |
;; |
50 |
;; |
|
|
51 |
arcmsr*) devflags="-dareca,${device##arcmsr[0-9]*,}" |
52 |
device="/dev/${device%,[0-9]*}" |
53 |
;; |
51 |
/*) ;; |
54 |
/*) ;; |
52 |
*) device="/dev/${device}" |
55 |
*) device="/dev/${device}" |
53 |
;; |
56 |
;; |