Add -k session to bcachefs unlock command.

This commit is contained in:
2026-06-24 18:46:04 +02:00
parent 212fa7ed44
commit 75c043b652
2 changed files with 22 additions and 3 deletions
+19 -1
View File
@@ -1,3 +1,21 @@
# nyanit
Init program for initrd
Kira-Linux init program for initrd
1. It looks for partitoin with GPT labelve **bee-root** what will shown in dev tree as **/dev/disk/by-partlabel/bee-root**
And this partition should be formated to bcachefs.
2. Nyanit checks if bcachefs is encrypted, and asks for unlock password if it is.
3. Then it mounts it to **/mnt/bee-root**.
4. And looks for snapshots with name pattern **/mnt/bee-root/bzz_snaps/bzz-yyyy-mm-ddTHH-MM-SS**
5. If no snapshots are found it calls **switch_root** for **/mnt/bee-root**
6. Othervise vait for F2 for few seconds.
And if F2 pressed provides list of snapshoots to boot from.
7. After some snapshoot or just **/mnt/bee-root** is selected, Nyanit doing **switch_root** to it.