• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Virtual hard drive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Virtual hard drive


  • Subject: Re: Virtual hard drive
  • From: Thomas Tempelmann <email@hidden>
  • Date: Sat, 29 Nov 2014 15:08:36 +0100

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



On Sat, Nov 29, 2014 at 2:42 AM, Nick <email@hidden> 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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden




--
Thomas Tempelmann, http://www.tempel.org/
Follow me on Twitter: https://twitter.com/tempelorg
Read my programming blog: http://blog.tempel.org/
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Virtual hard drive
      • From: George K Colley <email@hidden>
References: 
 >Virtual hard drive (From: Nick <email@hidden>)

  • Prev by Date: Re: Virtual hard drive
  • Next by Date: Re: Virtual hard drive
  • Previous by thread: Re: Virtual hard drive
  • Next by thread: Re: Virtual hard drive
  • Index(es):
    • Date
    • Thread