ProcFs: FORCING remove_proc_entry even if the directory is used (busy) ??
From: Jean-Guillaume
Date: Thu Oct 09 2003 - 10:23:08 EST
Hi all,
I have a program that automaticaly recreate a directory in /proc,
based on some events. To do this, I do a remove_proc_entry, and then
recreate the directory.
However, if someone is using a console and is currently IN my /proc
directory, remove_proc_entry fails, saying that the dir is "busy".
Any way to force the deletion? Or any ideas for workarounds?
Many thanks
Jena-Guillaume
-
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/