[comp.sources.d] Partial file-migration program available.

daveb@geac.UUCP (David Collier-Brown) (08/04/88)

  Well, I have an incomplete program to give away (because the subset
I have is useful as-is, and because I'll never find the time to
finish it).

  It is a file-migration for Berkeley 4.x BSD, which moves files to
a slower or off-line media (like a worm, dismountable pack or tape),
but leaves a symbolic link in the file's place, pointing to the new
location (if on-line) or containing enough information to allow it
to be easily put back on-line.
  It does not have the scripts and utilities for tapes in adequate
shape, and is therefor NOT finished.

  Anyone who wants it, please drop me mail. Man page follows:

.TH berk 1,local
.SH NAME
berk - migrate a file to offline storage
.SH SYNTAX
berk [command] [options]

.SH DESCRIPTION
The berk command is an interface to a offline storage hierarchy,
used for archiving files' contents.

In fact, saving a file causes it to be replaced by a symbolic link,
called a "berk".  If there is enough space for the file's contents
on the archive spool device, the symbolic link will point there.  If
not, or if the file has been on the archive device long enough, it
will be spilled to tape and the link will point to a name for the
tape/file combination. If we get a worm drive, it will become the
archive device and the link will point there.

The berk command allows one to save files to the archive, restore
them, and enquire about what you have in the archive or out on the
tapes. 

.SH EXAMPLES
.nf
berk ferd
berk -save ferd
berk -restore fred
berk -list
.fi

.SH FILES
.nf
/usr/spool/arch/[0-9]*.[0-9]*
.fi

.SH "SEE ALSO"
"The Berk Papers", tar(1), symlink(2).

.SH HISTORY
This was written by Dave Collier-Brown based on an
evil idea about extending the University of Waterloo's archiver.
(Which was by Ray Butterworth, who is in no way resposable for this
strange thing).
.SH BUGS
It is very much Berkeley-specific.
.PP
You can't follow a symlink back from the archive area, so the
archive database only records where the files where when they were
first berked. If you delete the berk you can only recreate the berk
where the database remembered it used to reside. 
.PP
It was written by Dave (instakludge) C-B.  Need we say more?
.PP
It isn't done yet, either!

-- 
 David Collier-Brown.  |{yunexus,utgpu}!geac!daveb
 Geac Computers Ltd.,  |  Computer science loses its
 350 Steelcase Road,   |  memory, if not its mind,
 Markham, Ontario.     |  every six months.