freebsd-nq/bin
Christian S.J. Peron 239c9e601a Currently if a mount point is not accessible by the calling user,
invalid information will be printed if the -t flag is specified.

$ df -t ufs
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/ad0s1a    495726   139944   316124    31%    /
/dev/ad0s1e    253678     6438   226946     3%    /tmp
/dev/ad0s1f  56206340 13594248 38115586    26%    /usr
/dev/ad0s1d    694126    19812   618784     3%    /var
/dev/ad0s1d    694126    19812   618784     3%    /var
$

Note that the mount point which is not accessible shows
up as the previous file system that was printed. The reason
for this is that df -t will call statfs(2) on the pathname
supplied by getfsstat(2).

This is done to refresh the file system statistics in the
event that a previous file system had a long delay in
providing its stats.

This change affects the df utility in the following ways:
o Teach df has to deal with statfs(2) failing. If statfs(2)
  fails, fall back on the possibly stale stats provided by
  the initial call to getfsstat(2).
o Print a warning that the fs stats could possibly be stale
o Modify the man page and document this new behavior
  as a bug.

Approved by:	bmilekic (mentor)
PR:		68165
2004-07-20 18:24:47 +00:00
..
cat Use warn() instead of perror(). 2004-07-20 05:52:00 +00:00
chflags
chio Mechanically kill hard sentence breaks. 2004-07-02 21:04:19 +00:00
chmod
cp Mechanically kill hard sentence breaks. 2004-07-02 21:04:19 +00:00
csh KANJI and DSPMBYTE are now "on" by default in the tcsh 6.13.00 distribution. 2004-07-11 02:23:38 +00:00
date Give the most awesome example of how to parse the output of date 2004-07-17 00:26:31 +00:00
dd
df Currently if a mount point is not accessible by the calling user, 2004-07-20 18:24:47 +00:00
domainname Mechanically kill hard sentence breaks. 2004-07-02 21:04:19 +00:00
echo Mechanically kill hard sentence breaks. 2004-07-02 21:04:19 +00:00
ed Document missing multibyte character handling in utilities specified 2004-07-03 02:03:44 +00:00
expr Remove BUGS section that talked about missing multibyte character support. 2004-07-12 10:46:55 +00:00
getfacl
hostname Mechanically kill hard sentence breaks. 2004-07-02 21:04:19 +00:00
kenv
kill Deal with double whitespace. 2004-07-03 00:06:28 +00:00
ln Deal with double whitespace. 2004-07-03 00:06:28 +00:00
ls Mechanically kill hard sentence breaks. 2004-07-02 21:04:19 +00:00
mkdir Deal with double whitespace. 2004-07-03 00:06:28 +00:00
mv
pax Document missing multibyte character handling in utilities specified 2004-07-03 02:03:44 +00:00
ps Use warn() instead of perror(). 2004-07-20 05:52:00 +00:00
pwd Deal with double whitespace. 2004-07-03 00:06:28 +00:00
rcp Deal with double whitespace. 2004-07-03 00:06:28 +00:00
realpath
rm Mechanically kill hard sentence breaks. 2004-07-02 21:04:19 +00:00
rmail
rmdir
setfacl Mechanically kill hard sentence breaks. 2004-07-02 21:04:19 +00:00
sh Document missing multibyte character handling in utilities specified 2004-07-03 02:03:44 +00:00
sleep
stty Deal with double whitespace. 2004-07-03 00:06:28 +00:00
sync
test Clarify: test compares strings by binary value, not "ASCII value". 2004-07-03 01:49:17 +00:00
uuidgen
Makefile
Makefile.inc