bug-coreutils
[Top][All Lists]
Advanced

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

Feature request(s) df and ls/dir


From: Chris Oxenreider
Subject: Feature request(s) df and ls/dir
Date: Mon, 19 Sep 2005 00:03:15 -0500 (CDT)


Hi,

I know this is the wrong forum for this, but I could not find a more appropriate e-mail address to send this too.

I have two things I would like to see.  In no particular order:

I would like to se ls/dir report 'megabytes' much like the feature in 'du -m' or 'df -m' does.

I would also like to see 'df' add line feeds in when reporting space in long device names such as Linux LVMs.




Example:


Current Behavior 'df -m':

Filesystem           1M-blocks      Used Available Use% Mounted on
/dev/mapper/vg00-lv00
                          4961      3153      1554  67% /
/dev/sda1                   99        15        80  15% /boot
/dev/shm                   252         0       252   0% /dev/shm
/dev/mapper/vg00-lv02
                           992       136       805  15% /usr/local
/dev/mapper/vg00-lv03
                          3024      1420      1451  50% /home
/dev/mapper/vg01-lv00
                          4568      3800       536  88% /tmp
/dev/sdc1                34179     23489     10691  69% /export


Proposed Behavior of 'df -m':

Filesystem              1M-blocks      Used Available Use% Mounted on
/dev/mapper/vg00-lv00        4961      3153      1554  67% /
/dev/sda1                      99        15        80  15% /boot
/dev/shm                      252         0       252   0% /dev/shm
/dev/mapper/vg00-lv02         992       136       805  15% /usr/local
/dev/mapper/vg00-lv03        3024      1420      1451  50% /home
/dev/mapper/vg01-lv00        4568      3800       536  88% /tmp
/dev/sdc1                   34179     23489     10691  69% /export




You could implement this with a '-d' option which would not report the
'device' that was mounted like:

Total 1M-blocks      Used Available Use% Mounted on
           4961      3153      1554  67% /
             99        15        80  15% /boot
            252         0       252   0% /dev/shm
            992       136       805  15% /usr/local
           3024      1420      1451  50% /home
           4568      3800       536  88% /tmp
          34179     23489     10691  69% /export




--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Christopher G. Oxenreider  | Die Gedanken Sind Frei
address@hidden |        -- Deutsches Volkslied
#include<std_disclaimer.h> | http://babelfish.altavista.com/tr
Copyright                  |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=




reply via email to

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