9fans archive / 1995 / 08 / 94 /    prev next

From: presotto@pla... presotto@pla...
Subject: No subject
Date: Tue, 8 Aug 1995 09:12:17 -0400

Unlike dossrv, ftpfs doesn't post a file in /srv.  Dossrv does that
since it can be mounted many times.  If you removed dossrv's /srv/dos
file, it too would go away since that would clunk the last reference.

------ original message follows ------

>From cse.psu.edu!9fans-outgoing-owner Mon Aug  7 23:35:50 EDT 1995
Received: by colossus.cse.psu.edu id <45492>; Mon, 7 Aug 1995 23:13:50 -0400
Received: from galapagos.cse.psu.edu ([130.203.2.12]) by colossus.cse.psu.edu with SMTP id <45517>; Mon, 7 Aug 1995 22:52:39 -0400
Received: from localhost by galapagos.cse.psu.edu with SMTP id <12712>; Mon, 7 Aug 1995 22:10:29 -0400
To:	9fans@cse...
In-reply-to: Your message of "Mon, 07 Aug 1995 19:15:25 EDT."
             <95Aug7.192122edt.34017@psu...> 
Date:	Mon, 7 Aug 1995 22:10:15 -0400
From:	Scott Schwartz <schwartz@gal...>
Message-Id: <95Aug7.221029edt.12712@gal...>
Sender: owner-9fans@cse...
Precedence: bulk
Reply-To: 9fans@cse...

philw@pla... writes:
| >Why does this happen...  I run dossrv, and then exit, and the shell
| >doesn't go away until dossrv is killed from another window.  
| the dossrv is holding a reference to the files supplied by the
| window system (eg. /dev/cons). Windows are cleared up by
| reference counting.

That sounds like a bug.  But why doesn't ftpfs suffer the same
symptoms?  On the other hand, even
	sleep 10 >[0]/tmp/zz >[1]/tmp/zz >[2]/tmp/zz >[3]/tmp/zz &
makes the window stick around; what files is that holding open?
It should be none, right?