From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <714cd9d62658c91ea12dd049c08f7c1f@quanstro.net> From: erik quanstrom Date: Fri, 9 Jan 2009 15:27:43 -0500 To: 9fans@9fans.net In-Reply-To: <9140.1231531881@lunacy.ugrad.cs.cmu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] venti Topicbox-Message-UUID: 7eb37832-ead4-11e9-9d60-3106f5b1d025 > > 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? dns tries a similar trick. unfortunately, this means that dns doesn't like to be restarted when it's gone haywire as slay dns|rc doesn't seem to remove dns' entry from srv. it also assumes direct-attach storage. - erik