Hi, I'm new to MacFUSE and OS X, but not to FUSE.

I was attempting to prepare a new release of a FUSE based filesystem
with better Mac support, but I'm having trouble with it that I'm able
to reproduce with the loopback filesystem from the current SVN
snapshot of macfuse.  I have a new system with 10.6.2 w/32bit kernel,
MacFUSE 2.0.3 and latest XCode (gcc 4.2.1).

Three separate problems showed up in testing.  I'll describe what I've
seen, but I have to find docs on how to trace filesystem calls to try
and narrow down what calls might be involved (what's the 'strace'
equivalent on OS X?)

My tests involved using a fresh build of loopback as documented,
starting each time with an empty /tmp/dir:

$ sudo ./loopback /Volumes/loop -omodules=threadid:subdir,subdir=/tmp/
dir -oallow_other,native_xattr,volname=LoopbackFS


Two problems showed up when trying to use Darcs to clone a copy of an
existing repo.  First, when cloning a repo, I got an "interrupted
system call" error:

$ darcs get ~/devel/encfs/local
darcs: dk2ChangeLog-0: takeFile dk2ChangeLog-0 in /Volumes/loop/local:
openFd: interrupted (Interrupted system call)

With a fresh loopback mount, I tried to run simple darcs commands to
see how far I could get before getting an error, which doesn't take
long:

$ cd /Volumes/loop/
$ mkdir test
$ cd test
$ darcs init
$ echo "foo" > foo
$ darcs add foo
$ darcs rec -a -m "added foo"

darcs failed:  Couldn't write
`0000000140-81bf4c23e939c586e86efa4e3325e0a90169523e25e0109905996910ccaee817'


And finally, after using cp to get a copy of my development code, if I
ran an autoconf script (./configure) from within any MacFUSE volume,
it periodically hangs for tens of seconds at a time and all the
terminals stop responding.  This happens both under loopback FS and
Encfs, and the CPU shows 100% idle and no disk activity.  No messages
to /var/log/kernel.log or /var/log/system.log during this time.  In
total, it took 4 1/2 minutes to run my ./configure script, compared to
8 seconds to run the same script directly on the underlying FS.

Any ideas on what might be going wrong?

regards,
Valient



--

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