9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Enrico Weigelt <weigelt@metux.de>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] command line tool for storing / reading files on venti
Date: Sat, 14 Jun 2008 02:02:23 +0200	[thread overview]
Message-ID: <20080614000222.GD9621@nibiru.local> (raw)
In-Reply-To: <20080613204655.735ED1E8C51@holo.morphisms.net>

* Russ Cox <rsc@swtch.com> wrote:
> > 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

Well, this doesnt seem to run this way on p9p :(
BTW: still leaves the problem that lot's of vacfs servers are
started not terminated after use :(


cu
--
----------------------------------------------------------------------
 Enrico Weigelt, metux IT service -- http://www.metux.de/

 cellphone: +49 174 7066481   email: info@metux.de   skype: nekrad666
----------------------------------------------------------------------
 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------



  reply	other threads:[~2008-06-14  0:02 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
2008-06-14  0:02   ` Enrico Weigelt [this message]
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=20080614000222.GD9621@nibiru.local \
    --to=weigelt@metux.de \
    --cc=9fans@9fans.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).