Automount in Suse 11.0?

How can I configure automounting of usb drives in Suse 11.0? I can mount them “by hand” with

mount -t vfat /dev/sdc1 /media/usbdrive

but previously, in Suse 10.0, all I ever had to do was to place the drive in the usb port, and there it was, automatically mounted.

Thanks,
-A.

That’s odd, because when I insert a USB drive it mounts automatically. I’m using openSUSE 11.0 with KDE 4.1

Are you using KDE 3.5, KDE 4 or GNOME?

Try inserting a CD and see if that automounts.

I suspect it’s a permission problem, but since I can’t reproduce the error, I don’t think that is of much help.

If using KDE3, then have a look at

KDE Control Centre > KDE Components > Service Manager

There you can check that KDED media manager is enabled, and that the media notifier daemon is running. Others may be able to help with other desktop environments.

I’m running KDE 3.5, and yes the KDED media manager is enabled, and the media notifier daemon is running. But no automount!

Thanks,
-A.

Maybe a policykit issue? Check out the storage policies. Mine for reference:

linux:/home/dean # cat /usr/share/PolicyKit/policy/org.freedesktop.hal.storage.policy
<?xml version=“1.0” encoding=“UTF-8”?>
<!DOCTYPE policyconfig PUBLIC
“-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN”
http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd”>

<!–
Policy definitions for HAL’s drives/media mechanims.

Copyright (c) 2007 David Zeuthen <david@fubar.dk>

HAL is licensed to you under your choice of the the Academic Free
License Version 2.1, or the GNU General Public License version 2. Some
individual source files may be under the GPL only. See COPYING for
details.

<policyconfig>

<action id=“org.freedesktop.hal.storage.mount-fixed”>
<description>Mount file systems from internal drives.</description>
<message>System policy prevents mounting internal media</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep_always</allow_active>
</defaults>
</action>

<action id=“org.freedesktop.hal.storage.mount-removable”>
<description>Mount file systems from removable drives.</description>
<message>System policy prevents mounting removable media</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>

<action id=“org.freedesktop.hal.storage.unmount-others”>
<description>Unmount file systems mounted by other users.</description>
<message>System policy prevents unmounting media mounted by other users</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep_always</allow_active>
</defaults>
</action>

<action id=“org.freedesktop.hal.storage.eject”>
<description>Eject removable media.</description>
<message>System policy prevents ejecting removable media</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>

<action id=“org.freedesktop.hal.storage.crypto-setup-fixed”>
<description>Set up decryption for encrypted fixed storage devices.</description>
<message>System policy prevents accessing encrypted fixed media</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep_always</allow_active>
</defaults>
</action>

<action id=“org.freedesktop.hal.storage.crypto-setup-removable”>
<description>Set up decryption for encrypted removable storage devices.</description>
<message>System policy prevents accessing encrypted removable media</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>

</policyconfig>