Bug 149173 - [patch] [zfs] make OpenSolaris <sys/nvpair.h> installable
Summary: [patch] [zfs] make OpenSolaris <sys/nvpair.h> installable
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 1.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2010-08-01 13:10 UTC by Robert Millan
Modified: 2024-10-11 22:08 UTC (History)
2 users (show)

See Also:


Attachments
file.diff (868 bytes, patch)
2010-08-01 13:10 UTC, Robert Millan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Millan 2010-08-01 13:10:03 UTC
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:
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2010-08-01 17:41:53 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-fs

Over to maintainer(s).
Comment 2 Martin Matuska freebsd_committer freebsd_triage 2012-09-06 14:27:34 UTC
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
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:17 UTC
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
Comment 4 David Chisnall freebsd_committer freebsd_triage 2021-02-21 12:22:21 UTC
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.
Comment 5 Graham Perrin freebsd_committer freebsd_triage 2022-10-17 12:36:00 UTC
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>
Comment 6 Warner Losh freebsd_committer freebsd_triage 2024-10-11 22:08:51 UTC
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.