Re: LANANA: To Pending Device Number Registrants

H. Peter Anvin (hpa@transmeta.com)
Wed, 16 May 2001 15:13:58 -0700


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.

> It is perfectly normal to export different interfaces for the
> same device. This is basically, what subfunctions on PCI do: Same
> device with different interfaces.
>
> Just that we do it through a driver with ide and through the
> hardware with a multi function PCI card.
>
> Applications don't care about devices. They care about entities
> that have capabilities and programming interfaces. What they
> _really_ are and if this is only emulated is not important.
>
> Sorry, I don't see your point here :-(
>

That seems to be a common theme with you.

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