From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bill Nottingham Date: Fri, 28 Mar 2003 17:11:48 +0000 Subject: Re: usb memory key Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Rolf Dubitzky (dubitzky@pktw06.phy.tu-dresden.de) said: > 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? Well, you could have it just 'match hd'; this will match everything of this class. Bill ------------------------------------------------------- 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