My ultimate goal is to have different desktop icons for mass-storage devices automatically appear/disappear on the desktop as the devices are plugged/unplugged.
Now, I've gotten the icons to appear correctly according to the different devices, but the removing issue is not working yet. The question is: Is the mount point for each mass-storage device stored somewhere in the /proc? Or somewhere else? If not, would it be possible to have it stored in /proc. I was thinking of using some /tmp/usb-mounts or /var/run/usb/mountpoints, but I think it would be better to have it in /proc. I'm not familiar with the /proc filesystem and don't know how to add stuff there. Does it need to be done in the kernel level or what? Currently, if I plug one usb mass-storage device, all usb storage devices get unmounted. So I would need to know what mount points get assigned to what devices. Of course I know this during the mounting, but I'd have to store the information to some file and then retrieve the information when device detaches. BR Tommi ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
