From owner-freebsd-audit Fri Apr 20 10: 1:11 2001 Delivered-To: freebsd-audit@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id 86A0337B423 for ; Fri, 20 Apr 2001 10:01:07 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id f3KH12i22366; Fri, 20 Apr 2001 10:01:02 -0700 Date: Fri, 20 Apr 2001 10:01:02 -0700 From: Brooks Davis To: =?iso-8859-1?Q?Joachim_Str=F6mbergson?= Cc: FreeBSD-Audit Subject: Re: New du functionality by newbie - audit and comments? Message-ID: <20010420100102.C14059@Odin.AC.HMC.Edu> References: <3AE065DD.D8FEF0B@ludd.luth.se> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="E13BgyNx05feLLmH" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AE065DD.D8FEF0B@ludd.luth.se>; from watchman@ludd.luth.se on Fri, Apr 20, 2001 at 06:37:49PM +0200 Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --E13BgyNx05feLLmH Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 20, 2001 at 06:37:49PM +0200, Joachim Str=F6mbergson wrote: > I'm slowly trying to learn the skills needed to start contributing back > to the FreeBSD. And this I guess is my first real shot at it! .-) >=20 > I have for some time missed the ability in the default du to turn off > the interim output, and simply get a grand total at the end. Right or > wrong I decided to add this to the du myself. I have done preliminary > testing on the system, and AFAIK it works as intended. >=20 > Also, some preliminary benchmarks (measuring run times repeated runs on > fairly large parts of the file system) suggests that you do gain a bit > performane by using my silent option (very unsurprising, since I'm > turning off a lot of output) >=20 > The option added is called Silent mode and the flag currently choosen is > -S. How does this differ from -s? $ du -s 643223 . > A unified diff is included with this mail. Any comments, checks and or > suggestions would be appreciated. The diff appears to contain a number of no-op whitespace changes so didn't try it. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --E13BgyNx05feLLmH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE64GtNXY6L6fI4GtQRAo0VAKDHFHI4sVgFDHYMeWw8YxLlsrSvbQCeLnHJ ENbw4uIbUH2sVVuqlwt+/+k= =pDyu -----END PGP SIGNATURE----- --E13BgyNx05feLLmH-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message