Browse Prior Art Database

Replacing Files which are in Use by the Operating System

IP.com Disclosure Number: IPCOM000107503D
Original Publication Date: 1992-Mar-01
Included in the Prior Art Database: 2005-Mar-21
Document File: 1 page(s) / 41K

Publishing Venue

IBM

Related People

Beck, JS: AUTHOR [+3]

Abstract

A method for replacing files that are in use by the operating system is disclosed. The files are replaced at system boot time, before they are intricately entwined with the operating system.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 84% of the total text.

Replacing Files which are in Use by the Operating System

       A method for replacing files that are in use by the
operating system is disclosed.  The files are replaced at system boot
time, before they are intricately entwined with the operating system.

      Under the OS/2* operating system a user-written program is
able, upon execution of its code, to become intricately entwined with
the operating system in such a way that the operating system will not
allow the file containing the program to be deleted or replaced.  If
such a program is invoked when the machine is loaded (during reboot,
or initial program load), then a process for replacing this file is
needed.

      In order to replace such a file, a process and subsequent
working code were developed.  When a new version of a file is to be
installed on the hard disk the new file is first copied to the hard
disk of the computer but given a name other than the file it is to
replace.  The computer is then rebooted and, before the old version
of this file is invoked and/or allowed to make calls to the operating
system, another routine is called.  This routine checks the hard disk
and, if new files are present (this routine is given a list of files
that should replace other files), it replaces the old files with the
new files.  Since the replacement is done before the old files were
invoked, and therefore allowed to become intricately entwined with
the operating system, the replacement is successful. ...