Source Code?

Moderators: jhartley, MSR734, nola

Source Code?

Post by roddi » Mon Sep 17, 2012 3:17 am

Hi,

the CDDL (the license Sun used to open source stuff) dictates a release of the source code. Is it somewhere where I haven't looked or is it still MIA?

Best Regards
Roddi
roddi Offline


 
Posts: 5
Joined: Mon Sep 17, 2012 3:08 am

Re: Source Code?

Post by pooserville » Mon Sep 17, 2012 11:24 pm

I'm also interested in the answer to this question.
pooserville Offline


 
Posts: 4
Joined: Sat Sep 15, 2012 4:59 pm

Re: Source Code?

Post by si-ghan-bi » Tue Sep 18, 2012 7:20 am

The license does not specify how long it should take to release it. They could make it available as soon as a new version comes out :)
si-ghan-bi Offline


 
Posts: 145
Joined: Sat Sep 15, 2012 5:55 am

Re: Source Code?

Post by roddi » Tue Sep 18, 2012 7:59 am

si-ghan-bi wrote:The license does not specify how long it should take to release it. They could make it available as soon as a new version comes out :)


Tens Complement never released any source code either, so my hopes are not very high. But at least we have working code!
roddi Offline


 
Posts: 5
Joined: Mon Sep 17, 2012 3:08 am

Re: Source Code?

Post by jollyjinx » Thu Sep 20, 2012 1:01 am

Thanx for publishing the code on https://github.com/roddi/ZCE-CDDL-FILES
jollyjinx Offline


 
Posts: 60
Joined: Sun Sep 16, 2012 12:40 pm
Location: Munich - Germany

ZFS source tour

Post by grahamperrin » Sat Sep 29, 2012 5:03 am

There's a ZFS source tour (highlights) in the OpenSolaris area.

Do we know of any other visual guide or tour that's more recent? In the Illumos or Nexenta areas, maybe?

(It's great to see, in public, the portions of code that can be shared – thanks!)
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

Re: Source Code?

Post by satadru » Sat Sep 29, 2012 4:04 pm

FYI, There's already been some discussion of the code drop here:
https://groups.google.com/forum/?fromgroups=#!topic/zfs-macos/WJ3JFIIchfQ
satadru Offline


 
Posts: 20
Joined: Fri Sep 14, 2012 10:07 pm

Re: Source Code?

Post by chriswayg » Mon Nov 05, 2012 2:58 am

satadru wrote:FYI, There's already been some discussion of the code drop here:
https://groups.google.com/forum/?fromgroups=#!topic/zfs-macos/WJ3JFIIchfQ


from the above discussion:
Am 20.09.12 17:43, schrieb Daniel Bethe:
>
>> I had a look - it's similar to the ex-Apple 10a286 bits. Specifically, it's essentially the same as the Sun code drop with various tweaks as listed in the porting guide (e.g. #ifdef around component names, the fact that OSX uses funcs instead of struct access for its fields and so forth). Naturally none of the OSX specific stuff is there. So whilst a useful reference point, I wouldn't say it's going to be a game changer.

I made a complete review of the provided code, comparing it file-by-file with the corresponding onnv_147 code. I did not analyzed every change in-depth, but I did skimmed over *every* change they left in the files. My impression is, they followed the *words* of the license, but they went far on trying hard not to follow the *spirit* of the license.

With two exceptions, where I honestly (but may be false) believe they
forgot to remove a larger code blob, only minor changes are left:

- a lot if "#ifndef _DARWIN_" to comment out stuff they don't support

- a lot of two to three lines "#ifdef _DARWIN_ ... #else ... #endif" to
rename structure members or replace direct member access with
calling macros or functions.

- what made me angry is, that on several places you find either
"#ifdef ... #else ... #endif" blocks were the Darwin branch is just
one function call to a function *not* included in the code, or you
find places where they just placed a macro in the middle of some
code, again without providing the macro definition. (A particular
bold case is in zfs_znode.h, where *all* OSX related changes are
hidden by using a macro "__DARWIN_ZNODE_FIELDS", of course without
providing a definition!)

- the most critical and difficult part in porting ZFS to Mac OSX is the
integration with OSX's VFS, because it is significantly different
from the Solaris VFS layer. But the relevant files zfs_vfsops.{c,h}
and zfs_vnops.c are essentially clean (all important things hidden in
zfsx_... functions not part of the source drop) and as such useless.

My conclusion (and IANAL): Yes, they followed the license, but they did an almost perfect job on making sure we can not use their code. To me, the only use of the code is, to serve as an example on how
clean one can get a port to Mac OSX.


I reposted this here in the hope, that Don Brady could give us some insight of what it means to him to have a "Community Edition"?

Does it just mean to have a partially open sourced base, and the rest is kind of freeware. If, that is the case the "Community" would merely serve as beta testers for the commercial products of Greenbytes.

Or does it mean, that there will be a functional source tree, which can be compiled and modified by the community? This would be my understanding of a "Community Edition", as any improvements made by the community would also benefit the commercial products of Greenbytes.
chriswayg Offline


 
Posts: 19
Joined: Sun Nov 04, 2012 8:27 am

ZFS Setup Assistant

Post by grahamperrin » Mon Nov 05, 2012 3:25 am

Re ZEVO Setup Assistant under viewtopic.php?p=2539#p2539

I'm not aware of open source code for that assistant. I agree, it might be easy (for a developer, not me) to produce something. Hop …

ZFS Setup Assistant
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

copyright holders

Post by grahamperrin » Sun Nov 11, 2012 6:36 am

-------------------------------------------------------------------
| Z F S
|
| Copyright (c) 2005, 2010, Oracle and/or its affiliates.
| Portions, Copyright (c) 2012 GreenBytes, Inc.
| Portions, Copyright (c) 2011 Delphix
| Portions Copyright (c) 2011 Nexenta Systems, Inc.
-------------------------------------------------------------------
zevo build 2012.09.23


Are the copyright portions that are associated with Delphix and with Nexenta Systems, Inc. all open source?

If not, then maybe questions about open sourcing what's used for ZEVO should be addressed:

  • to the copyright holder(s) for the portion(s) in which we're most interested
  • not to GreenBytes, Inc. alone.
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

Next

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests