Maximum number of blocks on cd/dvd
From FVue
Contents
Problem
I want to know the maximum number of blocks I can write to a cd or dvd.
Solution
When available, use the ATIP information retrieved from cdrecord -atip. Otherwise use the size information obtained by isoinfo -d. NOTE: With multiple sessions, isoinfo's `Volume size' indicates the size of the last session, not the size of a whole disc.
Journal
20070519
- ATIP - Absolute Time In Pre-groove
- Thorough explanation of ATIP
I can do either cdrecord -atip or isoinfo -d.
Issuing isoinfo and cdrecord on a multi-session cd:
$> cdrecord dev=/dev/hdd -atip Device type : Removable CD-ROM Version : 0 Response Format: 1 Vendor_info : 'SONY ' Identification : 'CD-RW CRX100E ' Revision : '1.0j' Device seems to be: Generic mmc CD-RW. Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr). Driver flags : MMC SWABAUDIO Supported modes: TAO PACKET SAO ATIP start of lead out: 335100 (74:30/00) $> isoinfo -d dev=/dev/hdd CD-ROM is in ISO 9660 format System id: LINUX Volume id: BackupDar Volume set id: Publisher id: Data preparer id: Application id: MKISOFS ISO 9660/HFS FILESYSTEM BUILDER & CDRECORD CD-R/DVD CREATOR (C) 1993 E.YOUNGDALE (C) 1997 J.PEARSON/J.SCHILLING 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: 41262 NO Joliet present Rock Ridge signatures version 1 found $> cdrecord -msinfo dev=/dev/hdd 246898,296003
Issuing isoinfo and cdrecord on a formatted, empty DVD:
$> isoinfo -d dev=/dev/hdc CD-ROM is in ISO 9660 format System id: LINUX Volume id: BackupDar Volume set id: Publisher id: Data preparer id: Application id: MKISOFS ISO 9660/HFS FILESYSTEM BUILDER & CDRECORD CD-R/DVD CREATOR (C) 1993 E.YOUNGDALE (C) 1997 J.PEARSON/J.SCHILLING 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: 2295097 NO Joliet present Rock Ridge signatures version 1 found $> cdrecord dev=/dev/hdc -atip Device type : Removable CD-ROM Version : 0 Response Format: 2 Capabilities : Vendor_info : 'DVDRW ' Identification : '16X16 ' Revision : 'PTS2' Device seems to be: Generic mmc2 DVD-R/DVD-RW. Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd). Driver flags : SWABAUDIO BURNFREE Supported modes: PACKET SAO ATIP start of lead in: -150 (00:00/00) Disk type: unknown dye (reserved id code) Manuf. index: -1 Manufacturer: unknown (not in table) $> cdrecord -msinfo dev=/dev/hdc 0,0
Advertisement