On 11/11/2019 20.37, Chris Murphy wrote:
Anyway, the lack of a generic (file system independent) way to handle this use case is actually a bit concerning.
I think that a more simpler approach would be developing a GRUB fs, where is the kernel to be adapted to the needing of GRUB... So we can lowering the requirement... The GRUB-fs should have the following main requirements: - allow the atomicity guarantee - allow molti-disk setup - allow grub to update some file (grubenv come me as first) - it should require a simple implementation (easy to porting to multiple system, which basically means linux, *bsd and solaris ?) - the speed should be not important Anyway GRUB on BTRFS suffers of a big limitation: GRUB can't update the grubenv file; and until GRUB will learn how update a COW filesystem, this limit will be impossible to avoid (*) G.Baroncelli (*) Even tough implementing the update of a NOCSUM file should be not so difficult...
