New command -drive_access, new -as cdrecord option --drive_not_exclusive
This commit is contained in:
@ -55,6 +55,7 @@ int Xorriso_cdrskin_help(struct XorrisO *xorriso, int flag)
|
||||
"\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--drive_not_exclusive\tdo not try to prevent use of busy drive",
|
||||
"\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",
|
||||
@ -266,6 +267,8 @@ no_volunteer:;
|
||||
strcpy(dev_adr, cpt);
|
||||
} else if(strcmp(argv[i], "--devices")==0) { /* intentional: argv[i] */
|
||||
do_scanbus= 2;
|
||||
} else if(strcmp(argv[i], "--drive_not_exclusive") == 0) { /* intentional */
|
||||
Xorriso_option_drive_access(xorriso, "shared:unrestricted", 0);
|
||||
} else if(strncmp(argpt,"driveropts=", 11)==0 ||
|
||||
strncmp(argpt,"-driveropts=", 12)==0) {
|
||||
if(strcmp(argpt+11, "help")==0) {
|
||||
|
Reference in New Issue
Block a user