Bob Supnik lurking? (simh PDP11 question)

From: Ron Hudson <>
Date: Sun Oct 3 20:23:58 2004

On Oct 3, 2004, at 6:13 PM, Stephane Tsacas wrote:

> On unix renaming a file just updates the directory which contains the
> file. Also, from the process point of view, an opened file is a small
> integer, so the process can't be notified that the opened file has
> been renamed or even deleted (in that case the file will still use
> blocks on the filesystem until the process dies, you just lose access
> to it from outside the process).
> Stephane

Ok, What do you mean... It seems to me your saying that if I rename the
file and name a new one in it's place the running process (simh) will
continue to access the old file..(perhaps by inode)

Still true if I use links? And what if simh closes and opens the file

> On Sun, 3 Oct 2004 14:56:52 -0700, Ron Hudson
> <> wrote:
>> Bob or Anyone....
>> In simh if I have an
>> att rl0 diskdrive1
>> And the simulator is running, If I rename diskdrive1 to something
>> and
>> rename something-else to diskdrive1 does the simulator care? will it
>> start accessing the new disk image or continue to access the old? I
>> know this would have implications for the simulated OS (rsts on a
>> pdp11) but will it cause problems for the simulator?
>> Likewise what about the paper tape punch/reader and lineprinter files?
>> Could I use links?
>> $>ln rsts-rl-system.dsk diskdrive1
>> Then to change disk packs I
>> $>ln rsts-rl-othersystem diskdrive1
Received on Sun Oct 03 2004 - 20:23:58 BST

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:37:20 BST