More readme changes

This commit is contained in:
2026-09-07 17:54:05 +02:00
parent 1ce2a8c5e8
commit 000c8b94b5
+9 -6
View File
@@ -8,20 +8,23 @@ And this partition should be formated to bcachefs.
2. Nyanit checks if bcachefs is encrypted, and asks for unlock password if it is. 2. Nyanit checks if bcachefs is encrypted, and asks for unlock password if it is.
3. Then it mounts it to **/mnt/bee-root**. 3. Then it mounts it to **/mnt/real-bee**.
4. Now dealing with snapshoots. Its getting complicated because we need to have then outside root subvolume 4. Now dealing with snapshoots. Its getting complicated because we need to have then outside root subvolume
Real root subvolume should be named **real-bee** Root subvolume should be named **bee-root**
Snapshoots made by hive-up should be placed in **real-bee/bzz-snaps** - **/mnt/bee-root/real-bee/bzz-snaps** Snapshoots made by hive-up should be placed in **bee-root/bzz-snaps** - **/mnt/real-bee/bee-root/bzz-snaps**
We need to transver snapshoot if any from **/mnt/bee-root/real-bee/bzz-snaps** to **/mnt/bee-root/bzz-snaps** We need to transver snapshoot if any from **/mnt/real-bee/bee-root/bzz-snaps** to **/mnt/real-bee/bzz-snaps**
Snapshoots names should match **bzz-yyyy-mm-ddTHH-MM-SS** pattern. Snapshoots names should match **bzz-yyyy-mm-ddTHH-MM-SS** pattern.
4. And looks for snapshots with name pattern **/mnt/bee-root/bzz-snaps/bzz-yyyy-mm-ddTHH-MM-SS** 4. And looks for snapshots with name pattern **/mnt/real-bee/bzz-snaps/bzz-yyyy-mm-ddTHH-MM-SS**
5. If no snapshots are found it calls **switch_root** for **/mnt/bee-root/real-bee** 5. If no snapshots are found it calls **switch_root** for **/mnt/real-bee/bee-root**
6. Othervise vait for F2 for few seconds. 6. Othervise vait for F2 for few seconds.
And if F2 pressed provides list of snapshoots to boot from. And if F2 pressed provides list of snapshoots to boot from.
7. After some snapshoot or just **/mnt/bee-root/real-bee** is selected, Nyanit doing **switch_root** to it. 7. After some snapshoot or just **/mnt/bee-root/real-bee** is selected, Nyanit doing **switch_root** to it.
8. TO-DO
- add cleaning of old snapshoots.
- add replacing bee-root with snapshoot