[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: KDE Volume Manager not receiving mount points from HAL - it can't
From: Luke Kenneth Casson Leighton <lkcl () lkcl ! net>
Date: 2004-09-20 21:32:09
Message-ID: 20040920213209.GO23901 () lkcl ! net
[Download RAW message or body]
i'm messing with HAL hal-0.2.97+cvs20040907$ and with KVM and kde from
latest cvs.
the issue is that a usb floppy drive has a mount device of /dev/sda
and a mount point generated in ftsab /media/floppy1 that isn't then
passed over by HAL to KVM.
KVM goes "oh, it's a floppy, and we don't know its mountpoint, hmmm"
and generates a filename "floppy:/" for it.
when a user accesses the Floppy, KDE goes "floppy:/" ah ha, i know what
to do with that, let's go access /dev/fd0 which just smells of cow poo
because the actual location is /dev/sda.
lshal shows no entries, in fact, looking at block_class_device.c
i find that it reads /etc/mtab quite happily.
under the normal KDE system (mountwatcher, disabling KVM) it
works great because mountwatcher reads /etc/mtab and /etc/fstab
and wow, gosh, other than the problem of forcing the users to
deal with an "unmount" concept, somewhere under the hood KDE
goes "oh, this is /dev/sda, and it's /media/floppy1, and it
isn't mounted, so let's mount it".
... but i don't _want_ to use mountwatcher because then i would
have no chance to have a CD or DVD or camera be fired up automatically
from a hotplug event.
so.
is the solution that i should hack KVM to read /etc/fstab?
should i hack KVM to read /etc/fstab?
should i hack HAL to write an /etc/autofs.hal file and hack KVM
to read it?
should i hack the KDE source (kioslaves/devices/kdemodule)
to blop the functionality of KVM into the kdebase mountwatcher?
l.
--
--
Truth, honesty and respect are rare commodities that all spring from
the same well: Love. If you love yourself and everyone and everything
around you, funnily and coincidentally enough, life gets a lot better.
--
<a href="http://lkcl.net"> lkcl.net </a> <br />
<a href="mailto:lkcl@lkcl.net"> lkcl@lkcl.net </a> <br />
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic