+ for disk in $disklist; do
+ if exectest smartctl ; then
+ echo -e "smartctl -a /dev/${disk}:\n" >> smartctl
+ smartctl -a /dev/$disk >> smartctl
+ echo -e "\n\n" >> smartctl
+ fi
+
+ if exectest hdparm ; then
+ echo -e "hdparm -iv /dev/${disk}:\n" >> hdparm
+ hdparm -iv /dev/$disk >> hdparm
+ echo -e "\n\n" >> hdparm
+ fi
+
+ if exectest fdisk ; then
+ echo -e "fdisk -lu /dev/${disk}:\n" >> fdisk
+ fdisk -lu /dev/$disk >>fdisk 2>>fdisk.error
+ echo -e "\n\n" >> fdisk
+ fi
+
+ if exectest parted ; then
+ echo -e "parted -s /dev/${disk}:\n" >> parted
+ parted -s /dev/$disk print >> parted
+ echo -e "\n\n" >> parted
+ fi
+
+ if exectest sdparm ; then
+ echo -e "sdparm --all --long /dev/${disk}:\n" >> sdparm
+ sdparm --all --long /dev/$disk >> sdparm
+ echo -e "\n\n" >> sdparm
+ fi
+
+ if exectest sg_inq ; then
+ echo -e "sg_inq /dev/${disk}:\n" >> sg_inq
+ sg_inq /dev/$disk >> sg_inq
+ echo -e "\n\n" >> sg_inq
+ fi