Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Updating fuse-ntfs-3g package?



On Feb,Sunday 13 2011, at 9:43 AM, Alistair Crooks wrote:

> On Fri, Feb 11, 2011 at 02:43:59PM -0600, Dave Huang wrote:
>> I noticed that the fuse-ntfs-3g package in pkgsrc is fairly ancient--it 
>> seems to be a 2007 vintage. Is that because nobody's maintaining the 
>> package, or does ReFUSE not work with more recent versions, or a 
>> combination of both? I tried simply updating the package to pull the 
>> current version (2011.1.15), but it doesn't compile: undefined 
>> references to various FUSE functions, such as fuse_version(), 
>> fuse_get_session(), fuse_set_signal_handlers(). If I'm not mistaken, 
>> those were added in version 2.7 of the FUSE API, and it looks like 
>> ReFUSE implements 2.6 (that said, ntfs-3g #defines FUSE_USE_VERSION as 
>> 26...)
> 
> Yes, you're right - ReFUSE has yet to be updated past 2.6 compatibility,
> and the fuse_version() stuff appears in later versions of fuse.

Can you please test this small patch [1] basically it adds those 3 symbols
stubs. fuse_get_session and fuse_set_signal_handlers will require adding 
fuse_session/lowlovel support which might be harder. This patch should make
ntfs-3g compile and link.

> 
>> The current version of ntfs-3g does seem to work (at least in my 
>> extremely limited testing) with the filesystems/fuse package, but it 
>> does seem like it'd be nicer if it worked with librefuse. Are there any 
>> plans on updating librefuse to support a newer version of the FUSE API 
>> (assuming that is the reason ntfs-3g no longer compiles)?
> 
> It is on my list of things to do, but unfortunately is not very high
> up (not because I don't want to do it, but because other things seem to
> think themselves much higher precedence :-(). If anyone else would like
> to volunteer, that would be superb.

[1] http://www.netbsd.org/~haad/refuse.diff


Regards

Adam.



Home | Main Index | Thread Index | Old Index