>From [EMAIL PROTECTED] Thu Feb 11 17:18:26 1999

>On Thu, Feb 11, 1999 at 04:57:16PM +0100, Joerg Schilling wrote:
>> 
>> You could use a different name for the mapping file and make all applications
>> use this file. I may thing about putting it into a later version of the
>> SCSI transport lib. In this case, only the SCSI name mapping should be in this
>> file.

>Agreed. However, I don't like the necessity to have that library in any
>kind of software that wants to access the SCSI bus - I would prefer a
>solution where the application can directly open a given device, without the
>need for a library to implement that mapping. An application which does not
>need to scan the bus should not need to know about bus scanning, IDs etc..

If you don't want to be portable you may do what you like. However, 
my SCSI lib does make things easier.

>> This will not work! Most SCSI transport implementations (specially the CAM
>> standard) don't have different device nodes to access different devices.

>It does work fine with the current setup on Linux. Since we are discussing
>about a new SCSI access method, we should IMHO choose a method that makes it
>easy for small applications to do their job without needing a big library
>before even starting to send a single command.

But Linux is not the world. We are currently discussing problems of
creating a easy to lern/use user interface for a highly portable user level
SCSI application like cdrecord and cdda2wav.

>> However, you are free to write a shell/awk script to create he right entries
>> for the file /etc/default/cdrecord This will be portable at least on
>> any OS that supports SCSI bus scanning.

>I only need this to work on Linux. If another OS uses a different method,
>thats fine to me - we are not talkig about defining a SCSI layer which will
>then be used by all operating systems, but we are talking about a working
>solution for Linux. You will need special code for every different OS
>anyway.

It seems that you missed the main problem we are talking about. It is always
easy to find a solution that works fine on only one OS.

The methods cdrecord provides help you to allow this in a similar or equal
way on a wide variety of Operating systems.

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 from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]

Reply via email to