All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rolf Dubitzky <dubitzky@pktw06.phy.tu-dresden.de>
To: linux-hotplug@vger.kernel.org
Subject: usb memory key
Date: Fri, 28 Mar 2003 16:42:53 +0000	[thread overview]
Message-ID: <marc-linux-hotplug-104886994421490@msgid-missing> (raw)

-----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

             reply	other threads:[~2003-03-28 16:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-28 16:42 Rolf Dubitzky [this message]
2003-03-28 17:11 ` usb memory key Bill Nottingham
2003-03-28 17:39 ` Orion Poplawski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-hotplug-104886994421490@msgid-missing \
    --to=dubitzky@pktw06.phy.tu-dresden.de \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.