behavior of "df" under root and regular user

Jim Jagielski jim at jagmac2.gsfc.nasa.gov
Tue Aug 7 03:36:23 AEST 1990


I noticed some strange behavior with "df" depending on whether it is run
by root or a regular user.

When run by root, df prints out the WRONG amount of free blocks... when run
by a regular-dude, then the free block count os correct. When root runs, df
adds back in the 10% that is used by the BSD file-system. This gives erroneous
information, since (as far as I know) this space is NOT available for file
storage...

--
=======================================================================
#include <std/disclaimer.h>
                                 =:^)
           Jim Jagielski                    NASA/GSFC, Code 711.1
     jim at jagmac2.gsfc.nasa.gov               Greenbelt, MD 20771

"Kilimanjaro is a pretty tricky climb. Most of it's up, until you reach
 the very, very top, and then it tends to slope away rather sharply."



More information about the Comp.unix.aux mailing list