voff_t would have to be big, could be unsigned long long, for example, or
a BIGNUM. The index into the virtual file array would be voff_t value %
filesize (all "file segments" are one convenient size), and the offset
into the "file segment" would be the remainder, (value - ((value %
filesize) * filesize))).
Looks pretty straightforward to me, until 64bit types are standard for
libc offsets and sizes.
Regards, Clayton Weaver cgweav@eskimo.com (Seattle)