Venom1991 / refind-btrfs

Generate rEFInd manual boot stanzas from Btrfs snapshots
GNU General Public License v3.0
151 stars 9 forks source link

Editable name for snapshot menuentries #59

Open wherron01 opened 4 months ago

wherron01 commented 4 months ago

Hello, I have several methods of generating snapshots on my system (timeline, boot, and pacman pre/post snapshots namely). I would love to be able to see which is which when booting. Currently, the only way I can do this is by timestamp and snapshot id. However, each snapshot contains an XML file which contains a description of the snapshot. It would be very useful to be able to parse that and insert that description into the menuentry for the corresponding snapshot, so that I could tell exactly what I'm booting and more easily boot the correct thing if I know what happened to my system.

Venom1991 commented 4 months ago

Hi, basically the same feature was requested some time ago and my reply remains the same.

Basically, if I were to implement it thoroughly, I'd have to figure out and define these variables for three different snapshot management tools (a union of said variables, perhaps), design an interface with three implementations (Snapper, Timeshift and btrbk), set up these tools on my machine, expand the configuration file, etc. It's a lot of work but I'll leave this issue open as a reminder and perhaps begin work sometime in the future. I really don't know when.