Ok, but i thought the problem was the information you need just doesnt exist in mtab? I would look at udev. Tim Ilya Chernykh <anixxsus@gmail.com> schrieb:
On Thursday 15 September 2011 19:36:13 Tim Edwards wrote:
Solid was new for KDE 4, and was aimed specifically at making changes like the switch from hal to udev easier. As far as I am aware, KDE 3 has no such abstraction layer, so doing the change would require more substantial changes to more parts.
KDE3 has mediamanager which can have different backends, one being hal backend and the other being fstab/mtab backend
Here's the source-code to the mediamanager fstab backend if anyone's interested:
http://websvn.kde.org/branches/KDE/3.5/kdebase/kioslave/media/mediamanager/f...
Recently I made a huge patch to it which can be found in KDE:KDE3 repository: https://build.opensuse.org/package/view_file?file=mtab-reenable.patch&package=kdebase3&project=KDE%3AKDE3
Without this patch the picture is incomplete.
If you have a look at FstabBackend::guess you can see it tries all sorts of hacks and tricks based on the mountpoint, fs type or device node path to try to determine the type of device. And begins with the warning "// Guessing device types by mount point is not exactly accurate...".
Interesting, but I'd be amazed if this even worked properly when KDE3 was current. Plus, pretty much everyone would've used the HAL backend as that's what the distro's provided. And the code hasn't been touched for 5 years now..
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
-- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org