From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 11:31:28 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C13F716A4CE for ; Tue, 16 Mar 2004 11:31:28 -0800 (PST) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BEC143D1F for ; Tue, 16 Mar 2004 11:31:27 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i2GJVL1b000327 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 16 Mar 2004 19:31:21 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i2GJVL2X000324; Tue, 16 Mar 2004 19:31:21 GMT (envelope-from matthew) Date: Tue, 16 Mar 2004 19:31:21 +0000 From: Matthew Seaman To: "Henning, Brian" Message-ID: <20040316193120.GB82308@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , "Henning, Brian" , Chris , freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VrqPEDrXMn8OVzN4" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk X-Virus-Scanned: clamd / ClamAV version devel-20040304, clamav-milter version 0.67j cc: freebsd-questions@freebsd.org Subject: Re: du X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2004 19:31:28 -0000 --VrqPEDrXMn8OVzN4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [ du(1) accuracy ] On Tue, Mar 16, 2004 at 12:17:12PM -0600, Henning, Brian wrote: > The only reason why I question it is when I lookup the size in windows > (the directory is shared with samba) I see it as less. > >From bsd: 390 /home/henninb/jpg > >From windows: 372KB windows >=20 > Is it because of the share or the change in platform? Hmmm.. that's only a 5% difference: unlikely to be due to differences in blocksize. I'd guess that both OSes will manage the trivial task of adding up the size of all the files under that directory without making silly errors. I guess there's something which either isn't included in the share as produced by Samba, or that Windows assumes it can ignore, validly on a native Windows filesystem but not on a Samba share. On the whole though I wouldn't worry about it too much -- it's "good enough for Government work". Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --VrqPEDrXMn8OVzN4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAV1YIdtESqEQa7a0RAm+LAJ9C5I8Cpgdqk9wG9mD97QNjdlZIQACePbrV f1YsXpgq9Ib5BSkWVPoHGzU= =ZGr5 -----END PGP SIGNATURE----- --VrqPEDrXMn8OVzN4--