[lkml]   [1996]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Linux 2.0.0 fails to return Text File Busy for .so files
Systemkennung Linux ( wrote:
: No. You're right for the current kernel. The original poster wanted to
: forbid *any* modification to the shared lib as long as it is open by
: modifying the kernel. As I understand this his request this includes
: renameing, unlink(2) etc. And then you can no longer change the libs.

No, because unlink and rename are NO modifications to the file (represented
by the i-node) but modifications to the directory. The KErnel has the file
open (pointed to it by inode) and any modifications to the filename are
completely uninteresting to it. Thats why you can delete (unlink) a file and
it is still accessable until the last close (refcnt=0).

(OO) -- --
( .. ) ecki@lina.{,}
o--o *plush* 2048/93600EFD eckes@irc +4972573817 *plush*
(O____O) If privacy is outlawed only Outlaws have privacy

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