Understanding the the file system dynamics (HFS, AFP)
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?
_______________________________________________
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