From d6e91b5bc9f2d028873c5f1aa75c2d7d17c8a082 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 30 Jul 2024 21:43:17 -0300 Subject: Feat: hydractl: mount-media: LUKS labels --- docs/backups.md | 5 +++++ docs/todo.md | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) 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=' or '--vendor=' 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 -- cgit v1.2.3