On Donnerstag 16 Oktober 2008, Dirk Meyer wrote:
> I provide as less information to hal as possible:
> | vol.Mount('', self.prop.get('volume.fstype'), [])
>
> Maybe it would work if the first parameter is the value from the fstab?

According to the KDE code, the first parameter is the mount point.  But adding 
that does not seem to help, I get the same "DBusException: 
org.freedesktop.Hal.Device.Volume.PermissionDenied: Device /dev/hdc is listed 
in /etc/fstab. Refusing to mount.".

One the one hand, I was tempted to say "see, there is this wonderfully 
working, well-tested, widespread implementation of hal device handling - 
let's do it exactly like KDE does", but on the other hand, the implementation 
is much more complicated than I expected.  Also, I'd expect a pythonic 
version to become much shorter than that C++ code, but it would be a lot of 
work to convert the code.  I did not even find a python wrapper around 
libhal.

What a pity.  For the moment, I guess I will just change my fstab (either not 
using the symlink or leaving out the entry altogether) in order to be able to 
focus on other things.  But I hate leaving something undone behind.

> Did you have 'users' in the fstab?

Yes, the options are "noauto,users,ro".

-- 
Ciao, /  /                                                    .o.
     /--/                                                     ..o
    /  / ANS                                                  ooo

Attachment: signature.asc
Description: This is a digitally signed message part.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to