disable automount for a specified usb device
Martin Pitt
martin at piware.de
Tue Jan 8 23:29:45 PST 2008
Hi,
Danny Kukawka [2008-01-08 17:46 +0100]:
> On Dienstag, 8. Januar 2008, Frederic Crozat wrote:
> > Le mardi 08 janvier 2008 à 16:46 +0100, Andrea Squeri a écrit :
> [...]
> > > When I insert the device it is always mounted automatically
> >
> > If you are using kde, I'm not sure it follow those hints.
> >
> > Try volume.ignore
>
> This would be in general the correct way. The storage.policy.* (as also
> volume.policy.*) keys were removed with HAL v0.5.7, and shouldn't be used any
> longer
OTOH storage.automount_enabled_hint should be retained.
gnome-volume-manager recognizes this property, and it does have a
sensible semantics (allow the user to mount, but don't automount)
which is different from volume.ignore.
Martin
--
Martin Pitt http://www.piware.de
Ubuntu Developer http://www.ubuntu.com
Debian Developer http://www.debian.org
More information about the hal
mailing list