Am 26.09.10 01:02, schrieb Jim Angstadt:

> gave me a problem due to line wrapping in df.  For example:
> 
> $ df -m /home/ja/verify/
> Filesystem           1M-blocks      Used Available Use% Mounted on
> /dev/mapper/VolGroup00-LogVol00
>                         589333    289168    269746  52% /
> 
> So, $4 is 52% rather than 269746.

ARGH. IDIOTS.

Changed it to df -P -m in the script.

Thanks for finding that.

Ralph
_______________________________________________
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs

Reply via email to