<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/bin/df, branch release/2.2.8</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F2.2.8</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F2.2.8'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>1998-07-15T02:01:36Z</updated>
<entry>
<title>MFC: man page fixes, octal char support for ls, misc fixes to cp, etc.</title>
<updated>1998-07-15T02:01:36Z</updated>
<author>
<name>Jordan K. Hubbard</name>
<email>jkh@FreeBSD.org</email>
</author>
<published>1998-07-15T02:01:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5f3015c3bd297676a8e1edb955a37c032904ce5e'/>
<id>urn:sha1:5f3015c3bd297676a8e1edb955a37c032904ce5e</id>
<content type='text'>
Sorry Bruce, that's the best description you're going to get considering
the number of merges I still have to make. :)
</content>
</entry>
<entry>
<title>MFC: cosmetic.  Some VFS hacker will have to investigate an actual</title>
<updated>1998-02-15T11:06:23Z</updated>
<author>
<name>Jordan K. Hubbard</name>
<email>jkh@FreeBSD.org</email>
</author>
<published>1998-02-15T11:06:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1442749f62c64d3c9a71d1b78a10d646337463ba'/>
<id>urn:sha1:1442749f62c64d3c9a71d1b78a10d646337463ba</id>
<content type='text'>
real MFC for this code - it doesn't look like something to be undertaken
lightly.
</content>
</entry>
<entry>
<title>MFC: EOF -&gt; -1 in comparison of return value from getopt</title>
<updated>1997-12-03T05:40:08Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>1997-12-03T05:40:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=46ab13df54656ed876c2a307d6b16ee95da4558e'/>
<id>urn:sha1:46ab13df54656ed876c2a307d6b16ee95da4558e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>environmental -&gt; environment</title>
<updated>1997-09-19T06:18:21Z</updated>
<author>
<name>Philippe Charnier</name>
<email>charnier@FreeBSD.org</email>
</author>
<published>1997-09-19T06:18:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3dfc68bf7c0595021b05be2b8565022f21debc3e'/>
<id>urn:sha1:3dfc68bf7c0595021b05be2b8565022f21debc3e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>YAMFC</title>
<updated>1996-12-13T17:15:11Z</updated>
<author>
<name>Joerg Wunsch</name>
<email>joerg@FreeBSD.org</email>
</author>
<published>1996-12-13T17:15:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e1ced5ee97d0fa4f9b84ede80e415387a105a100'/>
<id>urn:sha1:e1ced5ee97d0fa4f9b84ede80e415387a105a100</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[HISTORY] command appeared in Version 1 AT&amp;T UNIX</title>
<updated>1996-08-29T18:06:19Z</updated>
<author>
<name>Wolfram Schneider</name>
<email>wosch@FreeBSD.org</email>
</author>
<published>1996-08-29T18:06:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b8923d4cc02d00f2b5f3a265b1a9718e3d28dd46'/>
<id>urn:sha1:b8923d4cc02d00f2b5f3a265b1a9718e3d28dd46</id>
<content type='text'>
Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
</content>
</entry>
<entry>
<title>Partially fixed negative and truncated "Avail" counts in df output.</title>
<updated>1996-01-14T18:55:09Z</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>1996-01-14T18:55:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=51ea8b57b8ebcda1ec47bb86567ff0661ddfca7b'/>
<id>urn:sha1:51ea8b57b8ebcda1ec47bb86567ff0661ddfca7b</id>
<content type='text'>
This fixes PR943.

ffs/ffs_vfsops.c:
ffs_statfs() multiplied by (100 - minfree) as part of calculating the
minfree percentage (complemented in 100%), so with the standard minfree
of 8, it was broken for file systems of size &gt;= 1TB/92 = 11GB.  Use the
standard freespace() macro instead.  This also fixes a rounding bug (the
"Avail" count was sometimes 1 too small).

ffs/* (not fixed):
The freespace() macro multiplies by minfree, so with the standard
minfree of 8, it is broken for file systems of size &gt;= 1TB/8 = 128GB.
This bug is more serious since it affects block allocation.

ffs/ffs_alloc.c (not fixed):
Ordinary users are sometimes allowed to allocate 1 (partial) block
too many so that the "Avail" count goes negative.  E.g., if there is
1 fragment available and the file is fairly large, one more full
block is allocated.

df/df.c:
ufs_df() used/uses essentially the same code as ffs_statfs(), so it
had/has the same bugs.

ufs_df() gratuitously replaced "Avail" counts of &lt; 0 by 0, so it
gave different results for non-mounted file systems in this case.
</content>
</entry>
<entry>
<title>Remove trailing whitespace.</title>
<updated>1995-05-30T00:07:29Z</updated>
<author>
<name>Rodney W. Grimes</name>
<email>rgrimes@FreeBSD.org</email>
</author>
<published>1995-05-30T00:07:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2162b2d2265b5a190e84216b529977d83162f9cc'/>
<id>urn:sha1:2162b2d2265b5a190e84216b529977d83162f9cc</id>
<content type='text'>
Reviewed by:	phk
</content>
</entry>
<entry>
<title>You will find enclosed some changes to make gcc -Wall more happy in</title>
<updated>1995-03-19T13:29:28Z</updated>
<author>
<name>Joerg Wunsch</name>
<email>joerg@FreeBSD.org</email>
</author>
<published>1995-03-19T13:29:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0fd510b71aa44308681d2e01c9d772f32af24313'/>
<id>urn:sha1:0fd510b71aa44308681d2e01c9d772f32af24313</id>
<content type='text'>
/usr/src/bin. Note that some patches are still needed in that directory.

I (Joerg) finished most of Philippe's cleanup.  /bin/sh will still
need *allot* of work, however.

Submitted by:	charnier@lirmm.fr (Philippe Charnier)
</content>
</entry>
<entry>
<title>Added $Id$</title>
<updated>1994-09-24T02:59:15Z</updated>
<author>
<name>David Greenman</name>
<email>dg@FreeBSD.org</email>
</author>
<published>1994-09-24T02:59:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=89730b290a5b2a1506fc7b4a1e604d01e16395ad'/>
<id>urn:sha1:89730b290a5b2a1506fc7b4a1e604d01e16395ad</id>
<content type='text'>
</content>
</entry>
</feed>
