On Tue, 19 May 2015, Theo de Raadt wrote: > > I experienced a strange output of df(1) for the root partition. > > The Size is greater than Used but Avail and Capacity are miscalculated > > That is an incorrect assessment. > > There is spare space in the filesystem, only available for root, and > this is how it is handled. >
Yes, df is functioning correctly. It looks like you have 5% of the space on your / partition reserved for the root user. You have less than 5% of the space on / available. When you have less than the reserved amount of space available on a partition df will show greater than 100% capacity used and a negative amount of space available. It's sort of a warning. If any process that is not owned by root tries to write something to your / partition, it will fail. You can see the percentage of reserved space on your / partition with: tunefs -N / You can also see a description of this feature in the notes for the -m option in the tunefs(8) man page. -- John Merriam