Re: impossible to use <libzfs.h> out-of-tree
- Reply: Alan Somers : "Re: impossible to use <libzfs.h> out-of-tree"
- In reply to: Alan Somers : "Re: impossible to use <libzfs.h> out-of-tree"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 12 Jun 2025 03:53:17 UTC
Alan Somers: > libzfs is unstable, and out-of-tree utilities should avoid using it, if > possible. If an out-of-tree utility links to it, then that utility might > break as a result of an OS upgrade, even a minor one. understood, but right now no out-of-tree utility can link to libzfs since we don't ship the required headers. > [...] libzfs_core is stable, and its use is encouraged. i don't suppose there's any documentation somewhere on how to use it? the header file is rather uninformative.