cvs commit: src/usr.bin/du du.1 du.c
Peter Jeremy
peterjeremy at optushome.com.au
Tue Feb 26 11:53:05 UTC 2008
On Mon, Feb 25, 2008 at 07:06:43PM +0000, Giorgos Keramidas wrote:
> Implement from scratch a -l option for du(1), to match the same option
> of the GNU utility. The default behavior of our original `du' is to
> count hardlinked files only once for each invocation of the utility.
> With the new -l option they count towards the final size every time
> they are found.
The third possible option is to amortize the size of hardlinked files
across all their occurrences by adding size/nlinks each time they are
found. IMHO, this results in the least "surprises" in the result.
--
Peter Jeremy
Please excuse any delays as the result of my ISP's inability to implement
an MTA that is either RFC2821-compliant or matches their claimed behaviour.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080226/7faf3cbb/attachment.pgp
More information about the cvs-src
mailing list