Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!bionet!agate!saturn!polaris!brad From: brad@polaris.ucsc.edu (Brad Smith) Newsgroups: comp.unix.wizards Subject: Re: Demand paged executables Message-ID: <6211@saturn.ucsc.edu> Date: 2 Feb 89 16:53:41 GMT References: <409@lakart.UUCP> <7599@chinet.chi.il.us> Sender: usenet@saturn.ucsc.edu Reply-To: brad@polaris.UUCP (Brad Smith) Organization: University of California, Santa Cruz Lines: 17 Two questions/points on this: - Wouldn't there be some problems with other links to a file being invalidated (pointing to the old version) if the file was unlinked, a new inode allocated, and a new link created to copy over an executing program? - It seems the reason for not locking shell scripts is that virtual memory for the executable is not being paged out of the file containing the script. Some program (typically a shell) is being run with the contents of the script as input... or something to that effect. Brad Smith CIS Board, UC Santa Cruz brad@saturn.ucsc.edu