Re: Mounting volumes through the command line

Peter Bauer <[email protected]>
Newsgroups gmane.comp.gnome.nautilus
Message-ID <[email protected]>
Hi,

Try pam-mount ( libpam-mount )

There is a german description here:
http://wiki.ubuntuusers.de/Daten_verschl%C3%BCsseln#luks
In short: In
/etc/security/pam_mount.conf.xml
add a line
<volume user="<YourUserName>" fstype="crypt"
path="/dev/disk/by-uuid/<UUID-of-Device-or-partition>"
mountpoint="<Where/To/Mount>" options="fsck,relatime" />

And in
/etc/pam.d/common-session
add
@include common-pammount

These could be outdated information, and you could lock yourself out
your system, so read carefully the appropriate documentation for your
distribution or versions of pam and pam-mount.

Regards,

c


On 03.04.2012 23:34, László Monda wrote:
> The D-Bus folks couldn't answer my question so far.
> 
> Anybody from there?
> 
> Thanks in advance.
> 
> On Fri, Mar 30, 2012 at 11:34 AM, László Monda <[email protected]> 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.
>>
>> Thanks in advance.
>>
>> --
>> 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.