9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Enrico Weigelt <weigelt@metux.de>
To: 9fans@9fans.net
Subject: Re: [9fans] command line tool for storing / reading files on venti
Date: Sun, 15 Jun 2008 18:02:35 +0200	[thread overview]
Message-ID: <20080615160235.GA19951@nibiru.local> (raw)
In-Reply-To: <20080614175003.4DA171E8C3A@holo.morphisms.net>

* Russ Cox <rsc@swtch.com> wrote:

> rfork n forks the name space, so that any changes
> made by the script don't propagate out to the
> parent process.  This means that (1) vacfs can
> mount on /n/vac without any fear of bothering
> some other instance of the script, and (2) when the
> script exits, there will be no more references to
> the mounted /n/vac and the kernel will unmount it.

Aha. But this still does not terminate the vacfs, right ?

> > Meanwhile I've hacked up vacfs to give it an "autodie" mode.
> > It means: automatically terminate if the last file has been
> > closed. Seems to work, but now idea how stable it would be
> > in production ;-o
>
> In the time it took you to do that you could probably
> have written unvac instead.

hmm, maybe ;-o

Meanwhile I've written an new tool which stores single files
(no directory stuff at all). Not perfect yet, but already
works quite fine (IMHO):

svn://nibiru.metux.de/public/plan9port/apps/vtstore/

In the next step, I'll add http-alike metadata (mimetype, etc).


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-15 16: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
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 [this message]
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=20080615160235.GA19951@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).