linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lei Yang <leiyang@nec-labs.com>
To: linux-admin@vger.kernel.org
Cc: linux-config@vger.kernel.org
Subject: Encrypted Loopback Filesystem
Date: Tue, 03 Aug 2004 10:43:45 -0700	[thread overview]
Message-ID: <1091555025.5487.49.camel@bijar.nec-labs.com> (raw)

Hello,

I am trying to play around loopback device and want to set up an
encrypted loopback filesystem. I did the following things:

1. losetup -e serpent /dev/loop0 /etc/crypt
/ect/crypt: Is a directory

So I tried: losetup -e serpent /dev/loop0 /etc/cryptfile and this time
cryptfile is a plain txt file.

Enter passwd...

2. mkfs -t ext2 /dev/loop0
3. mount -t ext2 /dev/loop0 /mnt/crypt

After this, how do I verify that anything happened that has enabled
encryption? I can't understand where the encrypted filesystem lies in
here:( Plus, when we say 'encrypted', which file is on earth encrypted?
Is that files and data in /mnt/crypt are encrypted form of
/etc/cryptfile? Really confused.

TIA!

Lei 



             reply	other threads:[~2004-08-03 17:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-03 17:43 Lei Yang [this message]
2004-08-04  0:58 ` Encrypted Loopback Filesystem Glynn Clements
2004-08-04 17:32   ` Lei Yang
2004-08-09  6:42     ` Thiago Rondon
2004-08-09  8:19 ` markus reichelt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1091555025.5487.49.camel@bijar.nec-labs.com \
    --to=leiyang@nec-labs.com \
    --cc=linux-admin@vger.kernel.org \
    --cc=linux-config@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).