Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices

Jens Axboe
2004-08-09T14:26:59Z

On Mon, Aug 09 2004, Joerg Schilling wrote:
>
> >From: Paul Jakma <paul@clubi.ie>
>
> >> Of course, ATAPI devices on Solaris are handled by the same
> >> target drivers as e.g. those on 50 pin cables.
>
> >Yes ATAPI is.
>
> >> The ATA driver is implemented the way one would expect it by acting
> >> as a SCSI HBA.
>
> >Yes, as does libata on Linux.
>
> Then I would love to see a demo that uses /dev/sg* with a ATAPI drive
> using DMA for all related sector sizes.

Use /dev/hdX or /dev/sdX or /dev/srX and SG_IO and it'll just work.
Wonderful, huh?

--
Jens Axboe