summaryrefslogtreecommitdiff
path: root/etc/crypttab
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2023-10-25 08:52:41 +0000
committerXiao Pan <gky44px1999@gmail.com>2023-10-25 08:52:41 +0000
commitfe65a913b440f529c831f172486103feadcdfb94 (patch)
treefcb18ad2460b6d1f4163beecc7363705f9fd6d6b /etc/crypttab
parentca118323ae9ae29468ce485f8ad230cbf0366bd1 (diff)
new files
Diffstat (limited to 'etc/crypttab')
-rw-r--r--etc/crypttab14
1 files changed, 14 insertions, 0 deletions
diff --git a/etc/crypttab b/etc/crypttab
new file mode 100644
index 00000000..8ce17a7e
--- /dev/null
+++ b/etc/crypttab
@@ -0,0 +1,14 @@
+# Configuration for encrypted block devices.
+# See crypttab(5) for details.
+
+# NOTE: Do not list your root (/) partition here, it must be set up
+# beforehand by the initramfs (/etc/mkinitcpio.conf).
+
+# <name> <device> <password> <options>
+# home UUID=b8ad5c18-f445-495d-9095-c9ec4f9d2f37 /etc/mypassword1
+# data1 /dev/sda3 /etc/mypassword2
+# data2 /dev/sda5 /etc/cryptfs.key
+# swap /dev/sdx4 /dev/urandom swap,cipher=aes-cbc-essiv:sha256,size=256
+# vol /dev/sdb7 none
+
+home UUID=20542319-35a2-4325-9df9-2ed9bd795d0f