in reply to Module for file size arithmetic
It's probably a sledge hammer to crack a nut, but take a look at Data::Dimensions, which could probably also handle sizes in sectors, tracks and the like, given the parameters for the disk geometry.
In Section
Seekers of Perl Wisdom