Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: graichen@mail.physik.fu-berlin.de (Thomas Graichen)
Subject: Re: Overwriting exe's crashes osf programs ? Why
Date: 1996/02/22	[thread overview]
Message-ID: <4gigro$2pt@prospero.physik.fu-berlin.de> (raw)
In-Reply-To: 4gie5u$ngn@lal.interserv.net

levine@amarex.com wrote:
: When we overwrite executables on disk programs running that exe crash...Can I aviod
: with any link options ???   

i think this happens because Digital UNIX uses (like most othere modern unices
too) demand paging of executables - i.e. it reads pages which are unused at
the program start later if it needs them - if you now delete the executable it
will die if it needs a page it doesn't have in memory and wanted to read it
from the executable file which doesn't exit any longer

maybe you can avoid it by using a special linker option (don't have a man page
of the Digital UNIX linker handy here - run FreeBSD at home :-) or simply
moving it to a new name and delete it later - don't know what you need the
deletability for

t

--
  thomas graichen    graichen@mail.physik.fu-berlin.de    graichen@FreeBSD.org

  perfection is reached, not when there is no longer anything to add, but when
      there is no longer anything to take away    antoine de saint-exupery



  reply	other threads:[~1996-02-22  5:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-02-22  5:00 Overwriting exe's crashes osf programs ? Why levine
1996-02-22  5:00 ` Thomas Graichen [this message]
1996-02-27  5:00   ` Jon Trulson
1996-02-22  5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1996-02-22  5:00 ` Jeffrey M. Denham
1996-02-23  5:00   ` Richard Westerik
1996-02-25  5:00     ` Mike Iglesias
1996-02-25  5:00       ` Richard Westerik
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox