Menu

#2 "End of disc" calculation

open
nobody
None
5
2005-05-24
2005-05-24
No

I suggest that disktype should display where the "end"
of the disc is. This would be calculated as where the
last partition ends.

If you use the "isosize" command on a hybrid
ISO9660/HFS disc, the length reported by isosize is
much shorter than the "real" length of the disc,
because this doesn't take into account the HFS
partition (which is located after the ISO9660 partition).

As disktype scans through each partition, it could keep
track of where each partition ends, so that it could
display the "real" end of the disc. (This wouldn't be
too difficult as you already work out the start and
length of each partition.)

This would be useful (e.g.) when ISO images are copied
to a hard drive - running disktype would show the real
extent of the data, and this value could be compared to
the length of the image file to ensure all the data has
been copied.

Or, to put it another way - it would make disktype into
a more accurate (and verbose) version of isosize!

Discussion


Log in to post a comment.