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

From: Jens Axboe
Date: Mon Aug 09 2004 - 10:17:38 EST


On Mon, Aug 09 2004, Joerg Schilling wrote:
>
> >From: Paul Jakma <paul@xxxxxxxx>
>
> >> 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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/