From: Hans B. <han...@gm...> - 2011-05-31 09:02:47
|
I think we are getting closer to the real issue here, Apple Double feature. Looking back at the log again made we wonder what is the story behind the .AppleDouble file, that returns -2. I think that is needed for Mac OS X, and if it can not find it, nor create it, I guess it might internally fail with EINVAL. But that is going to be difficult to work around, my file system can fallback to native mode and write to the underlying fs, but the core of the functionaltity works with virtual nodes that does not exits and that part of the fs is read only! That means that even if O_CREAT is used, it will always fail :( I guess I then need to create the .AppleDouble folder and place it somewhere that can be later picked up also for the virtual nodes. Sounds like some hard work ahead :( Hans 2011/5/31 Hans Beckérus <han...@gm...> > Your guess is most probably close to the truth, but the flags used are > 0x102. > I interpret that as O_RDWR|O_CREAT, surely that should be supported? > And I do not see this -EINVAL coming from the FUSE log. To me it looks like > FUSE is accepting the OPEN call, or? > If OPEN throws a EINVAL is must be happening behind the scene somewhere. > > Hans > 2011/5/31 Stef Bon <st...@gm...> > >> I guess the open call does use a flag which is not supported, that's >> probably the reason you get a EINVAL error. >> >> This is just a guess, >> >> Stef >> >> 2011/5/31 Hans Beckérus <han...@gm...>: >> > Seems the same problem exists for eg. sshfs too. >> > >> > Vicarius:tmp vandalon$ cat bla >> > cat: bla: Invalid argument >> > Does FUSE not provide support for Netatalk/AFP ? Or does AFP (or FUSE?) >> need >> > to be configured in some special way to make it work ? >> > >> ------------------------------------------------------------------------------ >> > Simplify data backup and recovery for your virtual environment with >> vRanger. >> > Installation's a snap, and flexible recovery options mean your data is >> safe, >> > secure and there when you need it. Data protection magic? >> > Nope - It's vRanger. Get your free trial download today. >> > http://p.sf.net/sfu/quest-sfdev2dev >> > _______________________________________________ >> > fuse-devel mailing list >> > fus...@li... >> > https://lists.sourceforge.net/lists/listinfo/fuse-devel >> > >> > > |