Skip site navigation (1)Skip section navigation (2)
Date:      16 Mar 2004 16:15:35 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        "Henning, Brian" <B.Henning@navitaire.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: du
Message-ID:  <44llm0xzm0.fsf@be-well.ilk.org>
In-Reply-To: <B33A37369985DC47BAAF41511EC48078DF12E8@navmmex112.corp.nt.navitaire.com>
References:  <B33A37369985DC47BAAF41511EC48078DF12E8@navmmex112.corp.nt.navitaire.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Please don't top-post.

"Henning, Brian" <B.Henning@navitaire.com> writes:

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

How did you measure it on Windows?  I suspect what's happening is that
Windows gave you the actual sum of the sizes of all the files, whereas
du(1) counts the space *used* by all the files.  In other words, the
Windows tool is giving a count in bytes, whereas du(1) is giving a
count in disk blocks (rounded up to the nearest block, because that
space is unavailable for other files to use).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44llm0xzm0.fsf>