[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Obtain info about cd-r/rw



Hi

>  $ cdrdao scanbus
>  Cdrdao version 1.1.9 - (C) Andreas Mueller <andreas@daneb.de>
>  Using libscg version 'schily-0.8'
>
>  ATAPI:0,0,0          SONY    , CD-RW  CRX195E1 , ZYS5
>  ATAPI:0,1,0          Toshiba , DVD-ROM SD-M1712, 1808
>
> So we know what kind of devices they are.
>
>  $ cdrdao disk-info --device 0,0,0
>  0,0,0: SONY CD-RW  CRX195E1     Rev: ZYS5
>  Using driver: Generic SCSI-3/MMC (raw writing) - Version 2.0 (options
> 0x0000)
>
>  CD-RW                : no
>  Total Capacity       : n/a
>  CD-R medium          : Ritek Co.
>                        Short Strategy Type, e.g. Phthalocyanine
>  Recording Speed      : n/a
>  CD-R empty           : no
>  Toc Type             : CD-ROM XA
>  Sessions             : 1
>  Last Track           : 2
>  Appendable           : no


Thanks, that's exactly what i'm looking for.

> Actually, I couldn't find such tools for DVD.

I use growisofs package for retrieve information about dvd media.
With dmesg, once inserted dvd media, i can see the drive device, then
dvd+rw-mediainfo does the job:

# dvd+rw-mediainfo /dev/sr0
INQUIRY:                [_NEC    ][DVD_RW ND-3540A ][1.04]
GET [CURRENT] CONFIGURATION:
 Mounted Media:         1Bh, DVD+R
 Media ID:              RICOHJPN/R01
 Current Write Speed:   6.1x1385=8467KB/s
 Write Speed #0:        6.1x1385=8467KB/s
 Write Speed #1:        5.1x1385=7056KB/s
 Write Speed #2:        4.1x1385=5645KB/s
 Write Speed #3:        3.1x1385=4234KB/s
 Write Speed #4:        2.0x1385=2822KB/s
 Write Speed #5:        1.0x1385=1411KB/s
GET [CURRENT] PERFORMANCE:
 Write Performance:     4.0x1385=5540KB/s@[0 -> 442367]
                        6.0x1385=8310KB/s@[442368 -> 1155071]
                        8.0x1385=11080KB/s@[1155072 -> 2295104]
 Speed Descriptor#0:    00/2295104 R@8.0x1385=11080KB/s W@8.0x1385=11080KB/s
 Speed Descriptor#1:    00/2295104 R@8.0x1385=11080KB/s W@6.0x1385=8310KB/s
 Speed Descriptor#2:    00/2295104 R@5.0x1385=6925KB/s W@4.0x1385=5540KB/s
 Speed Descriptor#3:    00/2295104 R@5.0x1385=6925KB/s W@2.4x1385=3324KB/s
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
READ CAPACITY:          0*2048=0


Regards
M


Reply to: