This patch makes OpenSolaris <sys/nvpair.h> buildable outside the compatibility environment, so that it can be installed system-wide, along with <libnvpair.h>, making it easier for third party apps to link with libnvpair. It's been forwarded to OpenSolaris BTS already: - https://defect.opensolaris.org/bz/show_bug.cgi?id=16697#c0 See also the discussion on GRUB list [1] about this problem: - http://osdir.com/ml/grub-devel-gnu/2010-07/msg00263.html [1] I'm in the process of adding support to GRUB for booting from ZFS Fix: Patch attached with submission follows:
Responsible Changed From-To: freebsd-bugs->freebsd-fs Over to maintainer(s).
If this wasn't imported into OpenSolaris I suggest a illumos issue gets filled. https://www.illumos.org/issues -- Martin Matuska FreeBSD committer http://blog.vx.sk
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped
We seem to have ended up in the worst of all possible worlds here. We have files like nvpair.h and libzfs_core.h installed, but they depend on Solaris compat headers that are *not* installed. Worse, we have a libnv.h that exposes an nvlist_t that looks like the one that libzfs_core.h uses, but is not actually compatible.
Keyword: patch or patch-ready – in lieu of summary line prefix: [patch] * bulk change for the keyword * summary lines may be edited manually (not in bulk). Keyword descriptions and search interface: <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>
We've moved from OpenSolaris to OpenZFS as a upstream. As part of that, sys/nvpair.h has been extensively overhauled, so this patch doesn't apply. Plus there's no libnv.h at this point. Close this bug as overcome by events.