On Dec 5, 2007, at 4:08 AM, Graham Perrin wrote:

>
> On 5 Dec 2007, at 06:26, Memphis2k wrote:
>
>> Recap, I don't want OS X to write anything to my NTFS disk besides
>> the files I copy.  .DS_Store, .Trashes etc etc.
>
> <http://en.wikipedia.org/wiki/NTFS#Features>
>
> As NTFS supports Alternate data streams (ADS)
>
> so in theory there may be no need for Mac OS X resource forks,
> extended attributes etc. to be presented in ways that are ugly to
> Windows users of such volumes.
>
> I had a brief discussion along these lines, long ago but I can't
> recall who it was with (Paul Marks?), whether it was on- or off-list,
> in IRC, or in Adium ... if I can, I'll find a note of what was
> discussed.
>
> In the meantime: AFAIR it was not immediately desirable to use ADS in
> an NTFS-3G context. Still, it's food for thought.


You'll still be stuck with .DS_Store/.Trashes because those are  
separate issues. The Finder will happily create them on any volume,  
even HFS+. They're simply how it keeps track of its metadata.

With noapplespecial turned on, both AppleDouble and .DS_Store writes  
will fail with EPERM. The first question: is the Leopard Finder  
trying to authenticate because it gets an error trying to write one  
(or both) of those? That seems likely, but you'd need to know for  
sure. The second question: which?

If it's the failure to write the AppleDouble ._ file (which is what  
I'd expect) then using ADS for xattr might solve that.

If it's the failure to write/update the .DS_Store file, or if ADS  
isn't viable for xattr, then perhaps it'd be better for MacFUSE to  
*pretend* to write these files instead of failing them with EPERM.  
Having the open/write/close succeed but the file immediately  
disappear is similar to something that might actually happen on an HFS 
+ volume. (e.g. The Finder may write out a .DS_Store file, which I  
immediately delete from the command-line.)

Just a thought.

  -drew



--~--~---------~--~----~------------~-------~--~----~
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