Thanks for the suggestion. I'm having trouble figuring out how to make the
change though.
My setup is probably different from must, as I'm actually using fuse-j to
adapt to java. I cannot find the decleration of the struct 'stat', so I'm
not sure where to modify it.

I don't have a stat struct in my code, and there isn't one in fuse-j. I
can't find one in the included files either. But I may have missed it?

Or should I re-declare the struct somehow (to avoid modifying files outside
my application)?

Thanks,

-dennis

On Tue, Jun 10, 2008 at 7:42 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:

>
> Just got this working yesterday, and I don't think it's related to
> the ._ files (also called AppleDouble files; google that for more
> info).   MacFuse 1.5.1 newly supports the st_flags field, so in your
> stat struct, try explicitly adding this field and setting it 0.  That
> is, your stat struct should now look like:
>
> struct stat {
>         dev_t           st_dev;           /* ID of device containing
> file */
>         mode_t          st_mode;          /* Mode of file (see below)
> */
>         nlink_t         st_nlink;         /* Number of hard links */
>         ino_t         st_ino;          /* File serial number */
>         uid_t           st_uid;           /* User ID of the file */
>         gid_t           st_gid;           /* Group ID of the file */
>         time_t        st_atime;     /* time of last access */
>         time_t        st_mtime;     /* time of last data modification
> */
>         time_t        st_ctime;     /* time of last status change */
>         off_t           st_size;          /* file size, in bytes */
>         uint32_t        st_flags;         /* user defined flags for
> file */
> }
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"macfuse-devel" group.
To post to this group, send email to macfuse-devel@googlegroups.com
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