From mboxrd@z Thu Jan 1 00:00:00 1970 From: reflex Date: Sun, 05 Oct 2003 18:13:01 +0000 Subject: Volume Daemon for automatic device mounting Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Greetings all, I am new to the list so I hope this mail gets through. I am currently writing an application, that can replace the mount -a on system startup and some other really neat things :-) I wanted to mount my iPod automatically through hotplug. I was not able to do that properly because I never knew where it would appear. Since I also have a USB-Flash-Stick this became a really annoying problem. The thing that bothered me most was that every f***ing windows or Mac OS (even X!) was able to handle that without any problem. Now the deamon works like this: You give it a list of devices to scan (/dev/sda, /dev/sdb etc.) Then it scans them either periodically or on SIGUSR1. If a new device was found it detects fstype, volumename, UUID etc and mounts it under /Volumes/whatever or at a fixed point (defined previously). The reason why I write to this list: It would be cool if there was some sort of subscription service in hotplug where my program could subscribe and would be informed when a new (storage) device was inserted. That way it would know instantly what device it had to scan. Otherwise I will have to call it from one of the shellscripts and then rescan ALL devices probably causing nasty errormessages in syslog. The Volume Daemon would also be able to replace devlabel. I will add a feature where you can give UUID's to all filesystems (even to those that do not support it natively) Regards Clemens -- Clemens Wacha wacha@gmx.ch ICQ:12620492 proudly running Debian/GNU Linux. See http://www.debian.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel