[Top][All Lists]

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

Re: [PATCH] Don't create grubenv on ZFS

From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: [PATCH] Don't create grubenv on ZFS
Date: Fri, 03 Feb 2012 11:22:00 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20120104 Icedove/8.0

On 03.02.2012 11:07, Richard Laager wrote:
On Fri, 2012-02-03 at 11:05 +0100, Vladimir 'φ-coder/phcoder' Serbinenko
On 02.02.2012 12:16, Richard Laager wrote:
GRUB can't write to ZFS.  Creating a grubenv file leads to a misleading
"sparse file not allowed" error on boot.  The attached patch for
grub-install skips the creation of a grubenv file on ZFS.
This isn't specific to ZFS. BtrFS, squash4, all variants of cpio, tar
and romfs are affected by the same problem. Could you expand your patch
to handle those?
I suspect that handling them by name is not the best way to do this. How
can I tell if a filesystem doesn't support writing?
I think it's the best way. One could use grub-fstest blocklist but it has other problems. While btrfs and zfs don't hook blocklist on purpose (COW and, more importantly, checksums), others are just almost never sector-aligned or are compressed.

Vladimir 'φ-coder/phcoder' Serbinenko

reply via email to

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