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

From: Marc Ballarin
Date: Thu Aug 12 2004 - 17:31:46 EST


On Thu, 12 Aug 2004 17:11:45 -0400
Bill Davidsen <davidsen@xxxxxxx> wrote:

>
> But they *don't* map to consistent device names. All hot pluggable
> devices seem to map to the next available name. Looking at one of my
> utility systems, it has IDE drives mapped by Redhat with ide-scsi, real
> SCSI drives, a couple of flash card slots mapped to SCSI, and a USB
> device, all in the /dev/sdX namespace. And in the order in which they
> were detected (connected, in other words).
>
> Joerg hasn't made it any better, but it isn't great anyway. I recommend
> a script to do discovery and make symlinks somewhere to names which
> always match the same device.
>

That's exactly what udev allows you to do (among a lot of other things).

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