Summary: | Use hal's device name as mount target | ||
---|---|---|---|
Product: | [Unmaintained] kio | Reporter: | Samuel S. Weber <ssweber> |
Component: | media | Assignee: | Kevin Ottens <ervin> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | coward |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | patch for using pmount-hal |
Description
Samuel S. Weber
2005-05-11 22:46:21 UTC
Actually, you enter the device name Eg for ipod it would be pmount-hal '/org/freedesktop/Hal/devices/block_IPOD' If using pmount-hal is undesirable, one can find the mount point that pmount-hal would use in the property "desired_mount_point". Is it possible to use hal_device_get_property_string in kdebase/kioslave/media/kdedmodule/halbackend.cpp? Note that pmount-hal also sets things like the sync/async option. Because of this and to share the mount logic with gnome it would be nice if pmount-hal could be used after all. *** This bug has been confirmed by popular vote. *** *** This bug has been confirmed by popular vote. *** Created attachment 13961 [details]
patch for using pmount-hal
I'm attaching simple patch that I use on my system -- it makes KDE use
pmount-hal if available and fall back to pmount if not.
but still, would be great if I could set the mountpoint once and for all, or a name that is completely unique, so that I can symlink to it. I support this one as well. I think it's weird having KDE using a HAL backend, and using the pmount-hal wrapper. SVN commit 550578 by ervin: Merge coolo's branch, it contains quite some fixes and interesting features. It'll be available in KDE 3.5.4, couldn't be committed before, but thanks to the partial feature unfreeze... FEATURE: BUG: 50185 BUG: 105482 BUG: 108823 BUG: 114854 BUG: 120619 BUG: 121833 BUG: 127788 CCMAIL: coolo@kde.org M +3 -2 Makefile.am M +7 -0 configure.in.in M +2 -2 kcmodule/managermodule.cpp M +4 -3 kcmodule/notifiermodule.cpp M +1 -1 kfile-plugin/kfile_media.desktop M +7 -2 kfile-plugin/kfilemediaplugin.cpp M +4 -0 libmediacommon/medium.cpp M +20 -1 libmediacommon/medium.h M +14 -1 mediaimpl.cpp M +643 -41 mediamanager/halbackend.cpp [POSSIBLY UNSAFE: popen] M +20 -0 mediamanager/halbackend.h M +72 -9 mediamanager/mediamanager.cpp M +8 -0 mediamanager/mediamanager.h M +6 -3 medianotifier/medianotifier.cpp M +1 -1 mounthelper/Makefile.am M +32 -19 mounthelper/kio_media_mounthelper.cpp AM propsdlgplugin (directory) branches/work/coolos_media/propsdlgplugin#549689 |