On Tuesday 13 September 2011 20:11:32 Greg KH wrote:
Wow. On my system all disks except the DVD drive are4 shown as with sd* name. Does it mean the SATA drive is also a SCSI drive? I also have an IDE drive attached via a parallel cable, is it also a SCSI drive? This becomes ridiculous.
Please realize that this changed about 5 years ago. It is nothing new at all for anyone, so complaining now seems very strange to me.
If the realization does not match the specification, this means either the realization or the specification is wrong, yes? And the specification was written in 2009, less than 5 years ago.
There are different backends that use different methods. Currently KDE3 has two backends: a HAL backend that uses HAL api, and mtab/fstab backend that scans mtab table. HAL backend will be useless in a system without hal.
Also note that mtab/fstab backend is the most universal because any system no and in the future will have there tables, regardless whether it has udisks or other more complicated components.
But it sounds like the mtab/fstab backend is buggy. Please fix it :)
It is impossible to determine whether a given drive an USB drive or hard based on mtab only if the both use similar sd* name.
That is correct, which is why you should never use mtab for that as that is not what will correctly identify these types of devices.
On *BSD and other Unixes this works well. Anyway there is no other choice rather than using mtab or hal. And mtab is the most universal way which is suitable for all unix-like systems, and not dependent on Linux.
You are trying to have this interface do something it does not, and then complain when it is not correct. Shouldn't you consider that perhaps you should use something else instead to detect this?
Thus the mtab backend thinks about USB drives as of hard disks.
Lots of them are hard disks :)
Still this is incorrect, there in a "removable" device type that should be used. When using hal, the usb drives are shown with "flash drive" icon.
That's wrong then, fix HAL :)
This is completely correct. I insert a flash drive and see it as a flash drive.
Having a USB disk drive (really an ata->usb connector) show up as a flash drive seems like the incorrect thing to do, don't you think so?
I don't think so. This is exacly what I as a user expect. Also plugging in a camera shows as a camera when hal backend is used. Unfortunately this functionality will be gone in openSUSE 12.1. It is one of the reasons why I still recommend using hal-enabled kdebase3 package.
Do you call it "consistent" when USB and ATA drives which have nothing to do with SCSI are shown as SCSI?
It is "consistent" in that all storage devices are shown to the user through the same interface.
We were talking about name, not about interface. And actually it is not the case also: the CD and DVD are shown as sr* but USB and hard drives as sd*. Where is the consistency? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org