public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devic es
@ 2004-08-05 16:00 Kern Alexander
  2004-08-09 18:38 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Kern Alexander @ 2004-08-05 16:00 UTC (permalink / raw)
  To: 'linux-kernel@vger.kernel.org'; +Cc: 'alex.kern@gmx.de'

Jens Axboe wrote:

> On Thu, Aug 05 2004, Joerg Schilling wrote:
> 
>>>From: Jens Axboe <axboe@suse.de>
>>
>>>ATA method is misnamed, it's really SG_IO that is used. And you want to
>>>use that regardless of the device type, SCSI or ATAPI. There's no such
>>>thing as an ATA burner, and there's no need to differentiate between
>>>SCSI or ATAPI CD-ROM's when burning - SG_IO is the method to use. So
>>>forget browsing /proc/ide and other hacks.
>>
>>I am sorry but as Linux already has 6 different interfaces for sending 
>>Generic SCSI commands and thus, we are running out of names.
>>
>>Let me give you an advise: consolidate Linux so that is does only need
>>/dev/sg and fix the bugs in ide-scsi instead of constantly inventing new
>>unneeded interfaces.
> 
> 
> That's been the general direction for quite some time, just that SG_IO
> is the preferred method since that works all around. You were the one
> that merged support for the CDROM_SEND_PACKET interface, which has
> _never_ been advertised as a way to burn CDs in Linux. I'd suggest you
> remove that.
> 
Silly, as I suggested a patch to Joerg, it was the uniquely ability to burn
without
ide-scsi. And known you, it simply works, it let me to scan for burners(what
SG_IO cannot), it works
in 2.4.X and 2.6.X.

Make SG_IO better and CDROM_SEND_PACKET will die, without your suggestions.

Regards
Alex

P.S. I'm know that CDROM_SEND_PACKET has a overhead, by me it's 4%. I can
live with it.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-08-09 18:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-05 16:00 PATCH: cdrecord: avoiding scsi device numbering for ide devic es Kern Alexander
2004-08-09 18:38 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox