
Re: ntfs3g-2012.1.15-r1 fails with GIT version of fuse
Hi,
Quote:
ntfs-3g.c:3256:2: error: unknown field 'flag_utime_omit_ok' specified in initializer
This field is needed for setting timestamps with a microsecond resolution with the high level fuse interface, it was proposed by the fuse developers.
It has apparently not yet been included in a release version. The code in ntfs-3g assumes it will be included in fuse 2.9, but if you get an error, a new fuse version is being prepared without the feature (or the feature is implemented differently).
Quote:
The field flag_utime_omit_ok is (only) defined in
include/fuse-lite/fuse.h
Should this be included in ntfs-3g.c ?
This is for use with the internal fuse-lite library (just ./configure with option --with-fuse=internal with Linux only). This library provides all the features used by ntfs-3g.
Other possibilities :
- Apply the fuse patch to the git version (see
http://article.gmane.org/gmane.comp.fil ... devel/8592)
- Patch ntfs-3g.c to not use timestamps with subsecond resolution (just comment the line for flag_utime_omit_ok initialization), you still can get subsecond resolution by using lowntfs-3g instead of ntfs-3g.
Note : this has recently been discussed on the fuse developers list, awaiting a reply from the fuse project for defining how ntfs-3g should adapt.
Regards
Jean-Pierre