Re: /dev/sd*

Alan Cox
2006-08-09T21:43:42Z

Ar Mer, 2006-08-09 am 23:21 +0200, ysgrifennodd Adrian Bunk:
> It might be a bit out of the scope of this thread, but why do some many
> subsystems use the /dev/sd* namespace?
>
> Real SCSI devices use it.
> The USB mass storage driver uses it.

USB storage is real SCSI.

> libata uses it.
>
> I'd expext SATA or PATA devices at /dev/hd* or perhaps at /dev/ata* -
> but why are they at /dev/sd*?

ATA uses the top half of the scsi stack so ends up using the top layer
scsi drivers. Its probably more efficient than writing new driver
clones, especially as non disk ATA is also real SCSI (or very close).

You can use /dev/ata if you want - its just a udev problem ;)

Alan