kde automounting

2007-09-25 Thread Rodrigo V. Raimundo

Is there a way to get kde's automounting functionality working under obsd?
At linux I think it uses hal-deamon plus something like pmount.
Some way to make /etc/hotplug/attach call some kde application with 
DISPLAY=:0.0 that lets the gui-logged user mount (or not) its usb drive ?




Re: kde automounting

2007-09-25 Thread Antti Harri

On Tue, 25 Sep 2007, Rodrigo V. Raimundo wrote:


Is there a way to get kde's automounting functionality working under obsd?
At linux I think it uses hal-deamon plus something like pmount.
Some way to make /etc/hotplug/attach call some kde application with 
DISPLAY=:0.0 that lets the gui-logged user mount (or not) its usb drive ?


Why not just mount the stick (with hotplug) in all cases when it's
plugged in?

--
Antti Harri



Re: kde automounting

2007-09-25 Thread Rodrigo V. Raimundo

Antti Harri wrote:

On Tue, 25 Sep 2007, Rodrigo V. Raimundo wrote:

Is there a way to get kde's automounting functionality working under 
obsd?

At linux I think it uses hal-deamon plus something like pmount.
Some way to make /etc/hotplug/attach call some kde application with 
DISPLAY=:0.0 that lets the gui-logged user mount (or not) its usb 
drive ?


Why not just mount the stick (with hotplug) in all cases when it's
plugged in?



Just automounting works good when you own the machine. I'm planning 
futher installing obsd on public (shared) environments.
I think p(u)mount can be a good solution to let an unprivileged user 
mount/umount removable media on its will. Sudo access to mount/umount is 
dangerous.




Re: kde automounting

2007-09-25 Thread Nick Guenther
On 9/25/07, Rodrigo V. Raimundo [EMAIL PROTECTED] wrote:
 Antti Harri wrote:
  On Tue, 25 Sep 2007, Rodrigo V. Raimundo wrote:
 
  Is there a way to get kde's automounting functionality working under
  obsd?
  At linux I think it uses hal-deamon plus something like pmount.
  Some way to make /etc/hotplug/attach call some kde application with
  DISPLAY=:0.0 that lets the gui-logged user mount (or not) its usb
  drive ?
 
  Why not just mount the stick (with hotplug) in all cases when it's
  plugged in?
 

 Just automounting works good when you own the machine. I'm planning
 futher installing obsd on public (shared) environments.
 I think p(u)mount can be a good solution to let an unprivileged user
 mount/umount removable media on its will. Sudo access to mount/umount is
 dangerous.

Well, there is an unofficial freebsd port of pmount, it seems (judging
from the list at the bottom of
http://packages.debian.org/unstable/utils/pmount), so you could
probably adapt that. But would
http://www.openbsd.org/cgi-bin/man.cgi?query=hotplugd work for you?
Just make sure only root can write the hotplugd scripts and set it up
to automount and you're good, no?

-Nick