From mboxrd@z Thu Jan 1 00:00:00 1970 To: weigelt@metux.de, 9fans@9fans.net Subject: Re: [9fans] command line tool for storing / reading files on venti From: "Russ Cox" Date: Fri, 13 Jun 2008 16:48:40 -0400 In-Reply-To: <20080613195025.GA9621@nibiru.local> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20080613204655.735ED1E8C51@holo.morphisms.net> Topicbox-Message-UUID: bf98cb96-ead3-11e9-9d60-3106f5b1d025 > 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