public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] dmcrypt for a /home directory that already has many files on it
@ 2005-10-20 20:25 Rob
  2005-10-20 20:40 ` Christoph Eckert
  0 siblings, 1 reply; 3+ messages in thread
From: Rob @ 2005-10-20 20:25 UTC (permalink / raw
  To: gentoo-user

I was planning to use dmcrypt on my /home partition and I read the
proceedure on the Gentoo Wiki.  I think though, that the proceedures
given there are for new partitions without a filesystem.  Maybe I am
wrong.

Anyway, I wondered if there would be any problem with temporarily moving
my /home data to some new directory on /usr, then using the dmcrypt on
the /home directory, and finally copying all of the old /home data back
onto the new encrypted partition?

Rob.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] dmcrypt for a /home directory that already has many files on it
  2005-10-20 20:25 [gentoo-user] dmcrypt for a /home directory that already has many files on it Rob
@ 2005-10-20 20:40 ` Christoph Eckert
  2005-10-20 20:51   ` Rob
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Eckert @ 2005-10-20 20:40 UTC (permalink / raw
  To: gentoo-user


> I was planning to use dmcrypt on my /home partition and I read the
> proceedure on the Gentoo Wiki.  I think though, that the proceedures
> given there are for new partitions without a filesystem.  Maybe I am
> wrong.

I didn't read it, but if this encryption crypts a complete partition, 
then I'd like to recommend to better use a crypted loopback mounted 
file. The reason is backup: In the latter case you can simply compress 
the crypted container and back it up - it is still crypted.

I did it this way some time ago and found it very convenient.

> Anyway, I wondered if there would be any problem with temporarily
> moving my /home data to some new directory on /usr, then using the
> dmcrypt on the /home directory, and finally copying all of the old
> /home data back onto the new encrypted partition?

Put it in a tarball preserving all file attributes (ownership and other 
flags) and untar it into the crypted container after mounting it.


Best regards


    ce


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] dmcrypt for a /home directory that already has many files on it
  2005-10-20 20:40 ` Christoph Eckert
@ 2005-10-20 20:51   ` Rob
  0 siblings, 0 replies; 3+ messages in thread
From: Rob @ 2005-10-20 20:51 UTC (permalink / raw
  To: gentoo-user

Christoph Eckert wrote:
>>I was planning to use dmcrypt on my /home partition and I read the
>>proceedure on the Gentoo Wiki.  I think though, that the proceedures
>>given there are for new partitions without a filesystem.  Maybe I am
>>wrong.
> 
> 
> I didn't read it, but if this encryption crypts a complete partition, 
> then I'd like to recommend to better use a crypted loopback mounted 
> file. The reason is backup: In the latter case you can simply compress 
> the crypted container and back it up - it is still crypted.
> 
> I did it this way some time ago and found it very convenient.
> 
> 
>>Anyway, I wondered if there would be any problem with temporarily
>>moving my /home data to some new directory on /usr, then using the
>>dmcrypt on the /home directory, and finally copying all of the old
>>/home data back onto the new encrypted partition?
> 
> 
> Put it in a tarball preserving all file attributes (ownership and other 
> flags) and untar it into the crypted container after mounting it.
> 
> 
> Best regards
> 
> 
>     ce
> 
> 
Thank you.  A very good idea i.e. the tar file.

Rob
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-10-20 20:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-20 20:25 [gentoo-user] dmcrypt for a /home directory that already has many files on it Rob
2005-10-20 20:40 ` Christoph Eckert
2005-10-20 20:51   ` Rob

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox