Dear visitor, welcome to KDE-Forum.org.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.
Failed to launch auto-mount usb thumb drive directory
Hi, forum.
Right now my KDE 3.5.5 can auto detect usb thumb drive plug in. However, everytime when it tried to open mounted directory (e.g. /mnt/removeable), it told me that "/mnt/removeable is a folder, but a file was expected.". I tried to get kde log, the following messages were shown:
kded: KURL()
media kioslave: MediaList::findByName(sda1)
kio (KDirListerCache): [virtual void KDirListerCache::FilesChanged(const KURL::List&)] only half implemented
kio (KDirListerCache): [void KDirListerCache::updateDirectory(const KURL&)] system:/media
kdeinit: Got EXEC_NEW 'kio_file' from launcher.
kio (KLauncher): kio_file (pid 24372) up and running.
kio_file: Starting 24372
kio (KIOJob): error 9 /mnt/removable
kio (KIOJob): error 9 /mnt/removable
kio (KIOJob): error 9 /mnt/removable
kio (Scheduler): Scheduler: killing slave 24360
kio (Slave): killing slave pid=24360 (file://)
kio (KIOJob): Job::kill this=0x80b3858 KIO::TransferJob m_progressId=0 quietly=true
kio (KIOConnection): ERROR: Header read failed, errno=104
kio (KIOConnection): ERROR: Header has invalid size (-1)
kio (kioslave): SlaveBase::waitForAnswer has read error.
kio_file: Error during 'put'. Aborting.
kdeinit: PID 24360 terminated.
It called kio_file from klauncher but could not process directory /mnt/removeable.
Could anyone please tell me where to configure this behavior?
Thanks a lot.
When the drive is NOT mounted, is there a /mnt/removable file?
Originally posted by bjlockie
When the drive is NOT mounted, is there a /mnt/removable file?
No. /mnt/removeable directory was created automatically when USB drive plugged in.
This part was OK. I could access /mnt/removeable from console successfully.
Originally posted by fweng
Originally posted by bjlockie
When the drive is NOT mounted, is there a /mnt/removable file?
No. /mnt/removeable directory was created automatically when USB drive plugged in.
This part was OK. I could access /mnt/removeable from console successfully.
What are the permissions of the directory /mnt/removeable?
Originally posted by bjlockie
What are the permissions of the directory /mnt/removeable?
0755, owner was set to myself, and group set to root.
What version of KDE do you have?
Originally posted by bjlockie
What version of KDE do you have?
3.5.5, as my first post mentioned.
I built the whole 3.5.5 myself (checked out from svn/stable)
Originally posted by fweng
Originally posted by bjlockie
What version of KDE do you have?
3.5.5, as my first post mentioned.
I built the whole 3.5.5 myself (checked out from svn/stable)
I have no idea then. :-(
I assume you have a newish compiler version.
Mine doesn't mount as /mnt/removable, everything goes in /mnt
I used the Gentoo package though.
Originally posted by bjlockie
Originally posted by fweng
Originally posted by bjlockie
What version of KDE do you have?
3.5.5, as my first post mentioned.
I built the whole 3.5.5 myself (checked out from svn/stable)
I have no idea then. :-(
I assume you have a newish compiler version.
Mine doesn't mount as /mnt/removable, everything goes in /mnt
I used the Gentoo package though.
Thank you anyway.
This is a minor problem. I was just wondering if there were settings to change this behavior.
This post has been edited 1 times, last edit by "fweng" (Jan 3rd 2007, 1:56am)
I'm sure there settings.
I need settings for the HAL daemon because I can't umount as a user.
Like you, it is a minor annoyance. :-)
Play with /etc/dbus-1/system.d/hal.conf
and
/etc/udev/rules.d/*.rules