Quote:
Originally Posted by sk8guitar
colucix, are you saying that the cd title information is 32 bytes long located at an offset of 32808 blocks (in 512 chucks) from the start?
|
Not really. The offset is 32808 bytes (see bs=1 in the dd command above). The structure of a ISO9660 CDROM is divided in blocks of 2048 bytes. The first sixteen blocks are the System Area and does not conform to any standard. Then follows a Primary Volume Descriptor, whose structure tell us that at bytes from 41 to 72 the volume identifier (that is the CD title) is written. So 2048*16 + 40 = 32808 is the offset to read the volume identifier.
Such informations are contained in the official standard
"Volume and file structure of CDROM for Information Interchange". The structure of the Primary Volume Descriptor is specified in paragraph 8.4 at page 17 (see table).
More simply the dd command above is taken from the Linux CDROM Howto. Forgive me, I did not mention!