Watching for network mounts (NFS, SMB, etc)

John (J5) Palmieri johnp at redhat.com
Tue Mar 11 12:27:51 PDT 2008


Hi,

What you want is HAL.  D-Bus is just the communication layer.  HAL
watches system events and sends hardware events over D-Bus.  Take a look
at gnome-volume-manager for examples of watching for hotplug events.

On Mon, 2008-03-10 at 16:16 -0400, Madison Kelly wrote:
> Hi all,
> 
>    Is there a (relatively) consistent bus to listen to for anything 
> being mounted or unmounted on a system or, failing that, listens for 
> network devices like NFS or SMB being [un]mounted?
> 
>    I can't rely on a graphical application like Gnome's VFS daemon as I 
> can't expect any graphical interface to be installed on a user's 
> machine. I am hoping there is something on the system bus. :)
> 
>    Thanks all!
> 
> Madison
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus
-- 
John (J5) Palmieri <johnp at redhat.com>



More information about the dbus mailing list