If we don't use df -P, we can get line breaks on long device names,
which confuses the parser. Thanks to jburke for pointing this out,
and Andy for the solution ;-)
$ df -m /
Filesystem 1M-blocks Used Available Use% Mounted on
/dev/mapper/VGR5X86-LVRootX86
106693 3524 97663 4% /
$ df -mP /
Filesystem 1048576-blocks Used Available Capacity Mounted on
/dev/mapper/VGR5X86-LVRootX86 106693 3524 97663 4% /
Signed-off-by: Martin J, Bligh <mbligh@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@1303 592f7852-d20e-0410-864c-8624ca9c26a4
2 files changed