Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!ucbvax!mtxinu!sybase!orion!wolfe From: wolfe@orion.sybase.com (Dave Wolfe) Newsgroups: comp.os.misc Subject: Re: More questions about Amoeba and Capabilities Message-ID: <13381@sybase.sybase.com> Date: 19 Jun 91 18:07:05 GMT References: <2623@amix.commodore.com@ <10238@star.cs.vu.nl> Sender: news@Sybase.COM Organization: Sybase, Inc. Lines: 20 In article <2623@amix.commodore.com@ skrenta@amix.commodore.com (Rich Skrenta) writes: >@Question #2: >@ >@The bullet file server returns a capability when you ask it to create a >@file. >@Presumably you're supposed to add this capability to a directory or otherwise >@responsibly manage it. But what if you "lose" it? In article <10238@star.cs.vu.nl> ast@cs.vu.nl (Andy Tanenbaum) writes: >It will eventually be garbage collected. Normally you access the servers >through standard library routines that take care of registering capabilities >in directories for you, so they don't get lost. If you make the low-level >calls directly, then you have to be careful not to lose them. Still doesn't answer the question of "what if you lose them?" Isn't there also a possible window between the time the file/object is created and the time a directory entry is made? Seems like you have a storage leak problem in the event of a failure. -DaveW