On Mar 27, 12:15 pm, Ron Aldrich <[EMAIL PROTECTED]> wrote:

> Is the difference here inherent to all user space file systems?  Or  
> simply a limitation imposed by MacFUSE's design?

MacFUSE tries its best not to limit developers. It's far more flexible
(and has far more knobs) than most other user-space file system
mechanisms. MacFUSE itself is limited by what the Mac OS X kernel and
the Mac OS X interfaces let it do. Some limitations and caveats
wouldn't be there if MacFUSE were part of Mac OS X (and the kernel
could be tweaked to accommodate it). To some extent, the differences I
quoted would still be there and would indeed be common to any user-
space file system mechanism.

> In 10.4, Finder identifies my FS as a local volume, and uses a trash  
> folder, as expected.  In 10.5, Finder decides it's a network volume,  
> and insists on deleting files immediately.  This is the problem I'm  
> trying to resolve.

What happens if you use the "-olocal" mount-time argument?

> Everything here is not without caveats and dangers - even though my  
> filesystem is being implemented in user space, I'm pretty sure I could  
> manage to bring the entire system down in flames, if I really put my  
> mind to it ;-)
>
> The real question, is would it work?  (And would it even solve the  
> trash folder problem, or am I just chasing after wild geese?)

Your threshold for living with certain caveats and dangers may not be
the same as other developers'. MacFUSE is for everybody, so I do have
to worry about caveats in the average case, not just yours.

As for whether it would work, why don't you try it by custom compiling
the MacFUSE kernel extension such that you hardcode the value you want
returned in st_dev, and see if it works.

Amit
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"macfuse-devel" 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-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to