[lkml]   [1996]   [Jun]   [20]   [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
On Thu, 20 Jun 1996, 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.

Renaming a file doesn't change that file, only the directory it
is in. Unlinking a file doesn't change that file either, it only
disconnects it from the directory it's in, since the file is presumably
in use, nothing happens to the data in the file.

What I'm saying is that if a file is in use, that is, can be
paged in by an executing program, its data should not be modifyable,
"text file busy" should be returned. I'm not sure if that's true, or even
a good idea, but that was what I was talking about.

David Schwartz

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