Re: Mounting volumes through the command line

László Monda <[email protected]>
Newsgroups gmane.comp.gnome.nautilus
Message-ID <CAJ9y4KmhgeeN-CPLG4EW+pF-AQ-eNgMfa3SnUrT7epRFdJ=m3A@mail.gmail.com>
On Wed, Apr 4, 2012 at 6:57 PM, Cosimo Cecchi <[email protected]> wrote:
> 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,

You've made my day!

All it took is:
gvfs-mount -d /dev/sdb

Thank you so much!

-- 
László Monda <http://monda.hu>
-- 
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.