Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 79993

Summary: df shows weird output on long devicenames
Product: Gentoo Linux Reporter: Christian Heim (RETIRED) <phreak>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED WONTFIX    
Severity: trivial    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://lists.gnu.org/archive/html/bug-coreutils/2004-02/msg00103.html
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Adds -w / --wide for long devicenames (e.g. like /dev/discs/disc3/part13)

Description Christian Heim (RETIRED) gentoo-dev 2005-01-29 13:43:46 UTC
Currently using coreutils-5.2.1-r2 and the 'df' output is a bit weird.

See the attached patch which was posted on the bug-coreutils mailinglist (http://lists.gnu.org/archive/html/bug-coreutils/2004-02/msg00103.html)

Reproducible: Always
Steps to Reproduce:
1. emerge '>=sys-apps/coreutils-5.2.1-r2'
2. df /var
Actual Results:  
Filesystem            Size  Used Avail Use% Mounted on
/dev/discs/disc0/part7
                      2.9G  275M  2.5G  11% /var


Expected Results:  
Filesystem                 Size  Used Avail Use% Mounted on
/dev/discs/disc0/part7     2.9G  275M  2.5G  11% /var
Comment 1 Christian Heim (RETIRED) gentoo-dev 2005-01-29 13:45:24 UTC
Created attachment 49881 [details, diff]
Adds -w / --wide for long devicenames (e.g. like /dev/discs/disc3/part13)
Comment 2 SpanKY gentoo-dev 2005-01-29 20:51:38 UTC
as pointed out in that thread, `df -P` already does this pretty much

there's also talk of changing `df` to work automagically like `ls`, so lets just let them figure it out