2026-07-08 13:43 UTC
I thought I had a fun weekend project, and really I have just ended up feeling a lot of this: https://despairlabs.com/blog/posts/2025-03-12-we-should-improve-libzfs-somewhat/
Trying to write code that manages zfs is tragically bad, I see why people give up
Replies (1)
-
@worr@bsd.network 2026-07-08 14:02
Specifically, what I was trying to do involved (among other things that didn't cause problems) (un)mounting zfs datasets and listing zfs datasets. libzfs_core does not support either, and at least on FreeBSD, libzfs seems like it's supposed to be an internal-only library, since some of the headers included in libzfs.h aren't installed. It seems like the options for doing this are shelling out (ew) or maybe I can do something with zfs channel programs? Who knows. Definitely a frustrating situation.