HI, Everybody
Wishing u all a very Happy Holi.( An Indian
festival played
with colours)
Well in the MDB structure for an HFS volume
the
field
vol.drXTClpSiz /* clump size for extents
overflow file */
is 4 bytes long.
Again in the Catalog Data Record structure
the member
filClpSize; /* file clump size
*/
takes 2 bytes.
Therefore when i assign the value of the
first variable to
the second I lose information.
But then one way is to make the MDB's
variable contain
a value only for 2 bytes then assignment
won't make
a data loss. But the value for the MDB's
variable was
calculated as 1/128 th part of the Total
volume size.
An emphirical formula used in the hfsutils
package.
Any comments on this???
Please is there any simple formula to find
out the
extent file size and the catalog file size
for a volume
when we know before hand how many files have
to be
in that volume.
For eg. if i know i have to write "X"
files contained in
"Y" number of directories.
Then can i calculate what should be
the volume's
clump size for the extents overflow
file and the catalog
file.
Waiting for ur explanations.
Bye
Biswaroop
Each Day gives us an Opprutunity to
Ruin it,
those who Fail, Succeed in
Life.
-- Bisban