Re: Hotplug: no more fstab entries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jef,

On Thu, 2006-02-23 at 11:40 -0500, Jeff Spaleta wrote:
> If I had a better personal understanding of the capabilities of the
> dbus commandline tools like dbus-send that would help. Are there
> existing examples of dbus-send usage that do useful work in the wild?

This document is out of date

 http://webcvs.freedesktop.org/*checkout*/hal/hal/doc/spec/hal-spec.html

but it is where stuff like this will end of for HAL... but we're pre-1.0
so we're working more on code than documentation. We take patches
though :-). Send them to

 http://lists.freedesktop.org/mailman/listinfo/hal

We can also answer specific questions about what parameters the Mount()
method takes. And I'm normally a lot more reasonable on that list than
here :-).... The best advice I can give you right now... is to read the
gnome mount source... here

 http://cvs.gnome.org/viewcvs/*checkout*/gnome-mount/src/gnome-mount.c

it will show you what the parameters are... and what exceptions you need
to catch.. Hope this helps...

Btw /etc/pm/hooks/00NetworkManager is one example of using dbus-send.

> I honestly do not grok dbus communication well enough to be able to
> parse the example you give usefully from a "get crap done with a shell
> script" sysadmin point of view.  And the errors spawned the what I
> assume to be non-functional example in the dbus-send on the fc4
> manpage leaves my mouth agape and my eyes glassy.
> 
> If you know of something better than 
> http://dbus.freedesktop.org/doc/dbus-tutorial.html
> to help sysadmins learn enough about dbus to use dbus-send effectively
> please let me know. Especially any existing generally useful scripts
> that exist to do useful work.

>From another mail:
> Actually since we are talking about scripting dbus actions with the
> cmdline tools... how do i get access to dbus's introspection ability
> via the cmdline tools so that as a sysadmin I can explore the object
> path and valid messages?

There is not really an easy way to do this yet. But someday we'll have
nice introspection and a generic browser UI for these.

    David


-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux