On 06/01/05 05:11:50PM +0200, Joerg Schilling wrote:
> > Not really. Yes, it runs on different operating systems. But to send
> > the SCSI commands to the device you have OS-specific code in there,
> > simply because it's handled in different ways on Solaris / Linux /
> > whatever OS. You could make the device addressing OS-specific as well
> > instead of expecting everyone in the world follow the Solaris model,
> > that would make life a bit easier for everyone involved.
>
> This is not the Solaris model....
>
> I did define this model 19 years ago when I did write the first
> Generic SCSI driver at all. Adaptec indepentently did develop ASPI
> 2 years later and did chose the same address model. Nearly all
> OS use this kind (or a very similar model) internaly inside the kernel
> or the basic SCSI address routines.
Just because it's old, that doesn't mean it's good. The kernel using the
numbers internally makes sense, but requiring them for userspace seems
stupid. All you should do is open the appropriate device node and let the
kernel figure out which SCSI ID to send the commands to. Every other tool
I've ever seen uses device nodes, why should cdrecord be different? All it
does is make cdrecord more difficult to use.
>
> Jörg
>
Jim.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]