CDROM directory sector structure format?
I'd like to know how the "directory entries" of CDROM are stored.
I mean, like using the Norton Disk Editor to view a hard disk, you can see that the directory entries (non-LongFileName) of hard disk are 32 bytes in length which stores the file-name, file-size, file-date, file-time, file-first allocation cluster (in the File Allocation Table) and a few other info about each file.
However for CDROM, I don't know where to find information on this. The reason for this is that I burned several files onto a CD disk image (eg. Nero instead of burning to actual CDR, instead writes to an IMAGE.NRG CD-Image file). I'd like to sort the filenames manually (which Nero doesn't allow -- Nero always sorts alphabetically the filenames no matter what) in my own order. So I plan to hex-edit the directory entries of the CD-Image file before burning to CDR.
Now I'm a bit at a loss as to how long exactly is each filename/directory entry of a CDROM (it looks slightly like the directory structure of hard disk, but it's still quite different).
I think the answer may lie in the CD Yellow Book standard, but I what I just wanted to do is simply sort the filenames so they burn in that order in the CD (it's not alphabetical, nor by some other sort key, but just I like it the filenames to be in that order). Any help? (I can't and don't want to purchase the Yellow Book just to learn about the directory sector structure, is there a secondary source on the Internet about this... I can't seem to find it though)
Last edited by dta; Apr 25, 2002 at 09:17 AM.
|