Re:Show HN: ZFS Implementation in Python
by newnewpdro on Saturday May 04, 2019 @01:00PM
(#19827684)
Would the CDDL matter for a python implementation that will never become part of the kernel?
[ Parent
| on HN ]
Re:Show HN: ZFS Implementation in Python
by CaliforniaKarl on Saturday May 04, 2019 @01:29PM
(#19827867)
You'd want a reverse-engineering lawyer, so be certain. But my (IANAL) guess is: If this is a proper reverse-engineered implementation, you could then convert _this_ implementation to C, and contribute _that_ into the kernel.
Except, it seems this is BSD-licensed, so I'm not sure how that would work in the kernel (which is GPLv2).
BSDL code is fine in the GPLv2 kernel. E.g., most of the DRM drivers are dual BSD-GPL licensed.
Re:Show HN: ZFS Implementation in Python
by lunixbochs on Saturday May 04, 2019 @02:11PM
(#19828146)
BSD is a subset of GPL's restrictions, so you can include BSD-licensed code in a GPL work.
Subset isn't quite accurate, but "GPL compatible" might be a good way to describe it.
Re:Show HN: ZFS Implementation in Python
by dr0verride on Saturday May 04, 2019 @01:19PM
(#19827807)
It's clear to me that the solution is to integrate python into the kernel.
Re:Show HN: ZFS Implementation in Python
by yjftsjthsd-h on Saturday May 04, 2019 @10:48PM
(#19830800)
I assume you mean this as a joke, but I would point out that at least one of the BSD family has gone and baked lua into their kernel. Granted, lua is rather meant for that kind of thing and python isn't, but it is entertaining to point out an interpreted language that has been stuck into a unix kernel:)
there was lua in linux too, with lunatik https://github.com/lunatik-ng/lunatik-ng