feat: add --permissive-medium-type option

This option can be useful to try to work with normally unsupported media types.
Namely the Windows 10 default iso mounter (and virtual drive) is tagged DVD-DROM,
even if it mounts bare iso images. Useful for debugging (requires --debug).
This commit is contained in:
Stéphane Lesimple
2020-09-04 23:37:59 +02:00
parent be2f7b67b9
commit 1a9416f7b2
3 changed files with 14 additions and 2 deletions

View File

@@ -265,6 +265,7 @@ typedef struct _GlobalClosure
int fixedSpeedValues;/* output fixed speed reading to make comparing debugging output easier */
int noBdrDefectManagement;/* if true, enable use of the BD*_NODM sizes, default: false */
int ignoreRS03header; /* if true, ignore the RS03 header when repairing, forcing a full search (debug only) */
int permissiveMediumType; /* if true, don't bail out on some UNSUPPORTED medium types (debug only) */
char *homeDir; /* path to users home dir */
char *dotFile; /* path to .dvdisaster file */
char *logFile; /* path to logfile */