• 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: Writing from the kernel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Writing from the kernel


  • Subject: Re: Writing from the kernel
  • From: Michael Smith <email@hidden>
  • Date: Tue, 20 Nov 2007 07:04:28 -0800


On Nov 19, 2007, at 11:30 PM, Kynan Shook wrote:

For a small research project, I'm interested in all the data written to (and possibly read from) a couple files. From lots of googling and a little playing around, the SampleFilterScheme example can do what I need; I was able to modify it slightly and see the data going through it in system.log.

Are you interested in "all the data written to/read from", or "all the data moved to/from the disk"? The two are *very* different things.


If the latter, then fine, but if the former then a filter scheme is totally the wrong thing to be using. You want to use dyld interposing and catch the system calls as they are made by the application(s) actually operating on the file(s) in question.

 = Mike

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Writing from the kernel (From: Kynan Shook <email@hidden>)

  • Prev by Date: Re: Can not copy files >=4GB. Leopard (9B18)
  • Next by Date: Re: Writing from the kernel
  • Previous by thread: Re: Writing from the kernel
  • Next by thread: MTRRs and PATs
  • Index(es):
    • Date
    • Thread