daniele favara wrote:
> "For the Mount() method, the name for the mount point directory in /media
> can be specified. Also the usual otions passed to the mount call can be
> passed as a single string:
>   
> /org/freedesktop/Hal/devices/volume_uuid_3e999973_00c9_4917_9442_b7633bd95b9e.Mount("Photos",
> "ro,iocharset=iso8859-1")
> will request the mounting of the device at /media/Photos. It will be mounted
> read-only and with the specified character encoding."
> 
> from : http://lists.freedesktop.org/archives/hal/2005-December/004077.html
> 
> there are even the shell scripts that will be probably (if not
> already) included in hal

Yeah, I know. The problem is that one needs to figure out the mount
options. You have basicly two options: Implement everything yourself
(just have a look at gnome-mount and you'll see why this is not
something one wants to do) or use gnome-mount (which, as the name
suggest, is very GNOME specific).

A sane solution would have been to merge pmount (or even the relevant
parts from gnome-mount) into HAL and just provide a Mount() method that
does everything and returns the final mount on success. This way,
there'd be a central place for configuration (-> HAL) and not some bits
in gconf, others in fstab, etc. And even more important there wouldn't
be another gconf dependency.

Benedikt
_______________________________________________
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev

Reply via email to