summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJohn W. De Boskey <jwd@FreeBSD.org>2000-06-13 03:19:40 +0000
committerJohn W. De Boskey <jwd@FreeBSD.org>2000-06-13 03:19:40 +0000
commit3f3e15214225a3ab73e9ddd7923a89250975eba6 (patch)
tree479c67b04eb5d4de4ca06a171a4720c223bb3279 /bin
parent5577a0cd971c65d504d50aa730449fcb6ba41fe4 (diff)
Notes
Diffstat (limited to 'bin')
-rw-r--r--bin/df/df.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/df/df.c b/bin/df/df.c
index f75b468905e9..fc8cb344547b 100644
--- a/bin/df/df.c
+++ b/bin/df/df.c
@@ -122,7 +122,7 @@ main(argc, argv)
char *mntpt, *mntpath, **vfslist;
vfslist = NULL;
- while ((ch = getopt(argc, argv, "abHhikmnPt:")) != -1)
+ while ((ch = getopt(argc, argv, "abgHhikmnPt:")) != -1)
switch (ch) {
case 'a':
aflag = 1;
@@ -133,6 +133,10 @@ main(argc, argv)
putenv("BLOCKSIZE=512");
hflag = 0;
break;
+ case 'g':
+ putenv("BLOCKSIZE=1g");
+ hflag = 0;
+ break;
case 'H':
hflag = UNITS_SI;
valp = vals_si;