Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79993 - df shows weird output on long devicenames
Summary: df shows weird output on long devicenames
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://lists.gnu.org/archive/html/bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-29 13:43 UTC by Christian Heim (RETIRED)
Modified: 2005-01-29 20:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Adds -w / --wide for long devicenames (e.g. like /dev/discs/disc3/part13) (fix-df-long-devicenames.patch,2.54 KB, patch)
2005-01-29 13:45 UTC, Christian Heim (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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