On Sat, 10 Feb 2007, James Li
line 432
<Snip>
should be: FREE_CD=$(echo ${CD_LINE}|awk '{print $(NF-2)}')
The preceding line, and the following two lines also need replacing. These should do the job: TESTCD=$(echo ${CD_LINE}|awk '{print $(NF)}') FREE_CD=$(echo ${CD_LINE}|awk '{print $(NF-2)}') TESTDVD=$(echo ${DVD_LINE}|awk '{print $(NF)}') FREE_DVD=$(echo ${DVD_LINE}|awk '{print $(NF-2)}')
otherwise it will not be error when "df" show the following result:
Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/system-suse10 15728156 13381848 2346308 86% /
This is most probably my fault. While testing it out for Houghi, I didn't try it on a system using LVM so this wasn't spotted. I've mailed a patch to fix this to Houghi, so he can update the script. Regards, David Bolt -- Member of Team Acorn checking nodes at 50 Mnodes/s: http://www.distributed.net/ AMD1800 1GB WinXP/SUSE 9.3 | AMD2400 256MB SuSE 9.3 | A3010 4MB RISCOS 3.11 AMD2600(64) 512MB SUSE 10.0 | AMD2400 768MB SUSE 10.0 | A4000 4MB RISCOS 3.11 AMD2800(64) 512MB SUSE 10.1 | RPC600 129MB RISCOS 3.6 | Falcon 14MB TOS 4.02 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org