Demand paged executables
Peter da Silva
peter at ficc.uu.net
Sat Feb 4 05:18:07 AEST 1989
In article <314 at spca6.UUCP>, ray at spca6.UUCP (ray) should probably go back to
Bach's book and re-read the stuff about what happend when you delete an open
file...
> Consider what might happen if an a.out with shared text is started (process A).
> Next the actual file is allowed to be removed.
> Later an executable is created and happens to land at the same inode that the
> previous a.out used.
Can't happen. This is exactly equivalent to what happens when you delete an
open file. What would happen is that the inode and file would hang around
with the open count >= 1. When the last process using that image terminated,
open count would == 0 and link count would == 0, and the file would be
reclaimed. New files would get new inodes until reclamation.
--
Peter da Silva, Xenix Support, Ferranti International Controls Corporation.
Work: uunet.uu.net!ficc!peter, peter at ficc.uu.net, +1 713 274 5180. `-_-'
Home: bigtex!texbell!sugar!peter, peter at sugar.uu.net. 'U`
Opinions may not represent the policies of FICC or the Xenix Support group.
More information about the Comp.unix.wizards
mailing list