You are not logged in.

#1 2006-07-30 21:17:00

efossvold
Member
From: Kamloops, Canada
Registered: 2006-07-23
Posts: 59

Automounting not working in KDE

When I insert by usbstick KDE pops up a message sying "Mount: can't find /dev/sda1 in /etc/fstab or /etc/mtab".

I'm using kernel 2.6.17-ARCH1, udev and autofs.

Automounting works in console-mode though, it creates the directory /media/usbstick, and all my files are there.

Running the mount command outputs:
/dev/hda1 on / type reiserfs (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /proc/bus/usb type usbfs (rw)
none on /dev/pts type devpts (rw)
none on /dev/shm type tmpfs (rw)
/dev/hda6 on /home type ext3 (rw)
/dev/hda7 on /music type ext3 (rw)
automount(pid3319) on /media type autofs (rw,fd=4,pgrp=3319,minproto=2,maxproto=4)

Seems as the automount(pid3319) should perhaps be called sda1 instead?

Offline

#2 2006-07-30 22:11:03

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 715

Re: Automounting not working in KDE

Are you running hal daemon or not?
KDE packages are built with hal in mind for automounting. Optionally you can use ivman, but it's not necessary.


Microshaft delenda est

Offline

#3 2006-07-30 22:13:52

efossvold
Member
From: Kamloops, Canada
Registered: 2006-07-23
Posts: 59

Re: Automounting not working in KDE

yup, I'm running the hal daemon.

Also, the cd won't come out when I click the eject button (on the physical drive).

Offline

#4 2006-07-31 11:11:14

tolsis
Member
From: Oxford, UK
Registered: 2006-07-14
Posts: 9

Re: Automounting not working in KDE

I had the same problem with KDE+dbus+hal+autofs so i ended up removing autofs and replacing it with ivman.
I also removed any references for removable media from fstab.

Offline

#5 2006-07-31 14:02:53

mingfal
Member
Registered: 2005-11-07
Posts: 32

Re: Automounting not working in KDE

I don't have autofs or ivman in my system and automounting works fine for me. So I think all you need to have automounting are dbus,hal and an ideal desktop environment (KDE, GNOME, etc) without any additional configuration.
Maybe only one thing you should take care is to start dbus before hal and hal before kde.

Offline

#6 2006-07-31 16:38:59

efossvold
Member
From: Kamloops, Canada
Registered: 2006-07-23
Posts: 59

Re: Automounting not working in KDE

Yeah, looks like you're right! I uninstalled autofs, and now everything works jsut by having hal and dbus running. I don't have automounting in console anymore though, but I don't really care about that either. Thanks!

Offline

Board footer

Powered by FluxBB