On Wed, 21 May 2008, jdd wrote:-
David Bolt wrote:
On Wed, 21 May 2008, Carlos E. R. wrote:-
bs=1024k count=4489 ?
For a DVD-R the size is 2,298,496 sectors, or 4,707,319,808 bytes, which you can get from using:
bs=256k count=17957
when I tried to use growisofs, it said:
growisofs -Z /dev/dvd=image.iso -dvd-compat Executing 'builtin_dd if=image.iso of=/dev/dvd obs=32k seek=0' :-( /dev/dvd: 2297888 blocks are free, 2298368 to be written!
Interesting. I do the same and I get: davjam@lion:/local> wc -c blank.image.iso 4707319808 blank.image.iso davjam@lion:/local> growisofs -dry-run -Z /dev/dvd=blank.image.iso -dvd-compat -speed 4 Executing 'builtin_dd if=blank.image.iso of=/dev/dvd obs=32k seek=0'
so I deducted the
dd if=/dev/zero of=image.iso bs=2048 count=2287888
(I have only dvd-r at present time)
may be some bytes are used for housekeeping?
Maybe. Are you sure it's a DVD-R not a DVD+R? What does: dvd+rw-mediainfo /dev/dvd return? For a DVD-R I get: davjam@lion:/local> dvd+rw-mediainfo /dev/dvd INQUIRY: [MATSHITA][UJ-840D ][1.02] GET [CURRENT] CONFIGURATION: Mounted Media: 11h, DVD-R Sequential Media ID: CMC MAG. AM3 Current Write Speed: 2.0x1385=2770KB/s Write Speed #0: 2.0x1385=2770KB/s Write Speed #1: 1.0x1385=1385KB/s Speed Descriptor#0: 01/2297888 R@2.0x1385=2770KB/s W@2.0x1385=2770KB/s Speed Descriptor#1: 01/2297888 R@1.0x1385=1385KB/s W@1.0x1385=1385KB/s READ DVD STRUCTURE[#10h]: Media Book Type: 00h, DVD-ROM book [revision 0] Legacy lead-out at: 2298496*2KB=4707319808 READ DVD STRUCTURE[#0h]: Media Book Type: 25h, DVD-R book [revision 5] Last border-out at: 2045*2KB=4188160 READ DISC INFORMATION: Disc status: blank Number of Sessions: 1 State of Last Session: empty "Next" Track: 1 Number of Tracks: 1 READ TRACK INFORMATION[#1]: Track State: blank Track Start Address: 0*2KB Next Writable Address: 0*2KB Free Blocks: 2298496*2KB Track Size: 2298496*2KB READ CAPACITY: 0*2048=0 And with my only DVD+R I get: davjam@lion:/local> dvd+rw-mediainfo /dev/dvd INQUIRY: [MATSHITA][UJ-840D ][1.02] GET [CURRENT] CONFIGURATION: Mounted Media: 1Bh, DVD+R Media ID: YUDEN000/T02 Current Write Speed: 8.0x1385=11080KB/s Write Speed #0: 8.0x1385=11080KB/s Write Speed #1: 6.0x1385=8310KB/s Write Speed #2: 4.0x1385=5540KB/s Write Speed #3: 2.4x1385=3324KB/s Speed Descriptor#0: 01/2295103 R@8.0x1385=11080KB/s W@8.0x1385=11080KB/s Speed Descriptor#1: 01/2295103 R@6.0x1385=8310KB/s W@6.0x1385=8310KB/s Speed Descriptor#2: 01/2295103 R@4.0x1385=5540KB/s W@4.0x1385=5540KB/s Speed Descriptor#3: 01/2295103 R@2.4x1385=3324KB/s W@2.4x1385=3324KB/s READ DVD STRUCTURE[#0h]: Media Book Type: 00h, DVD-ROM book [revision 0] Legacy lead-out at: 2295104*2KB=4700372992 READ DISC INFORMATION: Disc status: blank Number of Sessions: 1 State of Last Session: empty "Next" Track: 1 Number of Tracks: 1 READ TRACK INFORMATION[#1]: Track State: blank Track Start Address: 0*2KB Next Writable Address: 0*2KB Free Blocks: 2295104*2KB Track Size: 2295104*2KB ROM Compatibility LBA: 265696 READ CAPACITY: 0*2048=0 As an aside, I get the following with a DVD+RW: davjam@lion:/local> dvd+rw-mediainfo /dev/dvd INQUIRY: [MATSHITA][UJ-840D ][1.02] GET [CURRENT] CONFIGURATION: Mounted Media: 1Ah, DVD+RW Media ID: INFODISC/A10 Current Write Speed: 4.0x1385=5540KB/s Write Speed #0: 4.0x1385=5540KB/s Write Speed #1: 2.4x1385=3324KB/s Speed Descriptor#0: 00/2295103 R@4.0x1385=5540KB/s W@4.0x1385=5540KB/s Speed Descriptor#1: 00/2295103 R@2.4x1385=3324KB/s W@2.4x1385=3324KB/s READ DVD STRUCTURE[#0h]: Media Book Type: 00h, DVD-ROM book [revision 0] Legacy lead-out at: 2295104*2KB=4700372992 READ DISC INFORMATION: Disc status: complete Number of Sessions: 1 State of Last Session: complete Number of Tracks: 1 BG Format Status: complete READ FORMAT CAPACITIES: formatted: 2295104*2048=4700372992 26h(0): 2295104*2048=4700372992 READ TRACK INFORMATION[#1]: Track State: complete Track Start Address: 0*2KB Free Blocks: 0*2KB Track Size: 2295104*2KB FABRICATED TOC: Track#1 : 14@0 Track#AA : 14@2295104 Multi-session Info: #1@0 READ CAPACITY: 2295104*2048=4700372992 Regards, David Bolt -- Team Acorn: http://www.distributed.net/ OGR-P2 @ ~100Mnodes RC5-72 @ ~15Mkeys SUSE 10.1 32bit | openSUSE 10.2 32bit | openSUSE 10.3 32bit | openSUSE 11.0b3 SUSE 10.1 64bit | openSUSE 10.2 64bit | openSUSE 10.3 64bit RISC OS 3.6 | TOS 4.02 | openSUSE 10.3 PPC | RISC OS 3.11 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org