From unknown Fri Jun 20 07:12:58 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#6990 <6990@debbugs.gnu.org> To: bug#6990 <6990@debbugs.gnu.org> Subject: Status: RFE: more dynamic df output format Reply-To: bug#6990 <6990@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:12:58 +0000 retitle 6990 RFE: more dynamic df output format reassign 6990 coreutils submitter 6990 Todd E Thomas severity 6990 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 06 11:49:45 2010 Received: (at submit) by debbugs.gnu.org; 6 Sep 2010 15:49:45 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Osdx2-0006fE-Lc for submit@debbugs.gnu.org; Mon, 06 Sep 2010 11:49:45 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OsdR8-0006T6-Hc for submit@debbugs.gnu.org; Mon, 06 Sep 2010 11:16:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OsdSw-0004YC-PP for submit@debbugs.gnu.org; Mon, 06 Sep 2010 11:18:40 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:37756) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OsdSu-0004Y1-G7 for submit@debbugs.gnu.org; Mon, 06 Sep 2010 11:18:38 -0400 Received: from [140.186.70.92] (port=33905 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OsdSd-00073G-DY for bug-coreutils@gnu.org; Mon, 06 Sep 2010 11:18:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OsdSF-0004SU-1P for bug-coreutils@gnu.org; Mon, 06 Sep 2010 11:17:56 -0400 Received: from imta-38.everyone.net ([216.200.145.38]:60534) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OsdSE-0004S8-QM for bug-coreutils@gnu.org; Mon, 06 Sep 2010 11:17:55 -0400 Received: from pps.filterd (omta003 [127.0.0.1]) by imta-38.everyone.net (8.14.3/8.14.3) with SMTP id o86FGH2K019023 for ; Mon, 6 Sep 2010 08:17:52 -0700 Received: from dm0227.mta.everyone.net (sj1-slb03-gw2.sj2.proofpoint.com [172.16.1.96]) by imta-38.everyone.net with ESMTP id r52gk04rb-1 for ; Mon, 06 Sep 2010 08:17:52 -0700 X-Eon-Dm: dm0227 Received: by dm0227.mta.everyone.net (EON-AUTHRELAY2 - 422bdc95) id dm0227.4c81605a.efc69 for ; Mon, 6 Sep 2010 08:17:46 -0700 X-Eon-Sig: AQL55w1MhQYa1YMEtwIAAAAB,2db8c254b3455e9327de18862620b0a1 Message-ID: <4C850619.9050208@ssiresults.com> Date: Mon, 06 Sep 2010 10:17:45 -0500 From: Todd E Thomas User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100806 Fedora/3.1.2-1.fc13 Thunderbird/3.1.2 MIME-Version: 1.0 To: bug-coreutils@gnu.org Subject: RFE: more dynamic df output format Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1004200000 definitions=main-1009060094 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 06 Sep 2010 11:49:44 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.3 (-----) Hey all, This is not a bug as much as a request to make the df output more flexible/dynamic and readable. Basically, there are two types of output now: *Historic representations of drives: $ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/hda2 15235072 10537884 3910808 73% / /dev/hda6 2030736 310444 1615472 17% /var /dev/hda5 454700584 26684920 404545504 7% /export /dev/hda1 101086 21551 74316 23% /boot tmpfs 712740 0 712740 0% /dev/shm --- *And those with the same output field widths and longer names: vault://share/linux 960301960 315005712 645296248 33% /mnt/linux vault://share/fileshare 960301960 315005712 645296248 33% /mnt/fileshare vault://share/Public 960301960 315005712 645296248 33% /mnt/public vault://share/win 960301960 315005712 645296248 33% /mnt/win vault://share/apps 960301960 315005712 645296248 33% /mnt/apps vault://share/backup 960301960 315005712 645296248 33% /mnt/backup vault://share/keep-forever 960301960 315005712 645296248 33% /mnt/keep vault://share/builds 960301960 315005712 645296248 33% /mnt/builds vault://share/Qdownload/training 960301960 315005712 645296248 33% /mnt/training This is also true of volume group output: $ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/vg_power-lv_root 51606140 8271456 40713244 17% / tmpfs 2513156 808 2512348 1% /dev/shm /dev/sda1 495844 64352 405892 14% /boot /dev/mapper/vg_power-lv_home 94697324 8814368 81072616 10% /home /dev/sdb1 480719056 166757848 289542008 37% /storage --- The output could be cleaned up to look like this: $ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/vg_power-lv_root 51606140 8271456 40713244 17% / tmpfs 2513156 808 2512348 1% /dev/shm /dev/sda1 495844 64352 405892 14% /boot /dev/mapper/vg_power-lv_home 94697324 8814368 81072616 10% /home /dev/sdb1 480719056 166757848 289542008 37% /storage Slightly more read-able. --- Here's the requested 'stuff': This output comes from a 64-bit CentOS 5.5 install with... $ df --version df (GNU coreutils) 5.97 Copyright (C) 2006 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License . There is NO WARRANTY, to the extent permitted by law. Written by Torbjorn Granlund, David MacKenzie, and Paul Eggert. $ uname -m x86_64 -- Thanks for the assist, Todd E Thomas "It's a frail music knits the world together." -Robert Dana From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 06 14:26:53 2010 Received: (at 6990-done) by debbugs.gnu.org; 6 Sep 2010 18:26:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OsgP6-0008Mn-TJ for submit@debbugs.gnu.org; Mon, 06 Sep 2010 14:26:53 -0400 Received: from mail1.slb.deg.dub.stisp.net ([84.203.253.98]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OsgP5-0008Mi-4p for 6990-done@debbugs.gnu.org; Mon, 06 Sep 2010 14:26:51 -0400 Received: (qmail 98615 invoked from network); 6 Sep 2010 18:28:44 -0000 Received: from unknown (HELO ?192.168.2.25?) (84.203.137.218) by mail1.slb.deg.dub.stisp.net with SMTP; 6 Sep 2010 18:28:44 -0000 Message-ID: <4C8532A9.6050908@draigBrady.com> Date: Mon, 06 Sep 2010 19:27:53 +0100 From: =?ISO-8859-1?Q?P=E1draig_Brady?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: Todd E Thomas Subject: Re: bug#6990: RFE: more dynamic df output format References: <4C850619.9050208@ssiresults.com> In-Reply-To: <4C850619.9050208@ssiresults.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -1.5 (-) X-Debbugs-Envelope-To: 6990-done Cc: 6990-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) tags 6990 + notabug On 06/09/10 16:17, Todd E Thomas wrote: > Hey all, > > This is not a bug as much as a request to make the df output more > flexible/dynamic and readable. > > vault://share/linux 960301960 315005712 645296248 33% /mnt/linux > vault://share/fileshare > 960301960 315005712 645296248 33% /mnt/fileshare > /dev/mapper/vg_power-lv_root > 51606140 8271456 40713244 17% / df -P does what you want I think. We're also working on better aligning the columns given variable heading and content widths. cheers, Pádraig. From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 01 12:08:09 2010 Received: (at 6990-done) by debbugs.gnu.org; 1 Oct 2010 16:08:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1i9Y-000895-JF for submit@debbugs.gnu.org; Fri, 01 Oct 2010 12:08:09 -0400 Received: from imta-38.everyone.net ([216.200.145.38]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1i7z-000887-N8 for 6990-done@debbugs.gnu.org; Fri, 01 Oct 2010 12:06:32 -0400 Received: from pps.filterd (omta001 [127.0.0.1]) by imta-38.everyone.net (8.14.3/8.14.3) with SMTP id o91G7BvX002342; Fri, 1 Oct 2010 09:09:29 -0700 Received: from dm0206.mta.everyone.net (sj1-slb03-gw2.sj2.proofpoint.com [172.16.1.96]) by imta-38.everyone.net with ESMTP id rnjq60505-1; Fri, 01 Oct 2010 09:09:29 -0700 X-Eon-Dm: dm0206 Received: by dm0206.mta.everyone.net (EON-AUTHRELAY2 - 422bdc95) id dm0206.4c97c4c8.2310043; Fri, 1 Oct 2010 09:09:28 -0700 X-Eon-Sig: AQL55w1Mpge4WyGQOgIAAAAC,1eda9ff87901d8a2269327d1ea9d0634 Message-ID: <4CA607B7.6070307@ssiresults.com> Date: Fri, 01 Oct 2010 11:09:27 -0500 From: Todd E Thomas User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100907 Fedora/3.1.3-1.fc13 Thunderbird/3.1.3 MIME-Version: 1.0 To: =?ISO-8859-1?Q?P=E1draig_Brady?= Subject: Re: bug#6990: RFE: more dynamic df output format References: <4C850619.9050208@ssiresults.com> <4C8532A9.6050908@draigBrady.com> In-Reply-To: <4C8532A9.6050908@draigBrady.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1004200000 definitions=main-1010010132 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by imta-38.everyone.net id o91G7BvX002342 X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 6990-done X-Mailman-Approved-At: Fri, 01 Oct 2010 12:08:06 -0400 Cc: 6990-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.1 (---) Close, but still kinda ugly... # df -hP Filesystem Size Used Avail Use% Mounted on /dev/mapper/sysvg-root 49G 16G 31G 34% / /dev/mapper/sysvg-data 348G 11G 319G 4% /export /dev/mapper/sysvg-backup 49G 6.0G 40G 14% /backup /dev/mapper/sysvg-var 4.9G 767M 3.9G 17% /var /dev/sda1 122M 19M 97M 17% /boot tmpfs 7.9G 0 7.9G 0% /dev/shm # df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/sysvg-root 49G 16G 31G 34% / /dev/mapper/sysvg-data 348G 11G 319G 4% /export /dev/mapper/sysvg-backup 49G 6.0G 40G 14% /backup /dev/mapper/sysvg-var 4.9G 767M 3.9G 17% /var /dev/sda1 122M 19M 97M 17% /boot tmpfs 7.9G 0 7.9G 0% /dev/shm Looking for something a little cleaner, like this: # df Filesystem Size Used Avail Use% Mounted on /dev/mapper/sysvg-root 49G 16G 31G 34% / /dev/mapper/sysvg-data 348G 11G 319G 4% /export /dev/mapper/sysvg-backup 49G 6.0G 40G 14% /backup /dev/mapper/sysvg-var 4.9G 767M 3.9G 17% /var /dev/sda1 122M 19M 97M 17% /boot tmpfs 7.9G 0 7.9G 0% /dev/shm On 09/06/2010 01:27 PM, P=E1draig Brady wrote: > tags 6990 + notabug > > On 06/09/10 16:17, Todd E Thomas wrote: >> Hey all, >> >> This is not a bug as much as a request to make the df output more >> flexible/dynamic and readable. >> >> vault://share/linux 960301960 315005712 645296248 33% /mnt/linux >> vault://share/fileshare >> 960301960 315005712 645296248 33% /mnt/fileshar= e >> /dev/mapper/vg_power-lv_root >> 51606140 8271456 40713244 17% / > df -P does what you want I think. > We're also working on better aligning the columns given > variable heading and content widths. > > cheers, > P=E1draig. From unknown Fri Jun 20 07:12:58 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 30 Oct 2010 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator