>From: Stacy Mader <[EMAIL PROTECTED]>
>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.
>Cdrecord 1.11a01 (sparc-sun-solaris2.6) Copyright (C) 1995-2001 Jvrg
>Schilling
>scsidev: '0,4,0'
>scsibus: 0 target: 4 lun: 0
>Using libscg version 'schily-0.5'
>Device type : Removable WORM
>Version : 1
>Response Format: 2
>Capabilities :
>Vendor_info : 'KODAK '
>Identifikation : 'PCD225 '
>Revision : '1.07'
>Device seems to be: Philips CDD-522.
>Using driver for Philips CDD-522 (philips_cdd522).
>Driver flags :
>/opt/schily/bin/cdrecord: Warning: blockdesc secsize 2048 differs from cap
>secsize 2340
>Disk bar code: 00 00 00 08 F1 00 93 56 32 91 27 96
^^^^^^ Interesting to see that this works ^^^^^^^^
>/opt/schily/bin/cdrecord: Warning: controller returns zero sized
>Speed/Dummy information page.
>/opt/schily/bin/cdrecord: Warning: controller returns wrong size for
>Speed/Dummy information page.
>/opt/schily/bin/cdrecord: Warning: controller returns wrong page 0 for
>Speed/Dummy information page (23).
>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
call:
readcd dev=4,0 sectors=0-0 f=/dev/null
J�rg
EMail:[EMAIL PROTECTED] (home) J�rg Schilling D-13353 Berlin
[EMAIL PROTECTED] (uni) If you don't have iso-8859-1
[EMAIL PROTECTED] (work) chars I am J"org Schilling
URL: http://www.fokus.gmd.de/usr/schilling ftp://ftp.fokus.gmd.de/pub/unix
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]