I wonder to develope a method to check if some block has the index files of my driver, so I could open a driver with many files only with few blocks, and fill the other blocks demand.
This sounds like logic that will be highly specific to the file system on which the application is run (indeed, it almost sounds like a feature/optimization that certain file systems may or may not already have?). I could imagine that some tools or projects may be interested, but I think a Java-based library like jclouds will want to steer clear of OS dependencies such as this.
Perhaps a different question: could you explain the problem/challenge that you are trying to address with the block movement you are describing here?
ap