lkml.org 
[lkml]   [1996]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Linux 2.0.0 fails to return Text File Busy for .so files
Date
Systemkennung Linux (linux@informatik.uni-koblenz.de) 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).

Greetings
Bernd
--
(OO) -- Bernd_Eckenfels@Wittumstrasse13.76646Bruchsal.de --
( .. ) ecki@lina.{inka.de,ka.sub.org} http://home.pages.de/~eckes/
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:1.141 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site