Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
2685 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs
  Codes et scripts

  [Unix] commande pour obtenir les propriétés d'un CD ou DVD

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

[Unix] commande pour obtenir les propriétés d'un CD ou DVD

n°1061119
ib@w
Posté le 18-07-2008 à 17:05:55  profilanswer
 

Bonjour,
 
Pour obtenir l'information qui m'intéresse à savoir si un CD est réinscriptible ou pas j'utilise la commande : cdrecord dev=1,0,0 -atip qui me donne quelquechose du style :
ATIP info from disk:
[...]
  Is not unrestricted
  Is erasable
  Disk sub type: High speed Rewritable (CAV) media (1)
[...]

 
Par contre pour un DVD, cette commande retourne :
 ATIP start of lead in:  -150 (00:00/00)
Disk type:    unknown dye (reserved id code)

 
Ce qui ne m'aide pas...  :??:  
Quelqu'un connaîtrait-il une commande qui permet de savoir si un DVD est réinscriptible ?
 

mood
Publicité
Posté le 18-07-2008 à 17:05:55  profilanswer
 

n°1061126
Mjules
Modérateur
Parle dans le vide
Posté le 18-07-2008 à 17:55:40  profilanswer
 

wodim me dit d'utiliser : dvd+rw-mediainfo  et effectivement


[jules@tue-amour ~]$ wodim -atip
Device was not specified. Trying to find an appropriate drive...
Detected CD-R drive: /dev/cdrw
Using /dev/cdrom of unknown capabilities
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : '_NEC    '
Identification : 'DVD_RW ND-3500AG'
Revision       : '2.16'
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
HINT: use dvd+rw-mediainfo from dvd+rw-tools for information extraction.

 

[jules@tue-amour ~]$ dvd+rw-mediainfo /dev/cdrom
INQUIRY:                [_NEC    ][DVD_RW ND-3500AG][2.16]
GET [CURRENT] CONFIGURATION:
 Mounted Media:         1Ah, DVD+RW
 Media ID:              PHILIPS/041
 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 -> 2295104]
 Speed Descriptor#0:    00/2295104 R@5.0x1385=6925KB/s W@4.0x1385=5540KB/s
 Speed Descriptor#1:    00/2295104 R@5.0x1385=6925KB/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:      suspended
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[jules@tue-amour ~]$ dvd+rw-mediainfo /dev/cdrom
INQUIRY:                [_NEC    ][DVD_RW ND-3500AG][2.16]
GET [CURRENT] CONFIGURATION:
 Mounted Media:         1Ah, DVD+RW
 Media ID:              PHILIPS/041
 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 -> 2295104]
 Speed Descriptor#0:    00/2295104 R@5.0x1385=6925KB/s W@4.0x1385=5540KB/s
 Speed Descriptor#1:    00/2295104 R@5.0x1385=6925KB/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:      suspended
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

 

Multi-session Info:    #1@0
READ CAPACITY:          2295104*2048=4700372992


Message édité par Mjules le 18-07-2008 à 17:56:53

---------------
Celui qui pose une question est idiot 5 minutes. Celui qui n'en pose pas le reste toute sa vie. |  Membre du grand complot pharmaceutico-médico-scientifico-judéo-maçonnique.
n°1061608
ib@w
Posté le 21-07-2008 à 11:05:36  profilanswer
 

Merci, c'est bien ce que je cherchais !


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs
  Codes et scripts

  [Unix] commande pour obtenir les propriétés d'un CD ou DVD

 

Sujets relatifs
Impossible d'obtenir un ticketUtiliser une clé USB comme un Live CD
Exclure un répertoire dans une commande rmcommande élémentaire "ls -l" qui ne termine pas
Deux questions à propos des DVDRipper - Convertir CD to MP3 / information pro
Distribution Linux/Unix compatible Active DirectoryUbuntu après formatage de windows
Lire un mél sous Unix[Résolu] DVD vidéo gravé sous linux non lisisble avec Windows ?
Plus de sujets relatifs à : [Unix] commande pour obtenir les propriétés d'un CD ou DVD


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR