Am 07.11.2010 19:39, schrieb Phil Turmel:
On 11/07/2010 10:19 AM, John Robinson wrote: I did another version, with regular expressions to accommodate the variations. Please give it a shot.
As I don't have sginfo on my system installed, I replaced the sn= line with sn=`smartctl -i /dev/$bdev | awk '/Serial Number/{print $3}'` Now the script works like a charm Best Wishes Andreas -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html