Re: Deletion of big files...

Rogerio Brito (rbrito@iname.com)
Mon, 17 May 1999 13:11:05 -0300


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 - rbrito@iname.com - http://www.ime.usp.br/~rbrito/
  (still an) Ugrad. Comp. Science student - "Windows? Linux and X!"
     Nectar homepage: http://www.linux.ime.usp.br/~rbrito/opeth/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/