Re: Finding Blocks occupied by the file on the volume
Re: Finding Blocks occupied by the file on the volume
- Subject: Re: Finding Blocks occupied by the file on the volume
- From: Peter Lovell <email@hidden>
- Date: Thu, 21 Jul 2005 19:07:36 -0400
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
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).
Hi Terry,
I'd like to extend a very big "thank you" for your detailed explanation.
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.
Regards.....Peter
_______________________________________________
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