Operating System - HP-UX
1836458 Members
2348 Online
110101 Solutions
New Discussion

freeing space in a file system- takes time to show in bdf/df

 
SOLVED
Go to solution
SM_3
Super Advisor

freeing space in a file system- takes time to show in bdf/df

Hello

Sometimes when we need to delete files from a file system, we or other users delete files, no problem.

But it takes a long time for this to be reflected in bdf or df.

Why?

Thanks.
2 REPLIES 2
James R. Ferguson
Acclaimed Contributor
Solution

Re: freeing space in a file system- takes time to show in bdf/df

Hi:

If a process has a file open and you delete the file, the space allocated to the file is not returned to the system until the (last) process using the file terminates.

See the manpages for 'unlink(2)'.

Regards!

...JRF...
SM_3
Super Advisor

Re: freeing space in a file system- takes time to show in bdf/df

cool