Commit Graph

13 Commits

Author SHA1 Message Date
Hiltjo Posthuma
7e394bd70f code-style: cleanup
- move main() at the bottom.
- put global variables at the top.
- improve usage() lines (consistent with man page).
2015-02-06 15:16:24 +00:00
Risto Salminen
ab4f93cf47 Fix df hanging when statvfs() fails.
Now df prints out an appropriate error message when statvfs() fails
instead of just hanging. Also make df return 1 when statvfs() fails.
2015-01-26 19:26:22 +00:00
sin
cea440bd2d df -hk should disable -h and df -kh should disable -k 2014-10-18 18:22:55 +01:00
Jeffrey Picard
dc3a9d9e2a Implement df -hk 2014-10-18 18:17:40 +01:00
sin
6f7f387352 Stop using EXIT_{SUCCESS,FAILURE} 2014-10-02 23:47:39 +01:00
sin
86060b535c Fix includes across all tools 2014-06-30 19:04:47 +01:00
sin
ee88227c33 Don't list dummy rootfs by default 2014-03-18 14:20:58 +00:00
sin
005e90a7ff Use mntent in df(1)
I am slowly going to remove grabmntinfo and friends.
2014-02-15 18:27:39 +00:00
sin
5b0d03acc6 Free minfo table 2014-01-25 22:34:30 +00:00
s-p-k
e340e1373e exit with EXIT_SUCCESS/EXIT_FAILURE 2013-10-07 19:15:00 +01:00
sin
c4315c880a df(1) supports -a 2013-09-01 17:53:21 +01:00
sin
97cbad7eef Remove OpenBSD support
This is becoming a nightmare.  Just support Linux.
2013-08-14 14:40:47 +01:00
sin
987ec1ef09 Initial commit of ubase - the ugly/unportable base 2013-08-06 13:17:14 +01:00