* usb memory key
@ 2003-03-28 16:42 Rolf Dubitzky
2003-03-28 17:11 ` Bill Nottingham
2003-03-28 17:39 ` Orion Poplawski
0 siblings, 2 replies; 3+ messages in thread
From: Rolf Dubitzky @ 2003-03-28 16:42 UTC (permalink / raw)
To: linux-hotplug
-----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
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: usb memory key 2003-03-28 16:42 usb memory key Rolf Dubitzky @ 2003-03-28 17:11 ` Bill Nottingham 2003-03-28 17:39 ` Orion Poplawski 1 sibling, 0 replies; 3+ messages in thread From: Bill Nottingham @ 2003-03-28 17:11 UTC (permalink / raw) To: linux-hotplug 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: usb memory key 2003-03-28 16:42 usb memory key Rolf Dubitzky 2003-03-28 17:11 ` Bill Nottingham @ 2003-03-28 17:39 ` Orion Poplawski 1 sibling, 0 replies; 3+ messages in thread From: Orion Poplawski @ 2003-03-28 17:39 UTC (permalink / raw) To: linux-hotplug Bill Nottingham wrote: >Rolf Dubitzky (dubitzky@pktw06.phy.tu-dresden.de) said: > > >>I added following lines to /etc/updfstab.conf >> >>device memkey { >> partition 1 >> symlink false >> match hd "Mobile Disk" >> match hd "Instant USB Disk" >>} >> >> >Well, you could have it just 'match hd'; this will match everything of this >class. > >Bill > > An issue I've ran up against is a unit that didn't use partition 1, but 4 for the data. - Orion ------------------------------------------------------- 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-03-28 17:39 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2003-03-28 16:42 usb memory key Rolf Dubitzky 2003-03-28 17:11 ` Bill Nottingham 2003-03-28 17:39 ` Orion Poplawski
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).