>From: [EMAIL PROTECTED]

>> The version from March 99 _is_ not usable for libscg; this is the important
>> comclusion. The interface from March 99 would force me to send a command
>> with a high DMA count to the target to check if it would work. 

>I don't see it this way. It's probably true that this version didn't
>actually support raising the DMA buffer size, but it provided a
>guarantee that commands with less than a certain amount of data would
>execute without problems due to insufficient buffer memory. You haven't
>answered the question about this in my last mail, so I still don't know
>if you disagree with me and Douglas here.

I told you before, that the sg drivers from 2.2.6 ..2.2.9 could return
0 for SG_GET_RESERVED_SIZE. As it turns out, that up to now nobody 
complained about the old code I just used the pessimistic assumption
that lead to the current code.

>>>I'll use open_scsi() with a NULL scsidev to do a bus scan.
>>>How can I build a scsidev string to open another SCSI pointer to
>>>access just one drive in a portable way?
>> 
>> Read the cdrecord man page. It has a paragraph about the dev= parameter.

>I know this man page and the parameter, but I don't know if there is a
>way to figure out the devicename part of "devicename:scsibus,target"
>while I do a bus scan, or if it is safe to omit it once a bus scan via
>bus/target/lun was successful.

anything besides target,lun or bus,target,lun may not be portable.

Don't use it.



J�rg

 EMail:[EMAIL PROTECTED] (home) J�rg Schilling D-13353 Berlin
       [EMAIL PROTECTED]               (uni)  If you don't have iso-8859-1
       [EMAIL PROTECTED]           (work) chars I am J"org Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to