]> git.ipfire.org Git - thirdparty/util-linux.git/commit
findmnt: use st.st_bavail for available column
authorDave Reisner <dreisner@archlinux.org>
Mon, 20 Aug 2012 10:06:17 +0000 (06:06 -0400)
committerKarel Zak <kzak@redhat.com>
Tue, 4 Sep 2012 10:43:28 +0000 (12:43 +0200)
commited6c8c1b61bf87e0fa6d78da405a052a0e46cb10
tree14a2a4f18e1d870d835a135d9e96c17717597789
parent22b49b33df20f049133507d292bd33feb04fb71a
findmnt: use st.st_bavail for available column

This matches more closely with what 'df -h' reports as space available.
Any remaining discrepancy between these 2 tools is a result of precision
and choices in rounding.

Signed-off-by: Dave Reisner <dreisner@archlinux.org>
misc-utils/findmnt.c