Lines Matching refs:type
7 smart: Show SMART temperature and error stats (specific to drive type)
8 smartx: Show SMART extended drive stats (specific to drive type).
28 test_type: Show SMART self-test type (short, long... ).
53 num_files=$(find "$dir" -maxdepth 1 -type f | wc -l)
56 find "$dir" -type f -printf '%f\n' | while read -r file ; do
102 /SAS/{type="sas"}
119 /SATA/{type="sata"}
128 /NVMe/{type="nvme"}
154 if (type == "sas") {
187 END {print "type="type; ORS="\n"; print ""}
190 type=$(echo "$out" | grep '^type=' | cut -d '=' -f 2)
192 # If type is not set by now, either we don't have a block device
195 if [ -z "$type" ]; then
196 type="sata"
203 if [ "$type" = "sas" ] ; then
205 elif [ "$type" = "sata" ] ; then
207 elif [ "$type" = "nvme" ] ; then
213 if [ "$type" = "sas" ] ; then
215 elif [ "$type" = "sata" ] ; then
217 elif [ "$type" = "nvme" ] ; then