Peter D.
2010-06-11 12:39:10 UTC
Something is seriously confusing about isoinfo.
Both /usr/bin/isoinfo and /opt/schily/bin/isoinfo give
the Volume size of a particular DVD as 353049, whereas
I calculate it as 353792.
Comparing the DVD to the iso over the longer size matches,
but fails for the shorter one. This makes verifying
DVDs "interesting".
I've added some extra <return>s to this cut'n'paste.
[***@live tv]$ ls -l
/mnt/hd/2010.1_rc2/downloads/isos/
mandriva-linux-one-2010-spring-rc2-GNOME-europe-americas-cdrom-i586.iso
-rw-r--r-- 1 psd psd 724,566,016 2010-05-31 10:09
/mnt/hd/2010.1_rc2/downloads/isos/
mandriva-linux-one-2010-spring-rc2-GNOME-europe-americas-cdrom-i586.iso
[***@live tv]$ echo $((724566016/2048))
353792
[***@live tv]$ /opt/schily/bin/isoinfo -d -i /dev/dvd1
Setting input-charset to 'UTF-8' from locale.
CD-ROM is in ISO 9660 format
System id: LINUX
Volume id: One-2010S-GNOME
Volume set id:
Publisher id:
Data preparer id:
Application id: GENISOIMAGE ISO 9660/HFS FILESYSTEM CREATOR
(C) 1993 E.YOUNGDALE
(C) 1997-2006 J.PEARSON/J.SCHILLING
(C) 2006-2007 CDRKIT TEAM
Copyright File id:
Abstract File id:
Bibliographic File id:
Volume set size is: 1
Volume set sequence number is: 1
Logical block size is: 2048
Volume size is: 353049
El Torito VD version 1 found, boot catalog is in sector 65
Joliet with UCS level 3 found.
SUSP signatures version 1 found
Rock Ridge signatures version 1 found
Rock Ridge id 'RRIP_1991A'
Eltorito validation header:
Hid 1
Arch 0 (x86)
ID ''
Cksum AA 55 OK
Key 55 AA
Eltorito defaultboot header:
Bootid 88 (bootable)
Boot media 0 (No Emulation Boot)
Load segment 0
Sys type 0
Nsect 4
Bootoff 2C1 705
[***@live tv]$ /usr/bin/isoinfo -d -i /dev/dvd1
CD-ROM is in ISO 9660 format
System id: LINUX
Volume id: One-2010S-GNOME
Volume set id:
Publisher id:
Data preparer id:
Application id: GENISOIMAGE ISO 9660/HFS FILESYSTEM CREATOR
(C) 1993 E.YOUNGDALE
(C) 1997-2006 J.PEARSON/J.SCHILLING
(C) 2006-2007 CDRKIT TEAM
Copyright File id:
Abstract File id:
Bibliographic File id:
Volume set size is: 1
Volume set sequence number is: 1
Logical block size is: 2048
Volume size is: 353049
El Torito VD version 1 found, boot catalog is in sector 65
Joliet with UCS level 3 found
Rock Ridge signatures version 1 found
Eltorito validation header:
Hid 1
Arch 0 (x86)
ID ''
Key 55 AA
Eltorito defaultboot header:
Bootid 88 (bootable)
Boot media 0 (No Emulation Boot)
Load segment 0
Sys type 0
Nsect 4
Bootoff 2C1 705
Both /usr/bin/isoinfo and /opt/schily/bin/isoinfo give
the Volume size of a particular DVD as 353049, whereas
I calculate it as 353792.
Comparing the DVD to the iso over the longer size matches,
but fails for the shorter one. This makes verifying
DVDs "interesting".
I've added some extra <return>s to this cut'n'paste.
[***@live tv]$ ls -l
/mnt/hd/2010.1_rc2/downloads/isos/
mandriva-linux-one-2010-spring-rc2-GNOME-europe-americas-cdrom-i586.iso
-rw-r--r-- 1 psd psd 724,566,016 2010-05-31 10:09
/mnt/hd/2010.1_rc2/downloads/isos/
mandriva-linux-one-2010-spring-rc2-GNOME-europe-americas-cdrom-i586.iso
[***@live tv]$ echo $((724566016/2048))
353792
[***@live tv]$ /opt/schily/bin/isoinfo -d -i /dev/dvd1
Setting input-charset to 'UTF-8' from locale.
CD-ROM is in ISO 9660 format
System id: LINUX
Volume id: One-2010S-GNOME
Volume set id:
Publisher id:
Data preparer id:
Application id: GENISOIMAGE ISO 9660/HFS FILESYSTEM CREATOR
(C) 1993 E.YOUNGDALE
(C) 1997-2006 J.PEARSON/J.SCHILLING
(C) 2006-2007 CDRKIT TEAM
Copyright File id:
Abstract File id:
Bibliographic File id:
Volume set size is: 1
Volume set sequence number is: 1
Logical block size is: 2048
Volume size is: 353049
El Torito VD version 1 found, boot catalog is in sector 65
Joliet with UCS level 3 found.
SUSP signatures version 1 found
Rock Ridge signatures version 1 found
Rock Ridge id 'RRIP_1991A'
Eltorito validation header:
Hid 1
Arch 0 (x86)
ID ''
Cksum AA 55 OK
Key 55 AA
Eltorito defaultboot header:
Bootid 88 (bootable)
Boot media 0 (No Emulation Boot)
Load segment 0
Sys type 0
Nsect 4
Bootoff 2C1 705
[***@live tv]$ /usr/bin/isoinfo -d -i /dev/dvd1
CD-ROM is in ISO 9660 format
System id: LINUX
Volume id: One-2010S-GNOME
Volume set id:
Publisher id:
Data preparer id:
Application id: GENISOIMAGE ISO 9660/HFS FILESYSTEM CREATOR
(C) 1993 E.YOUNGDALE
(C) 1997-2006 J.PEARSON/J.SCHILLING
(C) 2006-2007 CDRKIT TEAM
Copyright File id:
Abstract File id:
Bibliographic File id:
Volume set size is: 1
Volume set sequence number is: 1
Logical block size is: 2048
Volume size is: 353049
El Torito VD version 1 found, boot catalog is in sector 65
Joliet with UCS level 3 found
Rock Ridge signatures version 1 found
Eltorito validation header:
Hid 1
Arch 0 (x86)
ID ''
Key 55 AA
Eltorito defaultboot header:
Bootid 88 (bootable)
Boot media 0 (No Emulation Boot)
Load segment 0
Sys type 0
Nsect 4
Bootoff 2C1 705
--
Peter D.
Sig goes here...
Peter D.
Sig goes here...