On Nov 7, 1:14 pm, "Amar (ಅಮರ್ ತುಂಬಳ್ಳಿ)" <[EMAIL PROTECTED]> wrote:

> So, I am thinking of giving separate fuse library for users to install after
> installing macfuse.dmg, or have to build .dmg with 'macfuse_build.sh -t
> dist'. What do you think is better ?
>

Please don't do that.

If you simply define -D__DARWIN_INO_64_T=1, recompile libfuse,
overwrite MacFUSE's libfuse, and have *your* file system working to
your satisfaction, what about other MacFUSE file systems? When you
define that flag, both the size and layout of the stat structure
change. Every MacFUSE file system binary except yours will break. Are
you sure that none of your users will ever use another MacFUSE file
system binary from another source? If they do, not only will it fail
100% of the time, the failure is likely to be mysterious and
frustrating to users and developers alike.

If 64-bit inode number reporting is a must for you, do the following
instead.

Make sure (obviously) that your own file system code is compiled with -
D__DARWIN_64_BIT_INO_T=1 and then link against libfuse_ino64 rather
than libfuse: that is, do '-lfuse_ino64' instead of '-lfuse'. You'll
need the latest Developer Release (1.9.35+) to be able to do so.

Amit

> Regards,
> Amar
>
> 2008/10/15 Amit Singh <[EMAIL PROTECTED]>
>
>
>
> > The latest developer release of MacFUSE is a release candidate. I
> > intend to do the release in the very near future. This is a call for
> > developers to report any bugs or incompatibilities they may have
> > encountered so far. Anything not reported now is likely to remain
> > unfixed in the next release.
>
> > Amit
>
> --
> Amar Tumballi
> Gluster/GlusterFS Hacker
> [bulde on #gluster/irc.gnu.org]http://www.zresearch.com- Commoditizing Super 
> Storage!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MacFUSE" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/macfuse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to