Hi,

>    case 0x16: disctype = MMC_DISCTYPE_DVD_R_DL; break;
>    case 0x2A: disctype = MMC_DISCTYPE_DVD_PRW_DL; break;
>    case 0x50: disctype = MMC_DISCTYPE_HD_DVD_ROM; break;
>    case 0x51: disctype = MMC_DISCTYPE_HD_DVD_R; break;
>    case 0x52: disctype = MMC_DISCTYPE_HD_DVD_RAM; break;

These are missing in doc/glossary.texi, yet.

0x16 is DVD-R DL in Layer Jump Recording mode.
I would really like to see a 0x2A DVD+RW DL
some day.
The HD DVD types are dead, of course.


> mmc_is_disctype_rewritable (disctype_t disctype) {
>   switch (disctype) {
>   case MMC_DISCTYPE_CD_RW:
>   case MMC_DISCTYPE_DVD_RW:
>   case MMC_DISCTYPE_DVD_PRW:
>   case MMC_DISCTYPE_DVD_PRW_DL:
>   case MMC_DISCTYPE_BD_RE:
>   case MMC_DISCTYPE_HD_DVD_RAM:
>     return true;

One should possibly distinguish media which need
blanking before re-use
  0x0A CD-RW
  0x14 sequential DVD-RW
from random-access overwriteable media (the
others).
  
That would mean to distinguish
   case 0x13: disctype = MMC_DISCTYPE_DVD_RW; break;
   case 0x14: disctype = MMC_DISCTYPE_DVD_RW; break;
and
   case 0x41: disctype = MMC_DISCTYPE_BD_R; break;
   case 0x42: disctype = MMC_DISCTYPE_BD_R; break;
as 0x42 is pseudo-overwriteable.


Have a nice day :)

Thomas



Reply via email to