[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grubenv on md, Btrfs, LUKS, etc

From: Chris Murphy
Subject: grubenv on md, Btrfs, LUKS, etc
Date: Mon, 17 Sep 2018 22:59:33 -0600


GRUB code can certainly read files that are on Btrfs, md devices,
LUKS, LVM, and so on. But GRUB code can also write to the physical
block for grubenv - but are there safe guards that prevent it from
doing so if grubenv is on something like Btrfs, mdadm raid5, LUKS?

And also what about XFS? This used to be safe, but now with reflink
support, grubenv could be reflink copied, meaning any overwrite is
disallowed and must be COW'd. How is that handled?

I'm pretty sure on Btrfs GRUB knows is can't write to grubenv, I'm
just curious about the other cases.

Chris Murphy

reply via email to

[Prev in Thread] Current Thread [Next in Thread]