halevt-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Halevt-dev] halevt and $hal.volume.mount_point$


From: Patrice Dumas
Subject: Re: [Halevt-dev] halevt and $hal.volume.mount_point$
Date: Fri, 28 Aug 2009 17:29:18 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

On Thu, Aug 27, 2009 at 05:01:29PM -0500, Zachary Sarver wrote:
> Hello, all!
> 
> Right now I'm just playing around with halevt. Currently GNOME handles
> my automounting, but out of curiousity I was attempting to get halevt
> to xmessage me the mount point, only to discover that I was getting
> nothing from $hal.volume.mount_point$.
> 
> Here's my halevt.xml:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <halevt:Configuration version="0.1"
> xmlns:halevt="http://www.environnement.ens.fr/perso/dumas/halevt.html";>
>         <halevt:Device match="hal.block.device &amp; hal.block.is_volume">
>                 <halevt:Insertion exec="xmessage &quot;inserted
> $hal.volume.mount_point$&quot;" />
>                 <halevt:Removal exec="xmessage &quot;removed
> $hal.volume.mount_point$&quot;" />
>         </halevt:Device>
> </halevt:Configuration>
> 
> And the output I get is simply "inserted " on insertion and "removed "
> on removal. volume.mount_point does show up in lshal -m, though.
> 
> Any clue why I'm not getting anything from halevt?

It is normal that you don't get the mount point on insertion, since 
it is not mounted already. You should get it on removal, though,
unless you umounted it prior. What version of halevt are you using?

--
Pat




reply via email to

[Prev in Thread] Current Thread [Next in Thread]