Data cd title in bash
Hi,
A simple question: How can I retreive the data cd title in bash? Thanks, Indy |
Code:
volname Code:
dd if=/dev/cdrom bs=1 skip=32808 count=32 2>/dev/null |
* please ignore / delete *
(did not read thread very well, sry) |
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? where did you find this info? i've been googling for a few minutes and can't seem to find anything
|
i'm just personally curious
|
Quote:
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! |
All times are GMT -5. The time now is 07:00 PM. |