[lkml]   [1999]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Deletion of big files...
On May 16 1999, Peter Svensson wrote:
> This does not solve the problem for programs doing unlink(2). OTOH not
> returning until the space freed is actually free has the advantage that
> the space can be allocated again once the syscall returns.

I may be wrong here, but AFAIK, the space of a file is only
released after the last process that has it open closes its
file descriptor.

So, if more than one process has the file open, its space
could not be available after the unlink.

[]s, Roger...

Rogerio Brito - -
(still an) Ugrad. Comp. Science student - "Windows? Linux and X!"
Nectar homepage:

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:51    [W:0.098 / U:0.744 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site