Hi, Marco.

On May 24 2009, Marco d'Itri wrote:
> On May 24, Rogério Brito <[email protected]> wrote:
> > This is more or less a plea for help, since a package of mine, usbmount,
> I really love people who open bugs to get support.

Sorry. I was just running out of ideas.

> > When one matches (e.g., when I plug a USB thumb drive), the action of
> > running a mount is done twice.
>
> There has to be a reason. Log the environment with something like
> "export > /tmp/xxx.$$" and see how the events are different.

Right. I will just check it and send you what I get. I'm recompiling a
newer kernel with usbmon support and it should be ready real soon.

> I expect that your rules are not selective enough.  BTW, you probably
> want to match on "add|change" events (and this will require locking).

Here are the rules:

http://svn.debian.org/wsvn/usbmount/usbmount/trunk/usbmount.rules


> Anyway, your script is ugly and it should not run vol_id a second time
> since udev already does it.

Yes, I know. I just inherited this code. I am working on cleaning it
up. I have already substituted some rules in the SVN repository, as I
already mentioned above.

> (Also, vol_id will disappear next month.)

This I didn't know.

> It should be replaced by some matching on environment variables and a
> simple call to pmount.

The problem is that pmount depends on hal/libhal. :-(


Thanks you very much, Rogério.

-- 
Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to