From: "Russ Cox" <rsc@swtch.com>
To: weigelt@metux.de, 9fans@9fans.net
Subject: Re: [9fans] command line tool for storing / reading files on venti
Date: Fri, 13 Jun 2008 16:48:40 -0400 [thread overview]
Message-ID: <20080613204655.735ED1E8C51@holo.morphisms.net> (raw)
In-Reply-To: <20080613195025.GA9621@nibiru.local>
> The venti/read and venti/write commands just support single blocks.
> Vac seems fine as archive tool, but it only can store - I need some
> "unvac" command. (mounting each single archive via vacfs is a bit
> too complicated for my project).
I'm hesitant to bother replying, as we learned earlier that
your idea of complicated does not match established norms.
That said, here is an (untested) unvac command:
#!/bin/rc
if(! ~ $#* 2){
echo 'usage: unvac file.vac directory'
exit 1
}
rfork n
vacfs $1 || exit
mkdir -p $2 || exit
dircp /n/vac $2
Russ
next prev parent reply other threads:[~2008-06-13 20:48 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-13 19:50 Enrico Weigelt
2008-06-13 19:58 ` Pietro Gagliardi
2008-06-13 20:29 ` Enrico Weigelt
2008-06-13 20:44 ` Pietro Gagliardi
2008-06-13 20:27 ` a
2008-06-13 20:56 ` Enrico Weigelt
2008-06-13 20:48 ` Russ Cox [this message]
2008-06-14 0:02 ` Enrico Weigelt
2008-06-14 0:26 ` Russ Cox
2008-06-14 13:03 ` Enrico Weigelt
2008-06-14 17:51 ` Russ Cox
2008-06-15 16:02 ` Enrico Weigelt
2008-06-15 16:33 ` Pietro Gagliardi
2008-06-15 17:13 ` Enrico Weigelt
2008-06-15 17:32 ` Pietro Gagliardi
2008-06-15 23:58 ` Enrico Weigelt
2008-06-16 15:24 ` ron minnich
2008-06-16 8:37 ` Steve Simon
2008-06-15 17:25 ` erik quanstrom
2008-06-15 17:32 ` Russ Cox
2008-06-16 1:28 ` Enrico Weigelt
2008-06-16 2:35 ` Venkatesh Srinivas
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=20080613204655.735ED1E8C51@holo.morphisms.net \
--to=rsc@swtch.com \
--cc=9fans@9fans.net \
--cc=weigelt@metux.de \
/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).