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

From: H.Rosmanith (Kernel Mailing List)
Date: Wed Aug 04 2004 - 19:29:20 EST


> > + * 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.

best regards,
Herbert Rosmanith

-
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/