Hopefully it is of some use:
Somewhere behind the first 32 k on the CD, a block with information about the CD is located. You can extract the information with the following
shell script:
Code: Select all
#! /bin/bash
RD=/dev/cdrom
for i in 32768,7 32776,32 32808,32 32958,128 33086,128 33214,128 \
33342,128 33470,32 33581,16 33598,16 33615,16 33632,16
do
old_IFS="$IFS"
IFS=","
set -- $i
IFS="$old_IFS"
OFFSET=$1
LENGTH=$2
echo "*`dd if=$RD bs=1 skip=$OFFSET count=$LENGTH 2> /dev/null`#"
done
Found on webpage:
http://wt.xpilot.org/publications/linux ... tml#ss4.18