Re: Run script on USB thumb drive connection

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.

<?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 -->
<match key="volume.uuid" string="854a1d9e-916d-46af-9ba3-ae0fab3644ab">
<merge key="volume.ignore" type="bool">true</merge>

Thanks Cameron,

How do determine the UUID for the device?

Do you have any pointers to docs on this?

I've been looking over:

Bill Moseley
Sent from my iMutt

ubuntu-users mailing list
Modify settings or unsubscribe at: