summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-04-17 12:46:23 +0200
committerGravatar Christian Hesse <mail@eworm.de>2014-04-17 12:46:23 +0200
commit104a2e76f9033f49e8fb33817fbdd1d19e13c2a2 (patch)
treede75bfbfd4f4c3ad83051790abe28fca589db0e0 /README.md
parent09a783e4ca5026efc458ca4f3495c494ebfffc44 (diff)
downloadmkinitcpio-ykfde-104a2e76f9033f49e8fb33817fbdd1d19e13c2a2.tar.gz
mkinitcpio-ykfde-104a2e76f9033f49e8fb33817fbdd1d19e13c2a2.tar.zst
get encrypted device from /etc/crypttab.initramfs
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 9 insertions, 9 deletions
diff --git a/README.md b/README.md
index 8bb3307..083a19b 100644
--- a/README.md
+++ b/README.md
@@ -38,19 +38,19 @@ This will place files to their desired places in filesystem.
Usage
-----
-First prepare the key. Plug it in, make sure it is configured for
-`HMAC-SHA1`, then run:
-
-> ykfde -d /dev/`LUKS-device`
-
-This will store a challenge in `/etc/ykfde.d/` and add a new slot to
-your LUKS device. Make sure systemd knows about your encrypted device by
+Make sure systemd knows about your encrypted device by
adding a line to `/etc/crypttab.initramfs`. It should read like:
> `mapping-name` /dev/`LUKS-device` -
-Add `ykfde` to your hook list in `/etc/mkinitcpio.conf` and rebuild your
-initramfs with:
+`ykfde` will read its information from there. Then prepare the key. Plug
+it in, make sure it is configured for `HMAC-SHA1`. After that run:
+
+> ykfde
+
+This will store a challenge in `/etc/ykfde.d/` and add a new slot to
+your LUKS device. Last add `ykfde` to your hook list in
+`/etc/mkinitcpio.conf` and rebuild your initramfs with:
> mkinitcpio -p linux