9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: rog@vitanuova.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] fossil woe
Date: Wed,  7 Dec 2005 21:03:34 +0000	[thread overview]
Message-ID: <44db37f075e341c3264601a498c2b4b7@vitanuova.com> (raw)
In-Reply-To: <ee9e417a0512061541v5a2a036dud3e32abc7363e74c@mail.gmail.com>

> Fossil needs some notion of being close to full, at which point
> its behavior would change.  Automatic snapshots would stop,
> as would mtime updates and any other source of automatic
> dirtying of blocks.  There should be a few blocks reserved for
> snapshots taken in response to manual console commands.
> Then when fossil fills, you can remove recently written data
> (if some runaway program has filled the disk) or connect to
> the console and delete old snapshots or take an archival
> snapshot.

this seems fine, but... it still seems somewhat arduous when all
one really wants to do is copy a load of data to venti.

one idea:

why not make it possible to directly insert vac archives into
a fossil filesystem?

e.g. with a new fossilcons command:

	createvac path score uid gid perm

fossil could remap the (possibly spurious) usernames in the
vac archive, for instance by mapping all user and group ids to
the given uid and gid.

then a large quantity of new data could be "vac"ed directly
onto venti, and then made available within fossil.

in combination with the "vac" console command, this could make
other previously hard things straightforward; for example replicating
or moving huge directories from place to place without
copying all the data.

would this be very hard within the current fossil structure?



  parent reply	other threads:[~2005-12-07 21:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-06 21:02 Bruce Ellis
2005-12-06 22:07 ` Russ Cox
2005-12-06 22:19   ` Eric Van Hensbergen
2005-12-06 23:10   ` Bruce Ellis
2005-12-06 23:41     ` Russ Cox
2005-12-06 23:48       ` Bruce Ellis
2005-12-07 21:03       ` rog [this message]
2005-12-07 21:07         ` Steve Simon
2005-12-07 21:12         ` Bruce Ellis
2005-12-07 21:36           ` Russ Cox
2005-12-07 21:55             ` Bruce Ellis
2005-12-07 22:09               ` jmk
2005-12-07 22:41               ` Russ Cox
2005-12-07 21:49           ` jmk
2005-12-07  0:17 ` geoff

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=44db37f075e341c3264601a498c2b4b7@vitanuova.com \
    --to=rog@vitanuova.com \
    --cc=9fans@cse.psu.edu \
    /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).