New command -scsi_dev_family, new -as cdrecord option drive_scsi_dev_family=
This commit is contained in:
@ -54,6 +54,7 @@ int Xorriso_cdrskin_help(struct XorrisO *xorriso, int flag)
|
||||
"\t-version\tprint version information and exit emulation",
|
||||
"\t--devices\tprint list of available MMC drives and exit emulation",
|
||||
"\tdev=target\tpseudo-SCSI target to use as CD-Recorder",
|
||||
"\tdrive_scsi_dev_family=sr|scd|sg\t\tselect Linux device type",
|
||||
"\t-v\t\tincrement verbose level by one",
|
||||
"\t-V\t\tincrement SCSI command transport verbose level by one",
|
||||
"\t-checkdrive\tcheck if a driver for the drive is present",
|
||||
@ -126,7 +127,7 @@ int Xorriso_cdrskin(struct XorrisO *xorriso, char *whom, int argc, char **argv,
|
||||
"gracetime=",
|
||||
|
||||
"assert_write_lba=", "fifo_start_at=", "dev_translation=",
|
||||
"drive_scsi_dev_family=", "fallback_program=",
|
||||
"fallback_program=",
|
||||
"tao_to_sao_tsize=",
|
||||
|
||||
"direct_write_amount=", "msifile=",
|
||||
@ -346,6 +347,11 @@ no_volunteer:;
|
||||
cpt= strchr(argpt, '=') + 1;
|
||||
Xorriso_option_modesty_on_drive(xorriso, cpt, 0);
|
||||
|
||||
} else if(strncmp(argpt, "-drive_scsi_dev_family=", 23) == 0 ||
|
||||
strncmp(argpt, "drive_scsi_dev_family=", 22) == 0) {
|
||||
cpt= strchr(argpt, '=') + 1;
|
||||
Xorriso_option_scsi_dev_family(xorriso, cpt, 0);
|
||||
|
||||
} else if(strncmp(argpt, "-stdio_sync=", 12)==0 ||
|
||||
strncmp(argpt, "stdio_sync=", 11)==0) {
|
||||
cpt= strchr(argpt, '=') + 1;
|
||||
|
Reference in New Issue
Block a user