From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 27 20:06:37 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B53D61065670; Tue, 27 Mar 2012 20:06:37 +0000 (UTC) (envelope-from gleb.kurtsou@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id DE7628FC19; Tue, 27 Mar 2012 20:06:36 +0000 (UTC) Received: by bkcjc3 with SMTP id jc3so384340bkc.13 for ; Tue, 27 Mar 2012 13:06:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=oEPEPCUovjcsj96oA3BheSUPFIzHvAKYkV7DkWcWmTs=; b=e6OXEIywuDkqlExmNv1lfd6B/RmucckyzWgqXabnFWjvXsYuzvN7eNxP0epNu2K4AY H0V6QM3pV7dHM84vcX5qfwJpDjCb3f9/uf+HG3fVkfNdMcfxaWYH0pY4xYJS54SDBDQ7 hlO1+vVP4nH2GvxEvtyxroPNpmeJvlBWNNaNOdD98d6JVbQD73wjCCu+OYCP9hshZs7F hzaFXeK4C9ejRFgHlmJbjIy0ME5AiCHtl/1SpMdluM+CB5TE3VycHAZgTLyBupihV/hP rZsSC93wwEdBetAHiQABr8j07S419Xkg5BRluF9KOAXCEEfIXTGeN5BCwebAJXKFFqdD qaHg== Received: by 10.204.150.82 with SMTP id x18mr10548348bkv.10.1332878795526; Tue, 27 Mar 2012 13:06:35 -0700 (PDT) Received: from localhost ([78.157.92.5]) by mx.google.com with ESMTPS id p19sm1773126bka.1.2012.03.27.13.06.33 (version=SSLv3 cipher=OTHER); Tue, 27 Mar 2012 13:06:34 -0700 (PDT) Date: Tue, 27 Mar 2012 23:06:31 +0300 From: Gleb Kurtsou To: Efstratios Karatzas Message-ID: <20120327200631.GA48486@reks> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-hackers@freebsd.org, kib@freebsd.org, gleb@freebsd.org Subject: Re: NTFS GSoC Project Idea X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Mar 2012 20:06:37 -0000 On (26/03/2012 21:13), Efstratios Karatzas wrote: > Greetings, > > I am a FreeBSD GSoC 2010 student, looking to participate in this years > GSoC. The project that I wish to work on is the FreeBSD NTFS driver. > > I 've already discussed my project idea with Attilio@ who suggested that I > forward my proposal to the hackers mailing list in order to get more > feedback and see if there's anyone interested in mentoring a NTFS project. > > The current draft of the technical part of my proposal(pdf & plain text) > can be found here: > > http://cgi.di.uoa.gr/~std06101/ntfs/ntfs_proposal.tar > > The project idea focuses on mp-safing the NTFS driver as well as adding > extra write support. I've tried to merge the two conflicting NTFS project > ideas in the ideas wiki page, into one. One of them suggesting that work > should be done on the current driver (mp-safe it etc) and the other one > suggesting that we port Apple's NTFS driver from scratch. The concept is > that we keep most of our vnode/vfs code (i.e. ntfs_vfsops.c, ntfs_vnops.c) > and rework existing infrastructure as needed as well as implement new > features using Apple's driver as a guide. I'm not sure I follow your idea, but I'd suggest sticking to a single project: either improve FreeBSD NTFS or do the port. FreeBSD and Darwin ntfs implementations are completely unrelated thus porting features from Darwin won't be easy. > This way, we avoid the major > changes in Apple's VFS (is there any documentation to be found?) and port > code that won't break current functionality. I bet "major changes in Apple's VFS" are easier to deal with than "merging" two unrelated file systems. XNU VFS is based on FreeBSD 5 VFS and they still share a lot in common, e.g. vnode operations themselves are nearly the same, e.g. extended attributes, locking, buffer cache are different. Take a look at HFS+ port. It's unmaintained and outdated but page contains link to CVS repository snapshot. http://people.freebsd.org/~yar/hfs/ > I tried to keep this e-mail brief so If you wish to know more, please refer > to the proposal. > > Thank you > > -- > > Efstratios "GPF" Karatzas