From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 27 20:30:55 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 98DC8106564A; Tue, 27 Mar 2012 20:30:55 +0000 (UTC) (envelope-from gpf.kira@gmail.com) Received: from mail-qa0-f54.google.com (mail-qa0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 240618FC12; Tue, 27 Mar 2012 20:30:55 +0000 (UTC) Received: by qao25 with SMTP id 25so461554qao.13 for ; Tue, 27 Mar 2012 13:30:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=cGPqtw8B40fmGkV0BbcMznfyHwvS0xBRG1s37xUVaY8=; b=I5E59dg7jwaen6pJiHdi1AqGzWrKRTc1XnLMznx8U7w1XjAwQqAJCRcqloQ5yiPNKN oU9y9v3SuJR3O7VjBbzbWaCSb/Hj5QRUOcaLNAgziJk7mTcpLUs0Q+0wavsTWFkbwfOe +UA2f9e7N9H7xWDGLdg21ku0Vij+PbyvZcOIqzXQw8qoqN5nRWkFp+h0BqHHk6XjcnGw 1hoLV06hTrD2oTO2/XwkdYapxxN3TL1H/bCDtMp+ewQ7UszSHEJ0sc80g3LK0/UcSMAE foLxj8O4xUcV3SizCYXtMXzvWeAjeOFobWv4Csp96M1blqX/1KruOO5h16TQy8F8uFRq gw1w== MIME-Version: 1.0 Received: by 10.224.209.67 with SMTP id gf3mr30594644qab.75.1332880253477; Tue, 27 Mar 2012 13:30:53 -0700 (PDT) Received: by 10.229.239.18 with HTTP; Tue, 27 Mar 2012 13:30:53 -0700 (PDT) In-Reply-To: <20120327200631.GA48486@reks> References: <20120327200631.GA48486@reks> Date: Tue, 27 Mar 2012 23:30:53 +0300 Message-ID: From: Efstratios Karatzas To: Gleb Kurtsou Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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:30:55 -0000 On Tue, Mar 27, 2012 at 11:06 PM, Gleb Kurtsou wrote: > 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 > Since the FreeBSD wiki has two conflicting NTFS ideas, I thought of submitting two proposals: one to work on the current driver and one to port Apple's driver and let the FreeBSD team choose, should they wish to pick one of them. Attilio suggested that perhaps a merge of those two ideas was better than two separate proposals and this was my attempt to merge those ideas; I hear what you say though. Personally, I'd rather work on the current FreeBSD NTFS driver, but if there are no mentors for that idea, it's a no-go. Which NTFS idea do you prefer? I'll take a look at the HFS port asap. Thanks for the input. -- Efstratios "GPF" Karatzas