[EMAIL PROTECTED] schrieb:
It probably shouldn't be the default, but I can't really tell what this
means:

13199671296 8156 9652530272 1%
quick, how much space is that?

Enough free.


With the -h option the width of the filesystem size is roughly the same - regardless if the filesystem is 1kB or 1TB. So I have to actually *read* the output instead of a quick look how wide the size column is.

That only helps upto about 6-8 digits, if that.

The problem is the formatting. In Solaris df/ls the size column has a fixed width. For larger sizes the output gets distorted:

-rwsr-s--x   1 oracle   dba      133894000 Mai 29  2006 oracle*
-rwxr-xr-x   1 oracle   dba      1339524 Mai 19  2006 oratclsh*
-rwxr-xr-x   1 oracle   dba           48 Sep 25  2000 oraxml*
-rwxr-xr-x   1 oracle   dba           48 Sep 25  2000 oraxsl*
-rwxr-xr-x   1 oracle   dba      10636376 Mai 29  2006 proc*

FreeBSD's utilities in contrast check for the largest required width and adjusts output accordingly:

-rwsr-s--x   1 oracle   dba      133894000 Mai 29  2006 oracle*
-rwxr-xr-x   1 oracle   dba        1339524 Mai 19  2006 oratclsh*
-rwxr-xr-x   1 oracle   dba             48 Sep 25  2000 oraxml*
-rwxr-xr-x   1 oracle   dba             48 Sep 25  2000 oraxsl*
-rwxr-xr-x   1 oracle   dba       10636376 Mai 29  2006 proc*

So even If you don't see the absolute numbers you quickly realize that "oracle" is two magnitudes larger than "oratclsh".

If df had a similar output, I'd prefer this:

           8388608    3041200   5347408    37%
          33554432    1605719  31794110     5%
          62914560   37766679  14129948    73%
          62914560   11017932  14129948    44%
        1535901696 1187247048 263079735    82%
         134217728   32200480  74728050    31%
           4194304    1392793   2801511    34%

over this any time:

              8.0G   2.9G   5.1G    37%
               32G   1.5G    30G     5%
               60G    36G    13G    73%
               60G    11G    13G    44%
              1.4T   1.1T   251G    82%
              128G    31G    71G    31%
              4.0G   1.3G   2.7G    34%

I don't count digits. I just memorize patterns. More digits => larger size.



Daniel

_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to