dont mount certain USB disks

Michael Dauer michael.dauer at aon.at
Wed Aug 24 06:59:22 PDT 2005


Hi,

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>

/M



More information about the hal mailing list