Denis Beauchemin writes:
> This happens all the time because when directories are created in the
> copy process their size is optimal to hold the files present there.
>
> Old directories hold many deleted entries but the space isn't reclaimed
> until a new file has to be created there.  Thus they are larger.

There's also a difference between how ext2 and reiserfs allocate
space for the underlying files/directories. ext2 uses a fairly
traditional "block" allocation. Reiserfs is very different
(balanced trees for directory lookup instead of traditional
"name -> inode" list; packs tails of files together into blocks).
It's not surprising that the same files take up a different amount
of raw space on the disk. There may be a contribution to the
difference from the non-shrinking directory structures that ext2
uses but most of it will be from the difference in underlying
filesystem layout.

--Malcolm

--
Malcolm Beattie <[EMAIL PROTECTED]>
Linux Technical Consultant
IBM EMEA Enterprise Server Group...
...from home, speaking only for myself

Reply via email to