grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Enable `grub-probe -t device' resolution on ZFS


From: Seth Goldberg
Subject: Re: [PATCH] Enable `grub-probe -t device' resolution on ZFS
Date: Fri, 30 Jul 2010 14:42:59 -0700 (PDT)
User-agent: Alpine 2.00 (GSO 1167 2008-08-23)



Quoting Robert Millan, who wrote the following on Fri, 30 Jul 2010:

2010/7/30, Seth Goldberg <address@hidden>:
   I saw your commit of these changes.  Why are you delivering a libzfs.h
and  libnvpair.h?
I think GRUB should be using the headers that are installed on
the systems [...]

Unfortunately there are availability problems with libzfs.h and libnvpair.h.  On
FreeBSD they're not installed system-wide.  On OpenSolaris I can't see them
installed either (although in this one I'm probably missing something).

 Ah, ok.  As long as we try the system-installed libzfs.h first, I'm ok then.

On OpenSolaris, you'll need the system/headers package:

% ls -las /usr/include/libzfs.h
  49 -rw-r--r--   1 root     bin        24369 Jun  9 13:43 /usr/include/libzfs.h
% pkg search -l libzfs.h
INDEX      ACTION VALUE                PACKAGE
basename   file   usr/include/libzfs.h pkg:/system/address@hidden



I'm all for switching to system-wide headers, and I completely agree with the
benefits.  If the problem is FreeBSD-specific, I'll report it to
FreeBSD developers
and switch as soon as it is feasible.

Note: part of <grub/util/libzfs.h> is GRUB-specific though (a
declaration for global libzfs variable handle).

 Ok, no problem.

 Thanks,
 --S



reply via email to

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