lkml.org 
[lkml]   [2003]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectProcFs: FORCING remove_proc_entry even if the directory is used (busy) ??
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.014 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site