Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 May 2004 09:40:16 +0300
From:      Tom Alsberg <alsbergt@cs.huji.ac.il>
To:        FreeBSD Ports List <freebsd-ports@freebsd.org>
Subject:   sysutils/ntfsprogs status
Message-ID:  <20040530064016.GA32735@cs.huji.ac.il>

next in thread | raw e-mail | index | archive | help
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
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.

  Thanks,
  -- Tom	

-- 
  Tom Alsberg - hacker (being the best description fitting this space)
  Web page:	http://www.cs.huji.ac.il/~alsbergt/
DISCLAIMER:  The above message does not even necessarily represent what
my fingers have typed on the keyboard, save anything further.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040530064016.GA32735>