freebsd-skq/bin
csjp db0285e2e3 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 Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
chio Mechanically kill hard sentence breaks. 2004-07-02 21:04:19 +00:00
chmod Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
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 Bump document date for the latest functional change. 2004-05-16 21:34:15 +00:00
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 Fixed spelling of the document date. 2004-05-16 21:34:31 +00:00
hostname Mechanically kill hard sentence breaks. 2004-07-02 21:04:19 +00:00
kenv Various quibbles: 2004-04-28 01:27:36 +00:00
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 Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
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 Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
rm Mechanically kill hard sentence breaks. 2004-07-02 21:04:19 +00:00
rmail Remove WFORMAT, style.Makefile(5). 2004-03-22 03:17:36 +00:00
rmdir Added -v to usage(). 2004-05-16 20:41:11 +00:00
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 Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
stty Deal with double whitespace. 2004-07-03 00:06:28 +00:00
sync Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
test Clarify: test compares strings by binary value, not "ASCII value". 2004-07-03 01:49:17 +00:00
uuidgen The uuidgen(1) program is WARNS=6 clean, so flag it as such. 2003-12-07 21:34:56 +00:00
Makefile - Build things in pure dictionary order (see sort(1)). 2004-01-16 15:23:19 +00:00
Makefile.inc Force a staticly linked /bin and /sbin for ia64. The necessary changes 2003-11-19 16:59:00 +00:00