[Ocfs2-devel] Calculating volume size from superblock

Villalovos, John L john.l.villalovos at intel.com
Mon Aug 2 12:56:03 CDT 2004


joel.becker at oracle.com wrote:
> 	As Sunil pointed out, you need to use the global bitmap to
> determine the number of clusters and multiply it by the clustersize.
> The libocfs2 library can help you get that information, or
> you can code
> up the bits to parse the information yourself.  Doing it
> yourself means
> learning how to navigate directories.

So it sounds like it isn't a simple thing to do?

How portable is the libocfs2 library?  Is it fairly self contained?

Wondering if I should copy the whole library over to EVMS.  They are GPL
and so is the ocfstools package so the licensing is no problem.

John


More information about the Ocfs2-devel mailing list