Subject: bin/36817: df -g has changed
To: None <firstname.lastname@example.org, email@example.com>
From: None <firstname.lastname@example.org>
Date: 08/21/2007 19:15:00
>Synopsis: df -g has changed
>Arrival-Date: Tue Aug 21 19:15:00 +0000 2007
>Originator: Zafer Aydogan
This is a change request.
df -g has been showing values in gigabytes until the commit on June 24 2007.
Now df -g has been replaced to show a solaris like -g (all fields of the structures returned by statvfs(2)) and the original -g has become -G.
Please restore the original functionality of option -g showing values in gigabytes and move solaris like g to another letter, for example -G.
Isn't there a TNF commit rule to preserve existing options ?
enter df -g on a system before Jun 24 2007 and later to see the difference behaviour of -g
--- df.c.orig 2007-08-21 19:43:23.000000000 +0200
+++ df.c 2007-08-21 19:44:06.000000000 +0200
@@ -96,11 +96,11 @@
aflag = 1;
- case 'G':
+ case 'g':
hflag = 0;
usize = 1024 * 1024 * 1024;
- case 'g':
+ case 'G':
gflag = 1;