Re: Linux 2.6.29

From: David Newall
Date: Sat Apr 04 2009 - 21:57:58 EST


Andrew Morton wrote:
> - open the file
>
> - unlink the file
>
> - now sit in a loop, slowly nibbling away at the tail with
> ftruncate() until the file is gone.

Why not fork and unlink in the child?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/