[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Device names too long for df

From: Bob Proulx
Subject: Re: Device names too long for df
Date: Sun, 22 Feb 2004 13:44:16 -0700
User-agent: Mutt/1.3.28i

Thomas Stewart wrote:
> Once more than half a dozen devices are in the system, the readout is less 
> easy
> to read, e.g. 
> $ df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/ide/host0/bus0/target0/lun0/part5
>                        19G  6.8G   12G  38% /
> /dev/ide/host0/bus0/target0/lun0/part6
>                        82G   60G   22G  74% /mnt/store
> I have made a patch to add a --wide (-w) option to df, so that the
> "Filesystem" column has more space.

I don't have a system to test this on but I am curious what the -P
output looks like in your case.

     Use the POSIX output format.  This is like the default format
     except for the following:

       1. The information about each filesystem 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.

       2. The labels in the header output line are changed to conform
          to POSIX.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]