Re: LANANA: To Pending Device Number Registrants

From: Jens Axboe (axboe@suse.de)
Date: Wed May 16 2001 - 17:21:18 EST


On Wed, May 16 2001, H. Peter Anvin wrote:
> 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.

And he's wrong too, we don't do this all the time. If /dev/hda is ide-cd
controlled, then it can't be accessed through /dev/sr0 -- and vice
versa. sg vs sr is different, one is a char the other a block device.

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



This archive was generated by hypermail 2b29 : Wed May 23 2001 - 21:00:20 EST