Marc Chamberlin said the following on 02/09/2011 06:33 PM:
And, as I said, the device notifier is a KDE applet that lets you deal with the mounted devices, it does not do the mount. All it does is let you run the file manager, or gwenview or something. You may be technically correct, but to someone who did not develop that tool, that is NOT obvious. What a user see's is that it notifies you when you insert a USB device. It pops up dialog, and tells you about the device. Then the user can click on the device, within the notifier, and IT GETS MOUNTED.
Not so. It offers the choice of that to do with an ALREADY MOUNTED device. I don't have to be the developer to determine this. Logically, it has to have mounted the device so it knows what it is, storage, camera, phone ..., before it can offer the choice of what to do with it, what applications to offer.
It pops up dialog, and tells you about the device
Right. So it must have seen that the device is mounted! Or, it you really want to be picky. Remove the notifier applet. Open a terminal window. Run "mount" in a loop to tell you when what is mounted changes Insert a device. See! It gets mounted by HAL NOT by the device notifier. If you read the man page on the HAL daemon, the same one that spawns the process that polls the USB ports and appears in the process table: root 1680 1405 0 18:27 ? 00:00:00 hald-addon-storage: polling /dev/sdb (every 16 sec) which is responsible for mounting the USB device, you will see it says DESCRIPTION hald is a daemon that maintains a database of the devices connected to the system system in real-time. The daemon connects to the D-Bus system message bus to provide an API that appli- cations can use to discover, monitor and invoke operations on devices. For more information about both the big picture and specific API details, refer to the HAL spec which can be found in /usr/share/doc/packages/hal/spec/hal-spec.html depending on the distribution. OH WOW! Its all documented. Non of this is the least bit obscure. I've not had to be the developer or even read the source code. I've not had to use obscure or sophisticated tools or write scripts, even in shell. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org