Mounting volumes through the command line

Chris Kühl blixtra at
Wed Apr 4 00:39:51 PDT 2012

On Wed, Apr 4, 2012 at 9:06 AM, Yury G.  Kudryashov
<urkud.urkud at> wrote:
> László Monda wrote:
>> On Sun, Apr 1, 2012 at 3:34 AM, Thiago Macieira <thiago at> wrote:
>>> On domingo, 1 de abril de 2012 00.12.32, László Monda wrote:
>>>> Hi List,
>>>> There's a second HDD in my laptop which is fully encrypted.  I saved
>>>> its password and I can easily mount it by simply clicking on its label
>>>> in Nautilus.  I'd like to automatically get this HDD mounted upon
>>>> logging into Gnome.
>>>> I'm sure that it's possible somehow, either through D-Bus or by
>>>> calling Nautilus with some arguments.  D-Bus may be more beneficial
>>>> because it wouldn't involve any windows popping up.
>>>> Please help or direct me to somewhere where somebody can answer my
>>>> question.
>>> Please ask in a Nautilus mailing list what you must do to accomplish that
>>> goal. Once you know which call you must make (service, object, interface,
>>> method and parameters to send), we can help you craft the call in a
>>> script or in your program.
>> I've already asked them on their mailing list, will try another
>> channel this time.  Thanks!
> You can try to introspect org.freedesktop.UDisks system service. I use
> qdbus/qdbusviewer for this but you can try gdbus as well.
> BTW, is there any gtk+ GUI for d-bus introspection and invoking methods
> (like qdbusviewer)?

Yes, it's called D-Feet.


More information about the dbus mailing list