From owner-cvs-src@FreeBSD.ORG Tue Feb 26 11:53:01 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3858510658BE; Tue, 26 Feb 2008 11:52:59 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail11.syd.optusnet.com.au (mail11.syd.optusnet.com.au [211.29.132.192]) by mx1.freebsd.org (Postfix) with ESMTP id EB45413F290; Tue, 26 Feb 2008 09:49:34 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c220-239-20-82.belrs4.nsw.optusnet.com.au [220.239.20.82]) by mail11.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m1Q9nVZt009413 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 26 Feb 2008 20:49:32 +1100 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.2/8.14.1) with ESMTP id m1Q9nVtm084898; Tue, 26 Feb 2008 20:49:31 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id m1Q9nVaw084897; Tue, 26 Feb 2008 20:49:31 +1100 (EST) (envelope-from peter) Date: Tue, 26 Feb 2008 20:49:31 +1100 From: Peter Jeremy To: Giorgos Keramidas Message-ID: <20080226094931.GT83599@server.vk2pj.dyndns.org> References: <200802251906.m1PJ6hwB005451@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="raC6veAxrt5nqIoY" Content-Disposition: inline In-Reply-To: <200802251906.m1PJ6hwB005451@repoman.freebsd.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.17 (2007-11-01) Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/usr.bin/du du.1 du.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2008 11:53:05 -0000 --raC6veAxrt5nqIoY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. --=20 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. --raC6veAxrt5nqIoY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHw+Cr/opHv/APuIcRAoYbAKCulh+Zh1CS6Wg6EIUGgoUSNf/hyACfQ7rh YsyC4ekwspRWG5/4E2nRsVg= =dlTl -----END PGP SIGNATURE----- --raC6veAxrt5nqIoY--