Mailinglist Archive: opensuse-factory (1264 mails)

< Previous Next >
Re: [opensuse-factory] Device names in openSUSE
On Wed, Sep 14, 2011 at 11:30:22PM +0400, Ilya Chernykh wrote:
On Wednesday 14 September 2011 22:51:43 Greg KH wrote:

Again, what would you call a USB->ATA disk controller device? The disk
itself is not "removable" in that it thinks it is getting ata commands.
Yet the fact that it is behind a USB connection makes the user think it
is.

And again, what about PCI hotplug disks? There are whole storage
devices out there where you can yank out a disk at any point in time, so
they are "removable" yet the disk itself has no idea it really is that.

Look I just want to have USB devises to be shown with USB drive icon, as it
is
in the case of HAL. There is an algorithm for it but not working because the
usb devices
do not use the conventional ub* name.

Because your algorithm is completely wrong.

As proof of that, why not look at the HAL code for how it does the logic
of detecting the drive type. As you are replacing the HAL code, it
probably would be best if you copy how it works pretty identically in
order to ensure that everything works the same.

I still cannot understand why it is impossible to make USB devices to bear a
special name
like the CD/DVD ones do.

I still can not understand why what we have previously explained has not
been sufficient in order to explain this :)

greg k-h
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >