From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 9 Jan 2009 13:08:02 -0800 From: "Roman V. Shaposhnik" In-reply-to: <9140.1231531881@lunacy.ugrad.cs.cmu.edu> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-id: <1231535282.6916.125.camel@goose.sun.com> MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT References: <9140.1231531881@lunacy.ugrad.cs.cmu.edu> Subject: Re: [9fans] venti Topicbox-Message-UUID: 7ec3ba4e-ead4-11e9-9d60-3106f5b1d025 On Fri, 2009-01-09 at 15:11 -0500, Dave Eckhardt wrote: > > A check could be put in by having venti put some sort of lock > > somewhere on the disk. But that would lead to problems if > > venti doesn't shut down properly: venti would be gone but the > > lock would still be there. > > Post an (ignored) mode 000 fd in /srv? Since nobody could open > it, it would always have one reference, and would go away when > the venti did? Very neat! One question though: since a hostowner can change permissions on the entry later, this still doesn't offer a guarantee of a single reference, does it? Thanks, Roman.