[Mono-dev] [PATCH] DriveInfo implementation - volume space

Dick Porter dick at ximian.com
Fri Dec 7 09:20:48 EST 2007

On Fri, 2007-12-07 at 14:45 +0100, Javier Martín wrote:
> >Please don't introduce new files for only one function.
> >Move it to io.c/io.h which already contains similar APIs.
> io.[hc] contains mainly file-like IO routines (files, pipes, console,
> etc.). This is about "volume/mounts" management.

Adding a new file is OK, if we're likely to implement more functions for
this type of thing.

> Furthermore, and even more important, I was planning to add at least
> two more functions in volumes.[hc] in other, unrelated patches to add
> the "get/set volume label" functionality and correct the bug I
> mentioned in the patch post (FS type not being detected in Windows).

Note that io-layer is not used on Windows.

More importantly, we will need a copyright assignment for a code
contribution this big, or a declaration that you wrote the code and it
is contributed under the X11 licence.

From the FAQ (http://www.mono-project.com/FAQ:_Licensing):
"Why does Novell require a copyright assignment? 
When a developer contributes code to the C# compiler or the Mono runtime
engine, we require that the author grants Novell the right to relicense
his/her contribution under other licensing terms. 

This allows Novell to re-distribute the Mono source code to parties that
might not want to use the GPL or LGPL versions of the code.

Particularly embedded system vendors obtain grants to the Mono runtime
engine and modify it for their own purposes without having to release
those changes back."

and the Porting guide (http://www.mono-project.com/Porting):
If you intend to have your port merged into the main Mono distribution,
keep in mind that you must grant Novell permission to redistribute your
work under other licenses other than the LGPL. This means that you must
be the owner of any code contributed to Novell and that you are in a
position to sign such an agreement. You can also license your changes
under the X11/MIT license, instead of signing a copyright assignment."


- Dick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20071207/e7c81e10/attachment.bin 

More information about the Mono-devel-list mailing list