[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Duplicity-talk] Early release of duplicity archiver (i.e. filesystem/ar
From: |
Ben Escoto |
Subject: |
[Duplicity-talk] Early release of duplicity archiver (i.e. filesystem/archive thing we were talking about) |
Date: |
Sat, 22 Nov 2003 19:13:23 -0800 |
Hi, this first version is extremely limited (NOT useful for real
work), but if you are interested in helping out and working in an
interesting language (Haskell), download:
http://savannah.nongnu.org/download/duplicity/duplicity_archive-0.0.0.tar.gz
and check it out. BTW, thanks for all of that planning help before.
(Anyone up for some implementation help?)
Here is the readme file in that package:
-----------------------------------------------------------------------
Duplicity archiver v0.0.0 (Nov 22, 2003)
=========================================
Overview
--------
This is only v0.0.0, and was put together as an early prototype, not
to actually be useful. Here are some of the major showstoppers:
1. Incredibly slow. Archives limited to 10k for this reason.
2. No error correction.
3. No support for any encryption or compression.
4. Variable length text fields use idiosyncratic internal
representation instead of something better documented like XML.
However, it does write an archive of the form described at:
http://www.nongnu.org/duplicity/new_format.html
and then demonstrate how it can be mounted as a file system.
"Screenshot"
------------
~/prog/dar $ ls -ld test
drwxr-xr-x 3 ben ben 4096 Nov 22 18:18 test/
~/prog/dar $ ls -l test
total 12
lrwxrwxrwx 1 ben ben 7 Nov 22 18:17 destination -> symlink
prw-r--r-- 1 ben ben 0 Nov 22 18:17 fifo|
-rw-r--r-- 1 ben ben 24 Nov 18 21:11 foobar
drwxr-xr-x 2 ben ben 4096 Nov 18 21:12 subdir/
-r--r--r-- 1 ben ben 14 Nov 22 18:18 test
~/prog/dar $ ./makedar test > test.dar ### Put dir test in archive test.dar
~/prog/dar $ mkdir mount
~/prog/dar $ ./darfuse mount ### Mount archive test.dar on mount point
##### Meanwhile, in other terminal #####
~/prog/dar $ ls -ld mount
drwxr-xr-x 3 ben ben 4096 Nov 22 18:18 mount/
~/prog/dar $ ls -l mount
total 1604330849
lrwxrwxrwx 1 ben ben 7 Nov 22 18:17 destination -> symlink
prw-r--r-- 1 ben ben 0 Nov 22 18:17 fifo|
-rw-r--r-- 1 ben ben 24 Nov 18 21:11 foobar
drwxr-xr-x 2 ben ben 4096 Nov 18 21:12 subdir/
-r--r--r-- 1 ben ben 14 Nov 22 18:18 test
##### That's it, your archive is now available as a file system! #####
Building and Requirements
-------------------------
This program is mostly written in Haskell, so you must have the ghc
haskell compiler, downloadable fromhttp://www.haskell.org/ghc/. It
interfaces with the fuse userspace file system, available from
http://sourceforge.net/projects/avf.
Once these are in place, running
make
should work. You may need to edit the GHC_INCLUDE_DIR line to adapt
it to your system.
The result should be the programs:
1. makedar - Given directory, output archive to stdout
2. listdar - 'listdar test.dar' will read test.dar in one pass from
the beginning and list the files in it.
3. anaylze - 'analyze test.dar' will print obscure facts about test.dar
4. randomstat - 'randomstat test.dar path' will print facts about the
file path inside test.dar if it exists.
5. darfuse - 'darfuse mount_point' will mount the archive 'test.dar'
(this archive must be called 'test.dar' and must be in
the current directory) at directory mount_point.
Have fun!
--
Ben Escoto
pgp1MfMg4AUYo.pgp
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Duplicity-talk] Early release of duplicity archiver (i.e. filesystem/archive thing we were talking about),
Ben Escoto <=