From: bert hubert <ahu@ds9a.nl>
To: akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: [Kconfig documentation patch] dm-crypto && cryptoloop
Date: Thu, 19 Feb 2004 16:52:33 +0100 [thread overview]
Message-ID: <20040219155233.GA5300@outpost.ds9a.nl> (raw)
Current bitkeeper features a cryptoloop which is not safe for journaled file
systems and also a Device Mapper target which is. The patch below updates
Kconfig to that effect.
--- linux-2.6.3/drivers/block/Kconfig.orig 2004-02-19 16:40:05.000000000 +0100
+++ linux-2.6.3/drivers/block/Kconfig 2004-02-19 16:48:14.000000000 +0100
@@ -235,10 +235,13 @@
bits of, say, a sound file). This is also safe if the file resides
on a remote file server.
- There are several ways of doing this. Some of these require kernel
- patches. The vanilla kernel offers the cryptoloop option. If you
- want to use that, say Y to both LOOP and CRYPTOLOOP, and make sure
- you have a recent (version 2.12 or later) version of util-linux.
+ There are several ways of encrypting disks. Some of these require
+ kernel patches. The vanilla kernel offers the cryptoloop option
+ and a Device Mapper target (which is superior, as it supports all
+ file systems). If you want to use the cryptoloop, say Y to both
+ LOOP and CRYPTOLOOP, and make sure you have a recent (version 2.12
+ or later) version of util-linux. Additionally, be aware that
+ the cryptoloop is not safe for storing journaled filesystems.
Note that this loop device has nothing to do with the loopback
device used for network connections from the machine to itself.
@@ -257,6 +260,11 @@
provided by the CryptoAPI as loop transformation. This might be
used as hard disk encryption.
+ WARNING: This device is not safe for journaled file systems like
+ ext3 or Reiserfs. Please use the Device Mapper crypto module
+ instead, which can be configured to be on-disk compatible with the
+ cryptoloop device.
+
config BLK_DEV_NBD
tristate "Network block device support"
depends on NET
--
http://www.PowerDNS.com Open source, database driven DNS Software
http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
reply other threads:[~2004-02-19 15:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20040219155233.GA5300@outpost.ds9a.nl \
--to=ahu@ds9a.nl \
--cc=akpm@osdl.org \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®