On 4/21/05, Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote: > to delete a file you need both the parent directory and the namespace it > belongs in. Kernel mode has no such namespace realistically (or rather a > standardized one that doesn't have to be the same one userspace apps > have). Ouch, I missed that one. But if you somehow feched the inode of the directory the file is in, you can unlink it. At least the unlink syscall can :-) But of course that is namespace dependeant operation based on the current processes namespace. Or am I missing also something else? Martin -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/