From: "Russ Cox" <rsc@swtch.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Cc: christian.kellermann@nefkom.net
Subject: Re: [9fans] venti p9p problems
Date: Sun, 1 Oct 2006 09:41:35 -0400 [thread overview]
Message-ID: <ee9e417a0610010641l299007c5l45d46cd6bb2f58ff@mail.gmail.com> (raw)
In-Reply-To: <20061001003854.GA22525@pestilenz.org>
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
next prev parent reply other threads:[~2006-10-01 13:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-01 0:38 Matthias Bauer, Matthias Bauer
2006-10-01 13:41 ` Russ Cox [this message]
2006-10-01 14:58 ` Matthias Bauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ee9e417a0610010641l299007c5l45d46cd6bb2f58ff@mail.gmail.com \
--to=rsc@swtch.com \
--cc=9fans@cse.psu.edu \
--cc=christian.kellermann@nefkom.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).