New command -scsi_dev_family, new -as cdrecord option drive_scsi_dev_family=
This commit is contained in:
@ -329,10 +329,11 @@ int Xorriso_aquire_drive(struct XorrisO *xorriso, char *adr, char *show_adr,
|
||||
aquire_flag|= 64;
|
||||
if(flag & 128)
|
||||
aquire_flag|= 256;
|
||||
burn_preset_device_open(xorriso->drives_exclusive, 0, 0);
|
||||
burn_preset_device_open(xorriso->drives_exclusive |
|
||||
(xorriso->linux_scsi_dev_family << 2), 0, 0);
|
||||
burn_allow_drive_role_4(1 | (xorriso->early_stdio_test & 14));
|
||||
ret= isoburn_drive_aquire(&dinfo, libburn_adr, aquire_flag);
|
||||
burn_preset_device_open(1, 0, 0);
|
||||
burn_preset_device_open(1 | (xorriso->linux_scsi_dev_family << 2), 0, 0);
|
||||
Xorriso_process_msg_queues(xorriso,0);
|
||||
if(ret<=0) {
|
||||
if(flag & 128)
|
||||
@ -3404,3 +3405,10 @@ int Xorriso_pretend_full_disc(struct XorrisO *xorriso, int flag)
|
||||
return(1);
|
||||
}
|
||||
|
||||
|
||||
int Xorriso_scsi_dev_family(struct XorrisO *xorriso, int flag)
|
||||
{
|
||||
burn_preset_device_open(xorriso->drives_exclusive | (xorriso->linux_scsi_dev_family << 2), 0, 0);
|
||||
return(1);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user