Re: Any advantages of Unix formatting
Re: Any advantages of Unix formatting
- Subject: Re: Any advantages of Unix formatting
- From: Kurt Revis <email@hidden>
- Date: Tue, 4 Sep 2001 17:42:08 -0700
On a tangent, I've noticed that ls reports sizes in bytes,
but Finder reports sizes in multiples of 4k.
A file containing 'a' is reported as 1 byte in ls, but
4k by Finder. It doesn't have a resource fork, though.
I wonder which is more accurate.
It depends on what you mean by "file size". ls gives you the logical
size of the file, and the Finder gives you the physical size. The
allocation block size on your drive is (most likely) 4 KB, and your
1-byte file takes up 1 block.
So they're both equally accurate, just using different definitions.
--
Kurt Revis
email@hidden