Re: LANANA: To Pending Device Number Registrants

H. Peter Anvin (hpa@transmeta.com)
Wed, 16 May 2001 16:25:42 -0700


Richard Gooch wrote:
>
> H. Peter Anvin writes:
> > Ingo Oeser wrote:
> > >
> > > We do this already with ide-scsi. A device is visible as /dev/hda
> > > and /dev/sda at the same time. Or think IDE-CDRW: /dev/hda,
> > > /dev/sr0 and /dev/sg0.
> > >
> > > All at the same time.
> > >
> >
> > ... and if you don't know about this funny aliasing, you get screwed.
> > This is BAD DESIGN, once again.
>
> We have this aliasing anyway. sg and sr are just one example. If you
> care about conflicts, then make sure the drivers lock each other out.
> It's got nothing to do with the mechanism to find out whether
> something can behave like a CD-ROM or not.
>

No fscking way. What you're saying "well, my design is broken, so break
your driver even further." You're suggesting prohibiting legal (and
useful) operations because you're advocating an idiotic design to
identify devices? Give me a break.

-hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
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/