Bug 127215 - Does not recognize (LABEL=) partitions as mounted
Summary: Does not recognize (LABEL=) partitions as mounted
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: media (show other bugs)
Version: unspecified
Platform: Slackware Linux
: NOR normal
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-12 18:53 UTC by Klaus Weidenbach
Modified: 2009-02-28 11:04 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Klaus Weidenbach 2006-05-12 18:53:35 UTC
Version:            (using KDE KDE 3.5.2)
Installed from:    Slackware Packages
OS:                Linux

I have an external harddisk with label-ids and created this entry in /etc/fstabv for it:
LABEL=Digitus /mnt/digitus ext3 noauto,user,exec 0  0
I see an icon in media:/ for this device and I can click on it and the right partition get mounted as: /dev/sda1 on /mnt/digitus type ext3 (rw,nosuid,nodev,user=klaus) 
The problem is that this icon will not open the folder /mnt/digitus/.  Also when I click once more on this icon I get the error message:
mount: /dev/sda1 already mounted or /mnt/digitus busy
mount: according to mtab, /dev/sda1 is already mounted on /mnt/digitus
The icon also doesn't show that it is already mounted and the right click menu also still provides the mount option but no unmount option.
Also when you activate device icons on the desktop it also doesn't work correctly. You can only mount the partition with the icon, but you are not able to open it.
Comment 1 Klaus Weidenbach 2006-05-20 17:32:39 UTC
Okay, I have found an error log message now:
$ kio (KAutoMount): WARNING: LABEL=Digitus was correctly mounted, but KIO::findDeviceMountPoint didn't find it. This looks like a bug, please report it on http://bugs.kde.org, together with your /etc/fstab line

The /etc/fstab entry is still the same:
LABEL=Digitus /mnt/digitus ext3 noauto,user,exec 0  0
Comment 2 Klaus Weidenbach 2006-06-12 21:00:13 UTC
Problem also exists in KDE 3.5.3
Comment 3 Klaus Weidenbach 2006-08-04 11:01:21 UTC
KDE 3.5.4 getting the same message to report it here.
Comment 4 Carsten Lohrke 2006-08-24 03:55:01 UTC
Recent HAL versions do not deal with devices listed in /etc/fstab at all.

http://webcvs.freedesktop.org/hal/hal/ChangeLog?r1=1.807&r2=1.808
Comment 5 Waqar Malik 2007-04-11 18:05:14 UTC
Problem exists in version 3.5.6

This problem will become more common with kernel 2.6.20+ which treats the PATA harddisk through SCSI emulation, thus changing the harddisk from /dev/hd* to /dev/sd* This requires the fstab entries for the devices to be through labels or UUID, if one wants an earlier kernel as a backup.
Comment 6 Klaus Weidenbach 2007-07-19 12:39:15 UTC
I have updated to Slackware 12.0 with KDE 3.5.7 and the bug still exists:
kio (KAutoMount): WARNING: LABEL=Digitus was correctly mounted, but KIO::findDeviceMountPoint didn't find it. This looks like a bug, please report it on http://bugs.kde.org, together with your /etc/fstab line

Well, but Slackware 12.0 includes now HAL/dbus and with that it seems to work at least.
Comment 7 Kevin Ottens 2009-02-28 11:04:21 UTC
kio media doesn't exist on KDE4.