hi everybody,
In the MDB structure for a HFS volume has a
member.
drxtTClpSiz, this member stores the clump size for
the
extents overflow file.
In the linux code it is calculated as
follows
vol.mdb.drXTClpSiz = vol.mdb.drNmAlBlks / 128 *
vol.mdb.drAlBlkSiz;
where
vol.mdb.drXTClpSiz = Stores the Clump size for the
extents overflow file.
vol.mdb.drNmAlBlks = Stores the number of
Allocation blocks for the HFS volume
vol.mdb.drAlBlkSiz = Stores the number of bytes per
Allocation Block.
My doubt is why this formula is used to calculate
the Extent file's clump size.
Can i make it equal to just clump size calculated
for the Volume??
/*Info*/
1. A allocation block is integral times of a
Logical Block , which for HFS is 512 bytes.
2. Clump size is integral times of Allocation
Block size and it is the amount of space allocated when a file is
created to store the file contents.
Waiting for your explanations!
Bye
Biswaroop