From owner-freebsd-ports@FreeBSD.ORG Sun May 30 04:32:32 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D573F16A4CF for ; Sun, 30 May 2004 04:32:32 -0700 (PDT) Received: from gw.xbsd.org (xbsd.org [81.56.254.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8D3343D45 for ; Sun, 30 May 2004 04:32:30 -0700 (PDT) (envelope-from flz@xbsd.org) Received: from xbsd.org (innercity.xbsd.org [192.168.42.3]) by gw.xbsd.org (Postfix) with ESMTP id E563DA9F; Sun, 30 May 2004 13:32:29 +0200 (CEST) Message-ID: <40B9C64E.8020105@xbsd.org> Date: Sun, 30 May 2004 13:32:30 +0200 From: Florent Thoumie User-Agent: Mozilla Thunderbird 0.5 (X11/20040421) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tom Alsberg References: <20040530064016.GA32735@cs.huji.ac.il> In-Reply-To: <20040530064016.GA32735@cs.huji.ac.il> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: FreeBSD Ports List Subject: Re: sysutils/ntfsprogs status X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2004 11:32:33 -0000 Tom Alsberg wrote: > I see that the Linux ntfsprogs package has been entered into the > ports. > > A while ago, (before that port, I believe), I tried to get it to work > on FreeBSD - compiling it was quite easy (use GCC 3.3, and link with > -lgnugetopt, which the port maintainer apparently forgot), but there Actually I didn't forgot to link with -lgnugetopt. You must see a USE_GETOPT_LONG=yes line in the port's Makefile. > were many problems with running it afterwards - locks and seeks > FreeBSD didn't like, semaphores and block sizes, etc. > > After getting some utilities to work (e.g. ntfsls), I was working on > my main target - ntfsclone, but got tired of it sometime after some > trouble. > > I'm interested, except the work done to get it into the ports and to > barely compile (with the change of -lgnugetopt), is any effort > underway to get those ntfsprogs to really fully work on FreeBSD? > > This is FreeBSD 4.10 here, maybe I'm outdated and on -CURRENT > everything's fixed already... > > The main problems are: > * unsatisfied seeks and locking calls, > * no block devices on FreeBSD, so have to add ISCHR check to > ISBLK so that it doesn't require the -f flag, > * cannot get size of device on FreeBSD, to compare with volume > size and for grow, clone, etc. > > So, what's the status of this port? I can contribute some patches to > make it compile cleanly and work a bit better, but not perfectly (not > all utils work). I'd be happy to know that someone already did better > fixing to it. When Ntfsprogs 1.8.2 was released, I saw this on the project's homepage : "Changes: In this release, ntfsprogs now builds and works on FreeBSD.". I have made the ports but I didn't sent it at the moment. If you tell me this doesn't work on FreeBSD 4.x, I can trust you, I didn't test it since I have no NTFS partitions on my FreeBSD boxes. I just tried to make it compiles properly. If you can make it works better, you can send your patches and talk to the developers (they're on #ntfs on freenode). Before I mark the port as BROKEN, maybe people who tested it on FreeBSD could give their testimonals. Note: If you're interested in taking the port maintainership, just ask. -- Florent Thoumie Epita SRS Promo 2005 web : http://xbsd.org/~flz work : (33 1) xxxxxxxx mail : flz@xbsd.org home : (33 1) 34162095 gpg : 1024D/ADF908C1 cell : (33 6) 76088660