Messages in this thread | | | Subject | Re: Supporting Macintosh FinderInfo/Resource Fork in Linux NWFS 2.0 | Date | Sun, 12 Dec 1999 16:34:33 +0000 (GMT) | From | Alan Cox <> |
| |
> 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/
| |