Re: Run script on USB thumb drive connection
- From: Bill Moseley <moseley@xxxxxxxx>
- Date: Wed, 25 Feb 2009 06:58:22 -0800
On Tue, Feb 17, 2009 at 12:25:40AM -0000, Cameron Hutchison wrote:
I have created the file /etc/hal/fdi/policy with the following contents:
Adjust the UUIDs for your case.
---8<---
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
<!--
System policy to not automount the backup disks.
-->
<deviceinfo version="0.2">
<!-- Backup disc 1 - Seagate ST3160811AS 7200.9 160GB -->
<device>
<match key="volume.uuid" string="854a1d9e-916d-46af-9ba3-ae0fab3644ab">
<merge key="volume.ignore" type="bool">true</merge>
</match>
</device>
Thanks Cameron,
How do determine the UUID for the device?
Do you have any pointers to docs on this?
I've been looking over:
http://opensolaris.org/os/project/tamarack/hal_re.html
--
Bill Moseley
moseley@xxxxxxxx
Sent from my iMutt
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Follow-Ups:
- Re: Run script on USB thumb drive connection
- From: Leonard Chatagnier
- Re: Run script on USB thumb drive connection
- References:
- Run script on USB thumb drive connection
- From: Bill Moseley
- Re: Run script on USB thumb drive connection
- From: Dotan Cohen
- Re: Run script on USB thumb drive connection
- From: Nils Kassube
- Re: Run script on USB thumb drive connection
- From: Bill Moseley
- Re: Run script on USB thumb drive connection
- From: Cameron Hutchison
- Run script on USB thumb drive connection
- Prev by Date: Re: skype working in Intrepid and Jaunty?
- Next by Date: Re: [OT]Gmail change?
- Previous by thread: Re: Run script on USB thumb drive connection
- Next by thread: Re: Run script on USB thumb drive connection
- Index(es):