Bug#595152: ZFS support
On Mon, Sep 6, 2010 at 7:48 AM, Robert Millan <email@example.com> wrote:
> Hi Otavio,
> 2010/9/5, Otavio Salvador <firstname.lastname@example.org>:
>> I didn't get the reason why you created grub_probe. Why grub-common
>> wasn't available in our target?
> IIUC grub-common isn't yet installed the first time findfs() is used.
> Alternatively, one could just apt-install grub-common and then
> use $chroot $ROOT grub-probe directly. Is this better? I assumed
> redundant apt-install calls are cheap.
>> You are copying a file from /boot from d-i environment, it looks
>> better if you queue up the package that provides it to be installed in
>> target to avoid this.
>> Is it possible?
> No. /boot/zfs/zpool.cache is dynamically generated. It's some sort of
> index of existing ZFS filesystems (think of it like fstab). GRUB itself
> doesn't need it, but kFreeBSD does, so GRUB loads it at boot time
> and needs to know about it when generating grub.cfg.
This is more a Colin's call then mine.
Colin, what do you think about Robert's patch? Technically it looks OK
but I prefer if you ack it.
Otavio Salvador O.S. Systems
E-mail: email@example.com http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br