Re: [linux-minidisc] another way to send SCSI commands


>> Thanks a lot for investigating into that. I would very glad if we can
>> drop libscg in favor of dvd+rw-tools.
>I did not yet implement the suggested change, but I am quite confident
>that it will work.

I´m rewriting himdscsitest.c using the dvd-rw-tools headers for testing.
As far as i have tested yet when cmd.transport() has finished the Scsi_Command structure will be closed automatically.
If we want to send more commands we have to use cmd.associate(char * device) before sending another scsi command.

Should we disable this autoclose feature and use genaral open and close commands instead or should every send-command function have it´s own Scsi_Command structure, so that we only need to give the devicename as parameter instead of a Scsi_Command structure?

Thomas