Re: /dev/sd*

From: Alan Cox
Date: Wed Aug 09 2006 - 21:23:11 EST


Ar Iau, 2006-08-10 am 00:18 +0200, ysgrifennodd Adrian Bunk:
> > USB storage is real SCSI.
> Real SCSI for a developer, for a user it's USB.

Define SCSI ?

> And things become even more confusing considering that the drive might
> show up as /dev/sda or /dev/uba depending on the driver used.

Windows people seem to cope ok with C: being IDE and E: being SCSI ;)

> I'm more concerned about the kernel<->userspace interface.

Thats a naming policy matter, udev.

> But I'm still not getting the point why the /dev/sd* namespace has to be
> used.

Because the block layer approach to major/minor numbers means everything
using sd (ie everything scsi disk protocol) gets the same device naming
scheme.

Alan

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