LWN.net Logo

GRUB imports ZFS support

GRUB imports ZFS support

Posted Dec 2, 2010 19:48 UTC (Thu) by mjw (subscriber, #16740)
Parent article: GRUB imports ZFS support

> (2) ZFS is not thought to carry a GPL-compatible license.

But it is! The ZFS code Sun/Oracle wrote for GRUB was explicitly released under the terms of the GNU General Public license version 2 or later:
http://blogs.sun.com/darren/entry/zfs_under_gplv2_already...


(Log in to post comments)

GRUB imports ZFS support

Posted Dec 2, 2010 19:53 UTC (Thu) by mjw (subscriber, #16740) [Link]

Actual GPLed code on oracle servers here: http://src.opensolaris.org/source/history/onnv/onnv-gate/...

GRUB imports ZFS support

Posted Dec 2, 2010 20:04 UTC (Thu) by cjwatson (subscriber, #7322) [Link]

That's what Robert said later in the post. By "ZFS" in the part you quoted, I believe he meant the kernel portions.

GRUB imports ZFS support

Posted Dec 2, 2010 20:16 UTC (Thu) by mjw (subscriber, #16740) [Link]

Ah, right, sorry. I am not sure where that part of the quote then comes from. Maybe the editor added it.

GRUB imports ZFS support

Posted Dec 2, 2010 21:41 UTC (Thu) by paulj (subscriber, #341) [Link]

I havn't read the code, but my understanding is that the GPLed ZFS for GRUB is but a very functionally limited flavour of ZFS. It's enough to boot from /certain/ ZFS pools (e.g. mirrored ones, but *no* support for RAIDZ), and that's it.

Don't get too excited basically.

GRUB imports ZFS support

Posted Dec 3, 2010 8:44 UTC (Fri) by trasz (guest, #45786) [Link]

Which is somewhat infortunate, given that. e.g. FreeBSD boots from RAIDZ without problems. Maybe merging some code from FreeBSD ZFS bootloader into GRUB might be in order?

GRUB imports ZFS support

Posted Dec 3, 2010 8:53 UTC (Fri) by paulj (subscriber, #341) [Link]

FreeBSD's ZFS support is based on Suns' CDDLed code though, isn't it? (Corollary: if so, that code can not be in FreeBSD core).

GRUB imports ZFS support

Posted Dec 3, 2010 14:40 UTC (Fri) by trasz (guest, #45786) [Link]

So, turns out that parts of the FreeBSD loader(8) required to support RAIDZ are CDDL-licensed; the rest, which looks like it could boot from e.g. mirrored pool, is BSD-licensed. Still, from the user point of view it doesn't matter - it's compiled in by default and "just works".

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds