Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!ames!dftsrv!jagmac2.gsfc.nasa.gov!jim From: jim@jagmac2.gsfc.nasa.gov (Jim Jagielski) Newsgroups: comp.unix.aux Subject: behavior of "df" under root and regular user Message-ID: <3022@dftsrv.gsfc.nasa.gov> Date: 6 Aug 90 17:36:23 GMT Sender: news@dftsrv.gsfc.nasa.gov Reply-To: jim@jagmac2.gsfc.nasa.gov (Jim Jagielski) Distribution: na Organization: NASA Goddard Space Flight Center Lines: 18 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 =:^) Jim Jagielski NASA/GSFC, Code 711.1 jim@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."