Hi,
Using readcd from the cdrtools package, I get this with a blank CD:
<?@black:matt> readcd
0:read 1:veri 2:erase 3:read buffer 4:cache 5:ovtime 6:cap
7:wne 8:floppy 9:verify 10:checkcmds 11:read disk 12:write disk
13:scsireset 14:seektest 15: readda 16: reada 17: c2err
18:readcd 19: lin 20: full toc
Enter selection: 0 (0 - 20)/<cr>:15
...
Capacity: 1 Blocks = 2 kBytes = 0 MBytes = 0 prMB
Sectorsize: 2048 Bytes
And this with a used CD:
<?@black:matt> readcd
0:read 1:veri 2:erase 3:read buffer 4:cache 5:ovtime 6:cap
7:wne 8:floppy 9:verify 10:checkcmds 11:read disk 12:write disk
13:scsireset 14:seektest 15: readda 16: reada 17: c2err
18:readcd 19: lin 20: full toc
Enter selection: 0 (0 - 20)/<cr>:15
...
Capacity: 331490 Blocks = 662980 kBytes = 647 MBytes = 678 prMB
Sectorsize: 2048 Bytes
Is this useful?
Matt
On Tue, 29 May 2001 12:48, Stacy Mader wrote:
> Just wondering how to identify if a non-blank
> CD is in my drive?
>
> I have played around with:
>
> /opt/schily/bin1.9/cdrecord dev=0,4,0 -toc
>
> to get the results below. Obviously there is data on this
> CD, but I have no idea how to get the size of what is on the
> image (in MB).
> Regards,
> Stacy.
<snip>
> first: 1 last 1
> track: 1 lba: 0 ( 0) 00:02:00 adr: 0 control: 4 mode: 1
> track:lout lba: 54738 ( 218952) 12:11:63 adr: 0 control: 0 mode: -1
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]