Re: Mounting volumes through the command line

Cosimo Cecchi <[email protected]>
Newsgroups gmane.comp.gnome.nautilus
Message-ID <1333558675.7993.45.camel@x201>
On Fri, 2012-03-30 at 11:34 +0200, 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.

Hi,

with GNOME 3.4, you should be able to do this from the "Disks"
application; see [1] for more details.
If you want to do this manually or from a script, Nautilus or D-Bus are
not the right places to look at; you should be able to use the
"gvfs-mount" utility shipped with GVfs for this purpose.

[1] http://davidz25.blogspot.com/2012/03/simpler-faster-better.html

Cosimo

-- 
nautilus-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/nautilus-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.