> > 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