From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Sun, 1 Oct 2006 09:41:35 -0400 From: "Russ Cox" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] venti p9p problems In-Reply-To: <20061001003854.GA22525@pestilenz.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20061001003854.GA22525@pestilenz.org> Cc: christian.kellermann@nefkom.net Topicbox-Message-UUID: c2af172e-ead1-11e9-9d60-3106f5b1d025 The problem is that your vac archive has a single top-level directory named ".". Good luck cd'ing into that directory. ;-) Did you run "vac ." ? I though vac had been fixed not to record that as a top-level name, but maybe it was only / that got fixed. In src/cmd/vac/vacfs.c you will find the workaround from when vac used to save archives with a top-level directory named "/": VacFile* _vfWalk(VacFile *file, char *name) { VacFile *n; n = vacfilewalk(file, name); if(n) return n; if(strcmp(name, "SLASH") == 0) return vacfilewalk(file, "/"); return nil; } Try adding near the end: if(strcmp(name, "DOT") == 0) return vacfilewalk(file, "."); And then you should be able to access your archive. Russ