33cabc86c931bfd81bc45a3a1c09ee980230e460c35bffb137521b4649f513e0
nyanit
Kira-Linux init program for initrd
-
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.
-
Nyanit checks if bcachefs is encrypted, and asks for unlock password if it is.
-
Then it mounts it to /mnt/bee-root.
-
And looks for snapshots with name pattern /mnt/bee-root/bzz_snaps/bzz-yyyy-mm-ddTHH-MM-SS
-
If no snapshots are found it calls switch_root for /mnt/bee-root
-
Othervise vait for F2 for few seconds. And if F2 pressed provides list of snapshoots to boot from.
-
After some snapshoot or just /mnt/bee-root is selected, Nyanit doing switch_root to it.
Languages
Rust
100%