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: Zachary Sarver
Subject: Re: [Halevt-dev] halevt and $hal.volume.mount_point$
Date: Fri, 28 Aug 2009 11:03:20 -0500

I'm using version 0.1.4. I'm about to try the latest in cvs and see if
the problem still exists. I'm not umounting it before removal,
although now I'm wondering if GNOME does the umounting as soon as it's
removed.

-Zack Sarver

On Fri, Aug 28, 2009 at 10:29 AM, Patrice Dumas<address@hidden> wrote:
> 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]