freebsd-nq/bin
Christian S.J. Peron df464e4361 Based on The Open Group Base Specifications Issue 6 IEEE Std 1003.1, our
current implementation of df(1) is does not properly format the output under
certain conditions. Right now -kP and -Pk are not the same thing. Further,
when we set the BLOCKSIZE environment variable, we use "1k" instead of "1024",
making the header display incorrectly.

To quote the specification:

"When both the -k and -P options are specified, the following header line
 shall be written (in the POSIX locale):

"Filesystem 1024-blocks Used Available Capacity Mounted on\n"

- If -P has been specified, check to make sure that -k has not already been
  specified, if so, simply break instead of clobbering the previous blocksize
- Use 1024 instead of 1k to make the header POSIX compliant

Reported by:	Andriy Gapon
Discussed with:	bde, ru
MFC after:	1 week
2006-09-20 20:55:02 +00:00
..
cat Add the new standard EXIT STATUS section where appropriate. 2005-01-16 16:41:59 +00:00
chflags Use .Cm for all key words, not just the ones I added. More in line with 2006-03-10 12:37:19 +00:00
chio Don't specify SRCS= when it can be obtained from PROGS= 2005-01-27 13:25:09 +00:00
chmod Expand contractions. 2005-02-13 23:45:54 +00:00
cp - Fix options order. 2006-08-25 09:58:13 +00:00
csh Fix spelling. 2006-03-19 19:10:39 +00:00
date Use strlcpy in place of strncpy + setting the last character NUL. To 2006-08-20 06:31:24 +00:00
dd More inactive maintainers. 2006-07-09 21:47:37 +00:00
df Based on The Open Group Base Specifications Issue 6 IEEE Std 1003.1, our 2006-09-20 20:55:02 +00:00
domainname /*- or .\"- or #- to begin license clauses. 2005-01-10 08:39:26 +00:00
echo Add the new standard EXIT STATUS section where appropriate. 2005-01-16 16:41:59 +00:00
ed while(0); -> while (0) in multiline macro 2006-08-17 23:00:33 +00:00
expr Add the new standard EXIT STATUS section where appropriate. 2005-01-16 16:41:59 +00:00
getfacl Markup fixes. 2006-09-17 17:40:07 +00:00
hostname There is no /etc/rc.network anymore. 2005-04-17 23:22:22 +00:00
kenv -mdoc sweep. 2005-11-17 12:15:23 +00:00
kill Add the new standard EXIT STATUS section where appropriate. 2005-01-16 16:41:59 +00:00
ln Add '-F' option which allows to delete existing empty directories, when 2006-02-14 11:08:05 +00:00
ls Markup fixes. 2006-09-17 17:40:07 +00:00
mkdir Sync program's usage() with manpage's SYNOPSIS. 2005-02-09 17:37:39 +00:00
mv Attempt to complete the userspace integration of POSIX.1e extended ACLs. 2005-09-05 04:36:08 +00:00
pax Markup fixes. 2006-09-17 17:40:07 +00:00
ps Markup fixes. 2006-09-17 17:40:07 +00:00
pwd Sync program's usage() with manpage's SYNOPSIS. 2005-02-09 17:37:39 +00:00
rcp Expand *n't contractions. 2005-02-13 22:25:33 +00:00
realpath Add the new standard EXIT STATUS section where appropriate. 2005-01-16 16:41:59 +00:00
rm o Be pedantic and do fts_close() when done. 2006-04-15 09:26:23 +00:00
rmail Remove kludges intended to support src trees with partial obj trees. 2005-06-10 06:12:53 +00:00
rmdir The new name for the DIAGNOSTICS section is EXIT STATUS. 2005-05-31 12:57:44 +00:00
setfacl Markup fixes. 2006-09-17 17:40:07 +00:00
sh Markup fixes. 2006-09-17 17:40:07 +00:00
sleep Fix a comment. 2005-08-07 09:11:38 +00:00
stty Fix: printed output flags (onocr) and (onlret) same as oxtabs 2005-05-26 06:57:57 +00:00
sync /*- or .\"- or #- to begin license clauses. 2005-01-10 08:39:26 +00:00
test Granting the amount of misunderstanding the last change received, 2006-07-31 09:25:20 +00:00
uuidgen Mention that uuidgen(1) generates DCE version 1 UUIDs only 2005-09-07 07:49:21 +00:00
Makefile Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
Makefile.inc Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00