From: brian Date: Mon, 6 Aug 2007 19:57:12 +0000 (+0000) Subject: Reduce a line to several < 80 char lines. X-Git-Tag: 1.6.1~31 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=af0262908f65b9b7417c093ea224cc22cf2718af;p=fs%2Flustre-release.git Reduce a line to several < 80 char lines. --- diff --git a/lustre-iokit/sgpdd-survey/sgpdd-survey b/lustre-iokit/sgpdd-survey/sgpdd-survey index 94946c0..6a62300 100755 --- a/lustre-iokit/sgpdd-survey/sgpdd-survey +++ b/lustre-iokit/sgpdd-survey/sgpdd-survey @@ -136,7 +136,9 @@ for ((rsz=$rszlo;rsz<=$rszhi;rsz*=2)); do dev=${devs[i]} devsize=$((bs*`sg_readcap -b ${dev} | awk '{print $1}'`/1024)) if [ $devsize -lt $actual_size ]; then - echo -e "device $(sg_map | grep $dev | awk '{ print $2; }') not big enough: $devsize < $actual_size.\nConsider reducing \$size" + _dev=$(sg_map | grep $dev | awk '{ print $2; }') + echo -e "device $_dev not big enough: $devsize <" \ + "$actual_size.\nConsider reducing \$size" exit 1 fi if [ $action = read ]; then