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

From: Jens Axboe (axboe_at_suse.de)
Date: 08/05/04

  • Next message: Jens Axboe: "Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices"
    Date:	Thu, 5 Aug 2004 07:43:54 +0200
    To: "H.Rosmanith (Kernel Mailing List)" <kernel@wildsau.enemy.org>
    
    

    On Thu, Aug 05 2004, H.Rosmanith (Kernel Mailing List) wrote:
    > > > + * Sat Jun 12 12:48:12 CEST 2004 herp - Herbert Rosmanith
    > > > + * Force ATAPI driver if dev= starts with /dev/hd and device
    > > > + * is present in /proc/ide/hdX
    > > > + *
    > >
    > > That's an extremely bad idea, you want to force ATA driver in either
    > > case.
    >
    > I don't think so.
    >
    > If "dev=/dev/hd?" and "/dev/hd?" is *not* present in /proc/ide, then
    > cdrtools falls back to the default behaviour, which is: treat it as
    > scsi device.
    >
    > If the device cannot be found in /proc/ide, it simply does not make sense
    > to treat it as atapi device - because it is none.

    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.

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

  • Next message: Jens Axboe: "Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices"

    Relevant Pages

    • Re: Problems with IDE on linux 2.6.22.X
      ... Welcome to the wonderful world of SCSIfying ATA. ... Well -- the world where ATA, SCSI, USB, Firewire and what have you are ... SCSI subsystem by design. ... ATAPI is an exception. ...
      (Linux-Kernel)
    • Re: Difference between IDE and SCSI ??
      ... Can someone briefly explain to me the difference between an IDE (ATA) ... and a SCSI device. ... SCSI, ATA and SATA are technical terms that refer to specific technologies, much like christianity, islam and hinduism refer to different belief systems. ... in reality SCSI drives also have integrated electronics. ...
      (Fedora)
    • Re: Help installing Fedora
      ... Richard Steven Hack wrote: ... > more complicated protocol than ATA, ... Hosts control ATAPI devices using SCSI command packets. ...
      (comp.os.linux.setup)
    • Re: What do you use?
      ... >>There no particular reason for an ATA RAID to be slower than SCSI, ... I haven't used any SATA stuff yet. ... ATA specs tend to exaggerate their capabilities ... I won't disagree with any of that - ATA drives have been aimed at the ...
      (freebsd-questions)
    • Re: Difference between IDE and SCSI ??
      ... Can someone briefly explain to me the difference between an IDE (ATA) ... IDE/ATA and SCSI are two different approaches to do the same ... two 72MB ST412 interface drives) and the newer designs of ATA/IDE and SCSI. ... make the drive have all the controller electronics on ...
      (Fedora)