Re: Why don't shell scripts get loaded into memory at startup?

From: John DuBois (spcecdt_at_deeptht.armory.com)
Date: 04/28/03


Date: 28 Apr 2003 04:31:11 GMT

In article <b8cip7$fp$1@yin.interaccess.com>,
Kenny McCormack <gazelle@interaccess.com> wrote:
>In another post, Barry M says that he has heard of versions of Unix that do
>prevent even deleting, but I've yet to see one.

XENIX and early versions of SCO UNIX would not allow the deletion of running
executables. Almost all installation scripts for even the most minor of
updates refused to run unless the system was in single-user mode to avoid
problems with this, much to the annoyance of customers. It was corrected in
some version of SCO UNIX (probably 3.2.4 or 5.0.0), perhaps by making the
reference count for an inode include the use of the file as executable text.

        John

-- 
John DuBois  spcecdt@armory.com  KC6QKZ/AE  http://www.armory.com/~spcecdt/


Relevant Pages

  • Re: Unable to delete files / folders in windows XP ...............TS
    ... I could not find any reference for GNY DJPP version of the Unix RM.com ... I am not so interested in deleting these items as I am fixing ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: close(status=delete) on a missing file
    ... That's what I had to do, but it's not the same as deleting. ... Even many UNIX users seem to naively believe ... "I conclude that there are two ways of constructing a software ... no deficiencies and the other way is to make it so complicated ...
    (comp.lang.fortran)
  • Re: Windows Media Player executes WMF content in .MP3 files.
    ... Some UNIX GUI's can do this, but then if you have more ... pointing out that the problem seems to be associating executables with ... >>a text file which happens to contains an embedded shell command. ... and not in the kernel. ...
    (comp.security.misc)
  • Re: Whats the diff? (was: labelframe not platform-independent)
    ... the things Unix executables do with regard to stdio. ... I just examined both the tclkit.exe I have and the Linux tclkit I have ... have a MS-Windows myself to test this)? ...
    (comp.lang.tcl)
  • Re: Absolute path in argv[0]
    ... >> You see, in my experience, programmers who wish to know the absolute ... >> the way things are usually organized in Unix and Unixish systems. ... configuration files with their program. ... except executables, and administrative requirements often make it ...
    (comp.os.linux.misc)