prevent automount of certain USB disks
Danny Kukawka
danny.kukawka at web.de
Fri Sep 2 16:07:17 EST 2005
On Thursday 01 September 2005 22:42, Michael Dauer wrote:
> 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>
>
Which linux distribution and which version of HAL do you use?
Danny
More information about the hal
mailing list