On Wed, 3 Nov 1999, John K. Edwards wrote:
I don't have a handy pointer, and it's too early for me to think clearly enough to find one. Did they go from 2KB to 4KB?
That was my initial guess, but:
a) It would have been true with respect to all the files, not just directories, and the size of the file is as reported by "ls" is unrelated to the actual size of the file, i.e. sparse files will show much larger than they are in reality.
b) The size of the directory would be rounded up to 4k and not double. Besides ls does not round up to block boundaries, i.e. if you have a 3 byte file it will report 3 bytes.
This is what I am seeing:
Auspex:
dr-xr-xr-x 2 user group 59392 Oct 29 07:01 dir1
NetApp:
dr-xr-xr-x 2 user group 118784 Oct 29 09:49 dir1
How much space do directories actually occupy? How do I find that out? (Please do not suggest "du" unless you thought it through.)
Why do I see the apparent doubling in size?
Does the difference in apparent size affect the quota? (With sparse files the "ls size" doesn't matter.)
Tom