Thread View: comp.sys.sequent
3 messages
3 total messages
Started by Roland Ruehl
Wed, 11 Jul 1990 12:32
binary remove
Author: Roland Ruehl
Date: Wed, 11 Jul 1990 12:32
Date: Wed, 11 Jul 1990 12:32
13 lines
736 bytes
736 bytes
Does anybody know if a running program on the Symmetry may crash
because (while it is running) the binary is removed from the disk ? Can
I prevent a program crash by restoring the binary at the place where it
was started and afterwards removed ?
Roland Ruehl uucp: uunet!mcsun!ethz!ruehl
Tel: (01) 256 5146 (Switzerland) eunet: ruehl@iis.ethz.ch
+411 256 5146 (International)
Integrated Systems Laboratory
ETH-Zentrum
8092 Zurich
Re: binary remove
Author: Ian Johnstone
Date: Wed, 11 Jul 1990 20:44
Date: Wed, 11 Jul 1990 20:44
15 lines
1061 bytes
1061 bytes
In article <5063@ethz.UUCP> ruehl@ethz.UUCP (Roland Ruehl) writes: > >Does anybody know if a running program on the Symmetry may crash >because (while it is running) the binary is removed from the disk ? Can >I prevent a program crash by restoring the binary at the place where it >was started and afterwards removed ? > Removing the file doesn't release space until the last reference to the file is removed. Mapping a file (eg, by executing it as a binary) holds a reference to the file. Therefore no 'crash' can occur. -- Ian Johnstone uunet!sequent!ianj Sequent Computer Systems 503-626-5700 Beaverton, Oregon
Re: binary remove
Author: Amos Shapir
Date: Thu, 12 Jul 1990 06:35
Date: Thu, 12 Jul 1990 06:35
24 lines
1604 bytes
1604 bytes
In article <5063@ethz.UUCP> ruehl@ethz.UUCP (Roland Ruehl) writes: > >Does anybody know if a running program on the Symmetry may crash >because (while it is running) the binary is removed from the disk ? Can >I prevent a program crash by restoring the binary at the place where it >was started and afterwards removed ? As in any UNIX system, a file is not actually destroyed, only its name in the directory is removed. As long as the file has a hard link in another directory, or is still open (for reading, writing or execution) it (its inode, actually) stays on the disk. A file is only destroyed when the last process which uses it does a "close" or exits. Restoring the binary does not do anything in that regard, since it creates a *different* file with the same name and contents. On the other hand, some systems have a bug which cause them to crash when a large number of files are removed and created at a short time. Symmetry might have inherited this bug. -- Amos Shapir amos@taux01.nsc.com, amos@nsc.nsc.com National Semiconductor (Israel) P.O.B. 3007, Herzlia 46104, Israel Tel. +972 52 522408 TWX: 33691, fax: +972-52-558322 GEO: 34 48 E / 32 10 N
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads