]> gitweb.fluxo.info Git - hydra.git/commitdiff
Feat: hydractl: mount-media: LUKS labels
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 31 Jul 2024 00:43:17 +0000 (21:43 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 31 Jul 2024 00:43:17 +0000 (21:43 -0300)
docs/backups.md
docs/todo.md

index b5f19c67e7406b1d187ad3d0fcfbdfb06bb0816d..d39a85ceb646e419f836ea8bce31173869ad2a52 100644 (file)
@@ -48,6 +48,11 @@ generated above by keyringer:
 
     $SUDO cryptsetup luksFormat ${DEVICE}1
 
+If you want to make this volume to have a label (helpful for detecting the disk
+etc; downside: third parties can easily get the name), run this command:
+
+    $SUDO cryptsetup config ${DEVICE}1 --label ${DISK}
+
 Open the encrypted volume and create the basic filesystem structure needed
 to sync content:
 
index d00e4b6dbc6319260c58183fddbc1249915a345d..b1d953c54f33d814e2ba7af1de82add8ae5cf32a 100644 (file)
           > Disabling STANDBY on drive...
           > couldn't find field acronym: STANDBY
           >     [perhaps a '--transport=<tn>' or '--vendor=<vn>' option is needed]
-    * [ ] Mount/umount system volume supporting split partitoon scheme (`root`,
+    * [ ] Mount/umount system volume supporting split partiton scheme (`root`,
           `var`, `home` etc).
+    * [ ] Try to detected the device partition (`/dev/sdb1` etc) based
+          on the LUKS2 label.
 * [ ] Syncing:
     * [ ] Syncing packages: a frontend to `apt-offline` that uses `git-annex`
           repositories: getting, installing, cleaning. One node can request