lkml.org 
[lkml]   [1999]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Supporting Macintosh FinderInfo/Resource Fork in Linux NWFS 2.0
Date
From
> We allow Linux to create and support this namespace.  I have looked at
> the VFS for all versions of Linux, and I do not see any hooks for
> dealing with the MAC FinderInfo (32 bytes), or for a MAC resource fork.

Thats a concious decision.

> Is there any Macintosh File support in Linux via the VFS or IOCTL's
> through the NFS? I looked through the other FS's and don't even see
> IOCTL's for dealing with this, though I admit I may not recognize what I
> am looking at. I am also curious is we have a MAC server for presenting
> MAC files to MAC clients with all the widgets they come to expect.

Take a look at the HFS file system. We present the MAC directories as a
directory containing dot files. There is a convention for this and we honour
the convention that is used by Netatalk (the main Unix/Linux appletalk server
package). Thus you see

foo.gif
.AppleDouble/foo.gif

This also means you can easily manipulate just the gif file directly from
non mac systems. See fs/hfs/HFS.txt

The second issue is charset translation. I think you can simply use the
code from fs/hfs/trans.c for this.

Alan


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.223 / U:1.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site