aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-07-30 21:43:17 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-07-30 21:43:17 -0300
commitd6e91b5bc9f2d028873c5f1aa75c2d7d17c8a082 (patch)
treed8030ead17499bc37f2c66e9b11ab24fec085f36
parent3b6178116977b2a56cb381a23430c2b799acc862 (diff)
downloadhydra-d6e91b5bc9f2d028873c5f1aa75c2d7d17c8a082.tar.gz
hydra-d6e91b5bc9f2d028873c5f1aa75c2d7d17c8a082.tar.bz2
Feat: hydractl: mount-media: LUKS labels
-rw-r--r--docs/backups.md5
-rw-r--r--docs/todo.md4
2 files changed, 8 insertions, 1 deletions
diff --git a/docs/backups.md b/docs/backups.md
index b5f19c6..d39a85c 100644
--- a/docs/backups.md
+++ b/docs/backups.md
@@ -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:
diff --git a/docs/todo.md b/docs/todo.md
index d00e4b6..b1d953c 100644
--- a/docs/todo.md
+++ b/docs/todo.md
@@ -24,8 +24,10 @@
> 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