how to debug fdi files?

Michael Dauer michael.dauer at aon.at
Sat Sep 10 14:06:24 PDT 2005


Hello,

I want a certain USB disk to be not mounted automaticly. I created a file
/etc/hal/fdi/xy.fdi. But it does not work. Everytime I login to gnome the
partition is mounted again in /media. What is wrong with the following fdi?

<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->

<!-- 
	Backup-Disks sollen nicht automatisch gemountet werden.
-->
<deviceinfo version="0.2">
  <device>
	    <match key="volume.label" string="BackupDisk">
	      <merge key="volume.policy.should_mount" type="bool">false</merge>
	    </match>
  </device>
</deviceinfo>

The disk is still mounted automatically. How can I find out wether this
declarations are processed? How can I log in detail what happens when the disk
is mounted?

Regards,
Mick



More information about the hal mailing list