du

Matthew Seaman m.seaman at infracaninophile.co.uk
Tue Mar 16 11:31:28 PST 2004


[ 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
> 
> 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


-- 
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
-------------- 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/freebsd-questions/attachments/20040316/0754265c/attachment.bin


More information about the freebsd-questions mailing list