Originally posted by LordJavac:
<STRONG>Does anyone know where I can find references/examples on writing a filesystem for OS X. I want to have an ftpfs like webdavfs and smbfs so that FTP can be an integral part of the Finder. This will also require altering the behavior of "ftp:" URLs in the "Connect to..." dialog.</STRONG>
Please be advised that writing a filesystem for OSX is far from trivial, but if you're still interested, read on.
OSX uses the BSD VFS(Virtual Filesystem Switch) for filesystems. Your best bet for a reference would be
The Design and Implementation of the 4.4 BSD Operating System. The best place to look for examples would be the Darwin source. In particular, look at the UFS code and the MSDOFS code. You'll also need to read Apple's kext tutorial in order to register your spiffy new filesystem with the VFS. Adding to the fun is the fact that much of the Darwin source is pre-ANSI C.
I hope for your sake that you are also referred to as LordC.