Re: Understanding the the file system dynamics (HFS, AFP)
Re: Understanding the the file system dynamics (HFS, AFP)
- Subject: Re: Understanding the the file system dynamics (HFS, AFP)
- From: "Quinn \"The Eskimo!\"" <email@hidden>
- Date: Fri, 18 Apr 2014 15:31:56 +0100
On 18 Apr 2014, at 09:37, Thomas Tempelmann <email@hidden> wrote:
> E.g, how does fs_usage do it? Is that able to tweak parameters or can it only monitor?
Via the kernel trace facility.
> It appears to me that it doesn’t use fs_events.
Correct.
> IIRC, there’s also a BSD-level FS monitoring hook, though - is it using that?
No.
You also have DTrace, which is great for this sort of monitoring.
None of the above meet your goals however, in that they are strictly for monitoring. Actually changing file system operations as they pass through the kernel is not easy.
Share and Enjoy
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
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