usb memory key
-----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: [email protected] 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 12 lines · Rolf Dubitzky
I have some USB memory keys and would like them to be automagically added to
/etc/fstablike 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.confdevice memkey {
partition 1
symlink false
match hd "Mobile Disk"
match hd "Instant USB Disk"
}
Quoted 6 lines
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.confthe 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 13 lines · Bill Nottingham
Quoted 10 lines · Rolf Dubitzky
I added following lines to
/etc/updfstab.confdevice memkey {
partition 1
symlink false
match hd "Mobile Disk"
match hd "Instant USB Disk"
}
Quoted 6 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel