On 2015-05-19 14:25, Alex Greif wrote:
Hi,
I experienced a strange output of df(1) for the root partition.
The Size is greater than Used but Avail and Capacity are miscalculated
/root/snaps # df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/sd0a 494M 488M -18.4M 104% /
/dev/sd0k 27.6G 4.7G 21.5G 18% /home
/dev/sd0d 492M 86.0K 467M 0% /tmp
/dev/sd0f 2.0G 367M 1.5G 19% /usr
/dev/sd0g 1001M 200M 751M 21% /usr/X11R6
/dev/sd0h 2.0G 215M 1.7G 11% /usr/local
/dev/sd0j 1001M 2.0K 951M 0% /usr/obj
/dev/sd0i 1001M 2.0K 951M 0% /usr/src
/dev/sd0e 2.9G 9.9M 2.8G 0% /var
I believe FAQ 14.14 may clarify df(1) reporting. Here's a link for
convenience: http://www.openbsd.org/faq/faq14.html#NegSpace