On 15 November 2011 22:56, Musayev, Ilya <imusa...@webmd.net> wrote:
> "df" has some formating issues. i.e. if you have a very long string that 
> defines your partition, it will insert new lines.
>
> Example:
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/mapper/rootvg-rootvol
>                      256G  122G  121G  51% /
> Mynfsserver:/med/linux.some-share
>                                256G  122G  123G  51% /

‘-P’
‘--portability’
    Use the POSIX output format. This is like the default format
except for the following:

        The information about each file system is always printed on
exactly one line; a mount device is never put on a line by itself.
This means that if the mount device name is more than 20 characters
long (e.g., for some network mounts), the columns are misaligned.
        The labels in the header output line are changed to conform to POSIX.
        The default block size and output format are unaffected by the
DF_BLOCK_SIZE, BLOCK_SIZE and BLOCKSIZE environment variables.
However, the default block size is still affected by POSIXLY_CORRECT:
it is 512 if POSIXLY_CORRECT is set, 1024 otherwise. See Block size.

-- 
Sam

_______________________________________________
rhelv5-list mailing list
rhelv5-list@redhat.com
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to