| Subject | Re: rm-ing files with open file descriptors | From | Xavier Bestel <> | Date | 18 Jan 2002 22:27:01 +0100 |
| |
On Fri, 2002-01-18 at 22:11, Doug Alcorn wrote: > test it[1]. Sure enough, you can rm a file that has opened file > descriptors and no errors are generated. Interestingly, sun solaris > does the same thing. Since this is the case, I thought this might be > a feature instead of a bug (ms-win doesn't allow the rm). So, my > question is where is this behavior defined? Is it a kernel issue?
It is defined, and even sometimes used to allocate temporary disk space (open a file, rm it, you can still r/w your file descriptor and all will return to free space once your app closes the fd or dies).
Xav
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|