It might take you less time to add server support for an existing protocol than 
it will to write and test a VFS file system plugin. Another plus is that if you 
pick a protocol supported by multiple operating systems (like SMB), you widen 
your market.

- Jim

> On Nov 29, 2014, at 8:56 AM, George K Colley <[email protected]> wrote:
> 
> 
>> On Nov 29, 2014, at 8:08 AM, Thomas Tempelmann <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> If it's individual files you're handling on the server side, then a IOKit 
>> driver is the wrong way, as that's only good to handle block level drives, I 
>> believe. Instead, you'll have to implement a VFS (Virtual File System). 
>> Sadly, there is little documentation on that. And it's a lot of work, many 
>> weeks.
>> 
>> A few pointers from someone who hasn't even accomplished that yet:
>> - Read about VFS in old BSD documentations. You may even have to purchase a 
>> book on paper for that.
>> - Read the code, i.e. get the Darwin source and look for any functions 
>> starting with "vfs_".
>> - Look for open source VFS OSX implementations and study them.
>> 
>> And be aware that since OSX 10.10 (Yosemite) you will need to have a special 
>> signing "KEXT" certificate from Apple, for which in turn you will need to 
>> buy the yearly membership. And if you have that, you may as well send a tech 
>> support request to Apple asking for pointers on this topic.
>> 
>> Good luck!
>> 
>> Thomas
>> 
> Thomas is correct you need to write a VFS kext and will need to work with 
> Developer Relation to get your kext signed. You may want to check out the 
> source at "http://www.opensource.apple.com/release/mac-os-x-108/“ 
> <http://www.opensource.apple.com/release/mac-os-x-108/%E2%80%9C> There are 
> several file system kext list in that code. Just note this is not a  simple 
> task and will require a lot of time and work.
> 
> George
>> 
>> 
>> On Sat, Nov 29, 2014 at 2:42 AM, Nick <[email protected] 
>> <mailto:[email protected]>> wrote:
>> Hello list, 
>> I have to create a kind of a virtual storage, and I need it to appear as a 
>> virtual disk drive in the system (a Volume). When the files are copied on 
>> such a "drive", they actually get sent to a server. The drive displays 
>> files, and this list of files is downloaded from a server.
>> 
>> Could you please point me in the right direction, where to start? Some 
>> keywords would be helpful.
>> What is the right way to do this?
>> 
>> I believe this would require implementing an IOKit kext driver?
>> 
>> Thank you
>> 
>>  _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Filesystem-dev mailing list      ([email protected] 
>> <mailto:[email protected]>)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/filesystem-dev/tempelmann%40gmail.com
>>  
>> <https://lists.apple.com/mailman/options/filesystem-dev/tempelmann%40gmail.com>
>> 
>> This email sent to [email protected] <mailto:[email protected]>
>> 
>> 
>> 
>> 
>> -- 
>> Thomas Tempelmann, http://www.tempel.org/ <http://www.tempel.org/>
>> Follow me on Twitter: https://twitter.com/tempelorg 
>> <https://twitter.com/tempelorg>
>> Read my programming blog: http://blog.tempel.org/ 
>> <http://blog.tempel.org/>_______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Filesystem-dev mailing list      ([email protected] 
>> <mailto:[email protected]>)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/filesystem-dev/gcolley%40apple.com 
>> <https://lists.apple.com/mailman/options/filesystem-dev/gcolley%40apple.com>
>> 
>> This email sent to [email protected]
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Filesystem-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/filesystem-dev/luther.j%40apple.com
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/filesystem-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to