Am Wed, 14 Sep 2011 00:39:39 +0400 schrieb Ilya Chernykh <anixxsus@gmail.com>:
On Tuesday 13 September 2011 22:46:04 Greg Freemyer wrote:
Unfortunately libata is still under the scsi stack, so it gets the /dev/sdx style names.
Why then the CD/DVD has different name if it uses the same stack?
Trying to use simple english: The SCSI storage stack has several "device types". One of them is the "SCSI-Harddrive", another one is the "SCSI-Opticaldisk". In the Linux kernel configuration, it's expressed like that: # # SCSI support type (disk, tape, CD-ROM) # CONFIG_BLK_DEV_SD=y CONFIG_CHR_DEV_ST=m CONFIG_CHR_DEV_OSST=m CONFIG_BLK_DEV_SR=m so you get a compiled in driver "sd_mod", which is the driver for "SCSI-Harddrive" and a driver module "sr_mod" (which in turn depends on the generic "cdrom" driver) and that one is for SCSI-CDROM. They all talk SCSI, but they send different messages. It's a bit like TCP and UDP both using the IP protocol in networking. (Greg F. could probably explain this much better, but I think my inter- pretation is sufficient to understand the reasoning behind "sr" and "sd".) -- Stefan Seyfried "Dispatch war rocket Ajax to bring back his body!" -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org