aboutsummaryrefslogtreecommitdiffstats
path: root/crypttab.5
diff options
context:
space:
mode:
authorMiloslav Trmac <mitr@volny.cz>2006-07-24 19:49:06 +0000
committerMiloslav Trmac <mitr@volny.cz>2006-07-24 19:49:06 +0000
commit8ebf0a43d2df1b47d6404d33518c1654d740cf73 (patch)
tree97cdfdb9ac6e4d9dd3d93df80af3c25a4769907f /crypttab.5
parentfd8bb5dac2fb70a9d1724cc750d9abb6670e212d (diff)
downloadinitscripts-8ebf0a43d2df1b47d6404d33518c1654d740cf73.tar
initscripts-8ebf0a43d2df1b47d6404d33518c1654d740cf73.tar.gz
initscripts-8ebf0a43d2df1b47d6404d33518c1654d740cf73.tar.bz2
initscripts-8ebf0a43d2df1b47d6404d33518c1654d740cf73.tar.xz
initscripts-8ebf0a43d2df1b47d6404d33518c1654d740cf73.zip
Don't require encrypted swap partitions to be swap formated before setting
them up (#127378)
Diffstat (limited to 'crypttab.5')
-rw-r--r--crypttab.510
1 files changed, 7 insertions, 3 deletions
diff --git a/crypttab.5 b/crypttab.5
index bd23902b..d868a8c2 100644
--- a/crypttab.5
+++ b/crypttab.5
@@ -90,14 +90,18 @@ it has to be entered twice (to prevent typos).
The encrypted block device will be used as a swap partition,
and will be formatted as a swap partition
after setting up the encrypted block device.
-The underlying block device must be already formatted
-as an (unencrypted) swap partition,
-and will be formatted again as an unencrypted swap partition
+The underlying block device
+will be formatted again as an unencrypted swap partition
after destroying the encrypted block device.
(This allows sharing a single swap partition between operating
system installations,
with some of them encrypting the swap partitions and some of them not.)
+\fIWARNING\fR: Using the
+.B swap
+option will destroy the contents of the named partition during every boot, so
+make sure the underlying block device is specified correctly.
+
.PP
No options can be specified for LUKS encrypted partitions.