Re: Finding Blocks occupied by the file on the volume
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Jul 21, 2005, at 6:48 PM, Terry Lambert wrote: On Jul 21, 2005, at 7:03 AM, Shawn Erickson wrote: On Jul 21, 2005, at 3:23 AM, santosh katvate wrote: hi mike If i keep the handle of the file open then i don't think that filesystem will try to recycle the blocks corresponding to file as long as the handle is open This is a very unsafe assumption. -Shawn Hi Terry, I'd like to extend a very big "thank you" for your detailed explanation. Regards.....Peter _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... I understand the persistence of the question; Windows supports an IFS API mechanism for getting this information. <snip> In MacOS X, there is no such contract on open or locked files (just as Shawn says, here). This is exactly the sort of detail which helps keep observant developers away from disaster. Issues such as this can't generally be forseen and covered in headers or dev notes, so having someone crisply specify the contract is great. Although this is not my specific area of interest, you have my thanks for taking the time for this explanation. I do hope you your manager (s) take notice as well. This email sent to site_archiver@lists.apple.com
participants (1)
-
Peter Lovell