Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I was not aware of the subtleties regarding the ZFS license.

Would it be possible (read: legal) for someone to modify the ZFS source to be more easily buildable into the Linux kernel, but then distribute it as source code only, such that an end user can build a ZFS-enabled Linux kernel on their own?

Surely as long as the end user didn't distribute the resulting kernel, that would be OK?

Edit: I see that this has been done. Thanks. :)



> Would it be possible (read: legal) for someone to modify the ZFS source to be more easily buildable into the Linux kernel, but then distribute it as source code only

Yes and that has been done. The ZFS on Linux[0] distributes a DKMS source package that each user of ZoL uses to build a binary kernel module. DKMS automatically builds the module without manual interaction from the user, similarly to installing a regular binary package.

This is legal but the resulting kernel/zfs module is non-redistributable.

[0] http://zfsonlinux.org/


Indeed, it's possible and even mostly-supported (at least on Gentoo) to compile the code into the kernel; i.e., not as a module. I have a zfs system without kmod support (reduces a huge attack surface and just seems cleaner).


The article states that Debian does this, and gives a link: http://blog.halon.org.uk/2016/01/on-zfs-in-debian/




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: