public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Versioning File Systems?
@ 2002-04-18 15:05 Kent Borg
  2002-04-18 15:20 ` Larry McVoy
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Kent Borg @ 2002-04-18 15:05 UTC (permalink / raw)
  To: linux-kernel

I just read an article mentioned on Slashdot,
<http://www.sigmaxi.org/amsci/Issues/Comsci02/Compsci2002-05.html>.

It is a fascinating short summary of the history of hard disks (they
still use the same fundamental design as the very first one) and an
update on current technology (disks are no longer aluminum).  It also
looks at today's 120 gigabyte disk and muses over the question of how
we might ever put an imagined 120 terabyte disk to use.  And the got
me thinking various thoughts, one turns into a question for this list:
It there any work going on to make a versioning file system?

I remember in VMS that I could accumulate "myfile.txt;1",
"myfilw.txt;2", etc., until the local admin got pissed at me for using
up all the disk space with my several megabytes of redundant files.

It is time for Linux to start figuring out ways to use all the disk
space that is on the horizon!  In a few weeks the sweet spot will be
to buy a pair of 80 GB disks.  Disks are outpacing even Red Hat's
"everything" install.

Seriously, I have a server in the basement with a pair of 60 GB RAID 1
disks the protect me against likely hardware failure, but they don't
protect me against: "# rm rf /*".  They don't even let me easily back
out a bad RPM from Red Hat.

I guess I am suggesting the (more constructive) discussions over
desirable Bitkeeper and CVS features consider what it would mean for a
filesystem to absorb some of the key underlying features of each.

As a first crack, I am imagining a file system that records every (or
nearly every) change to every file with time stamps and sequence
numbering.  I don't know what all the primitives would be.  It
obviously seems much of making sense of it all would have to happen in
userland.  Making this too powerful almost brings up some science
fiction problems of time travel through parallel universes, but I
think it could be kept grounded by looking at it as a powerful version
of existing backup systems: they don't have such problems because they
are too cumbersome for them to arise very often.


-kb, the Kent who thinks his journaled filesystem on redundant disks
next needs a better memory.

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: Versioning File Systems?
@ 2002-04-18 16:51 Kerl, John
  2002-04-18 17:24 ` Florin Iucha
  0 siblings, 1 reply; 13+ messages in thread
From: Kerl, John @ 2002-04-18 16:51 UTC (permalink / raw)
  To: 'Lars Marowsky-Bree', linux-kernel

Is it just me or is this sounding a lot like
ClearCase?  In their filesystem (I don't know
if they implement it in user space or kernel
space, but I do remember ClearCase on Solaris
did do some kernel mods), file names are really
directories, e.g. foo.c is current; foo.c/main/3
is a (perhaps different) specified version.

& for recovering from editor screwups, one could
easily imagine "vi foo.c/-3" to recover the file
from 3 saves ago, etc.

By "deducing change sets", is the question, how
to associate various versions of *different* files?
I.e. recovering an editor screw-up of a single
file is easy, but how do you back out that RPM
you just installed, which might have affected
many files?  Here ClearCase uses "labels",
which associates *one* name with the specified
versions of many files.  So you could set your
"view" (in ClearCase terms) to /tuesday, etc.

When I used ClearCase in prior jobs, I loved
it -- it was a joy *because* it looked like
a plain old filesystem (e.g. vi foo.c) when you
wanted to think of it that way, but it also
had full-featured version control.

Is the idea being discussed to open-source
something of that nature, and make it into
a filesystem?




-----Original Message-----
From: Lars Marowsky-Bree [mailto:lmb@suse.de]
Sent: Thursday, April 18, 2002 8:28 AM
To: linux-kernel@vger.kernel.org
Subject: Re: Versioning File Systems?


On 2002-04-18T08:20:25,
   Larry McVoy <lm@bitmover.com> said:

> It's certainly a fun space, file system hacking is always fun.  There
> doesn't seem to be a good match between file system operations and
> SCM operations, especially stuff like checkin.  write != checkin.
> But you can handle that with

Either that, or heuristics - file not written to / opened for writing in x
minutes -> commit.

That would actually be pretty interesting because it might also allow you to
back out editor screwups ;-)

However, deducing change sets is more difficult.


Sincerely,
    Lars Marowsky-Brée <lmb@suse.de>

-- 
Immortality is an adequate definition of high availability for me.
	--- Gregory F. Pfister

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2002-04-23 22:45 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-18 15:05 Versioning File Systems? Kent Borg
2002-04-18 15:20 ` Larry McVoy
2002-04-18 15:27   ` Lars Marowsky-Bree
2002-04-18 16:55     ` Kent Borg
2002-04-18 17:04       ` Joshua MacDonald
2002-04-20  8:44       ` Thomas Zimmerman
2002-04-18 23:19   ` Stevie O
2002-04-19  4:12     ` Mark Mielke
2002-04-18 18:11 ` Jeremy Jackson
2002-04-23 22:42 ` Bill Davidsen
  -- strict thread matches above, loose matches on Subject: below --
2002-04-18 16:51 Kerl, John
2002-04-18 17:24 ` Florin Iucha
2002-04-18 18:14   ` Kent Borg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox