• 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
Understanding the the file system dynamics (HFS, AFP)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Understanding the the file system dynamics (HFS, AFP)


  • Subject: Understanding the the file system dynamics (HFS, AFP)
  • From: Thomas Tempelmann <email@hidden>
  • Date: Thu, 17 Apr 2014 22:45:22 +0200

Suppose I wanted to tweak or improve some of Apple’s file system drivers, particularly HFS(+) and AFP.

In case of HFS, I found some relevant source code in xnu/bsd/hfs. That appears to be part of the kernel file, i.e. I would need to build a new kernel and boot from it to test any changes to HFS, right?

But then, there’s also /System/Library/Filesystems/hfs.fs, whose Info.plist refers to mount_hfs, which suggests that HFS is driven from a loadable executable. Does this mean I could build an alternative “mount_hfs” tool that contains the entire HFS FS driver and that I could then use to mount a test volume, without having to boot from a custom kernel? Or does mount_hfs simply pass everything right into the kernel? If mount_hfs is a self-contained FS driver, where do I find the source for it? Or is that not part of Apple’s open source?

Similarly, what about the AFP FS driver - its code seems to be contained in the afpfs.fs bundle, indeed, suggesting I could replace it with my own copy without changing the kernel. But what about its source code - is that available?

-- 
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: Understanding the the file system dynamics (HFS, AFP)
      • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Prev by Date: Re: Using FSEvents API to receive events about individual files.
  • Next by Date: Re: Understanding the the file system dynamics (HFS, AFP)
  • Previous by thread: Re: Using FSEvents API to receive events about individual files.
  • Next by thread: Re: Understanding the the file system dynamics (HFS, AFP)
  • Index(es):
    • Date
    • Thread