Messages in this thread | | | Subject | Re: rm-ing files with open file descriptors | Date | Sat, 19 Jan 2002 15:50:44 +0100 | From | Horst von Brand <> |
| |
Miquel van Smoorenburg <miquels@cistron.nl> said:
[...]
> There is no way to recreate a file with a nlink count of 0, > well that is until someone adds flink(fd, newpath) to the kernel.
It stays around under /proc/<pid>/fd/<xxx>, so you could grab it there. It is _announced_ as a symlink to the deleted file, but you get its contents anyway. [2.4.18pre4] -- Horst von Brand http://counter.li.org # 22616 - 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/
| |