From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rolf Dubitzky Date: Fri, 28 Mar 2003 16:42:53 +0000 Subject: usb memory key 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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I have some USB memory keys and would like them to be automagically added to /etc/fstab like my sony digicam. I tried to figure out how it works with the digicam (with sony memorystick) and ended at updfstab. I added following lines to /etc/updfstab.conf device memkey { partition 1 symlink false match hd "Mobile Disk" match hd "Instant USB Disk" } This works in principle, but I can hardly imagine, that I have to figure out the matching string for every new memory key I plug in my box. Is editing /etc/updfstab.conf the canonical way to make updfstab aware of devices, and do I have to do it for every new model of memory key? Isn't there a more generic way? I think it doesn't make much sense if hotplug/usb.agent calls updfstab for a new usb-storage device and then it doesn't get added because it doesn't match with any magic string updfstab.conf. It should at least be made available as /mnt/usb-storage in fstab or something similar. Am I misunderstanding something? Thanx for any help (and for hotplug), Rolf *************************************************************** Rolf Dubitzky e-mail: Rolf.Dubitzky@Physik.TU-Dresden.de s-mail see http://hep.phy.tu-dresden.de/~dubitzky/ *************************************************************** -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+hHuN1ANezqsup+sRAs5BAJ4uy0qal7adE3OFHNi0tUdnV22gXwCgxLGI WTDSzU9KrKwuklC/i5LvGBc/5e -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en _______________________________________________ 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