Mailinglist Archive: opensuse-factory (1264 mails)
| < Previous | Next > |
[opensuse-factory] Device names in openSUSE
- From: Ilya Chernykh <anixxsus@xxxxxxxxx>
- Date: Mon, 12 Sep 2011 23:11:52 +0400
- Message-id: <201109122311.52613.anixxsus@gmail.com>
Hi!
I submitted the following bugreport (bnc#717326):
===
The current Lanana devices list
http://www.kernel.org/pub/linux/docs/device-list/devices.txt reserves sd* name
for SCSI block devices, while USB devices should have name of the type ub*:
USB block devices
0 = /dev/uba First USB block device
8 = /dev/ubb Second USB block device
16 = /dev/ubc Thrid USB block device
But in openSUSE USB devices are actually assigned names in sd* range making
automatic device type detection impossible or difficult. I faced this issue
when making a patch for KDE3 that should detect removable media without hal and
which is based on analysis of /proc/self/mounts entries.
Thus the mtab backend thinks about USB drives as of hard disks.
===
It is actually interesting why USB devices are assigned SCSI-names, and should
not they receive USB names.
Another question is that it seems that even SATA and parallel IDE devices also
receive the SCSI-name.
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
I submitted the following bugreport (bnc#717326):
===
The current Lanana devices list
http://www.kernel.org/pub/linux/docs/device-list/devices.txt reserves sd* name
for SCSI block devices, while USB devices should have name of the type ub*:
USB block devices
0 = /dev/uba First USB block device
8 = /dev/ubb Second USB block device
16 = /dev/ubc Thrid USB block device
But in openSUSE USB devices are actually assigned names in sd* range making
automatic device type detection impossible or difficult. I faced this issue
when making a patch for KDE3 that should detect removable media without hal and
which is based on analysis of /proc/self/mounts entries.
Thus the mtab backend thinks about USB drives as of hard disks.
===
It is actually interesting why USB devices are assigned SCSI-names, and should
not they receive USB names.
Another question is that it seems that even SATA and parallel IDE devices also
receive the SCSI-name.
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
| < Previous | Next > |