I would like to revert a bad change in my template, I wanted to follow the documentation here Template implementation | Qubes OS but /etc/xen/scripts/block-snapshot doesn’t exist.
I guess this documentation is outdated. Anyone would know how to rollback last template change? I will be happy to try it and update the documentation accordingly
ah thanks! I was focusing on the template documentation because the revert was mentionned there. So I suppose that whole section should be removed, or linked to the one you linked about “volume backup and revert”
I think not.
One is a user guide, flagged as intended for “advanced users”, the other
is part of the developer documentation, and marked as such.
They have different audiences, and different aims.
Those aren’t supposed to be instructions that a user follows to achieve some goal. Rather, that’s supposed to be a description of how the system is actually implemented.
To oversimplify:
User docs tell users how to do stuff.
Dev docs describe how the system works.
The suggestion that we should just drop the latter and link to the former in this case conflates these two types of documentation, overlooking their distinct purposes and natures.
But if there’s actually some content that’s outdated (e.g., a certain path or file no longer exists, perhaps because it has been has been moved, renamed, or replaced), then of course that should be updated.
This path at the end of the sentence doesn’t exist anymore, which makes the procedure unusable: Prepare snapshot device with root-cow.img.old instead of root-cow.img (/etc/xen/scripts/block-snapshot prepare).