From: reflex <reflex-2000@gmx.net>
To: linux-hotplug@vger.kernel.org
Subject: Re: Working on a usb-storage hotplug script
Date: Sat, 29 Nov 2003 12:33:43 +0000 [thread overview]
Message-ID: <marc-linux-hotplug-107010908225714@msgid-missing> (raw)
In-Reply-To: <marc-linux-hotplug-107006883203516@msgid-missing>
Martin schrieb:
> So I began to google for a usb-storage hotplug script which
> would do what I want.
I have had the same problem and tried do solve it by scanning all
devices automatically: http://vold.sourceforge.net
KDE has a device kio slave which scanns /etc/fstab. So I could
probably add a feature where connected devices don't get mounted
but added to /etc/fstab so they appear on the desktop
automatically.
Drawback is: Vold doesnt know if it has just mounted a usb-drive
or a cdrom. And you will get nasty read-error messages in syslog
if you load the usb-storage driver but have no device attached
etc. They are not severe, I just have to find a way to suppress
them. It still misses an eject program to unmount as user.
> By looking in the usb and scsi nodes under /proc I decided that
> the only unique information between the two trees was the
> serial number.
Are you really sure that the serial is unique? If I remember
correctly the not all devices have serials set.
> I do have one further problem before I even start, which is
> that I don't seem to get a remove event when I disconnect a
> flash drive. Is this a known problem with my version of the
> kernel or of hotplug?
Same here. I think its a bug. But since its not 2.5/2.6-test
related nobody seems to care here :-(
--
Clemens Wacha wacha@gmx.ch ICQ:12620492
proudly running Debian/GNU Linux. See http://www.debian.org
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
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
next prev parent reply other threads:[~2003-11-29 12:33 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-29 1:19 Working on a usb-storage hotplug script Martin
2003-11-29 12:33 ` reflex [this message]
2003-11-29 14:06 ` Oliver Neukum
2003-11-29 18:05 ` Marco d'Itri
2003-11-30 11:19 ` reflex
2003-11-30 19:38 ` Greg KH
2003-12-09 9:05 ` Wout Mertens
2003-12-09 16:09 ` Olaf Hering
2003-12-09 16:24 ` Greg KH
2003-12-10 19:29 ` Wout Mertens
2003-12-10 19:41 ` Wout Mertens
2003-12-10 19:49 ` Olaf Hering
2003-12-11 15:37 ` Wout Mertens
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-107010908225714@msgid-missing \
--to=reflex-2000@gmx.net \
--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.