Skip to contentSkip to conversation

History plugin in ReiserFS?

DISCUSSION Toomas Laasik 3 participants 3 messages Oct 30, 2005 – Oct 31, 2005

lore
Share & tools
lore
#0 lore raw

Hello,

I was wondering if reiserfs has some sort of history plugin. I want a filesystem that manages files similar to CVS or SVN so that I can say for example that "I want asdasd.txt file exactly as it was on 15.10.2005 14:20:05" and I can get it. Of cource keeping that kind of "changelog" takes much room on disk, but I assume one could set a percentage of disk space for history and/or max days to keep history from.

It is one of my university projects to make this kind of filesystem or modify some existing filesystem eg ReiserFS.

Any sugestions how to implement or where to start? Is something like that made already? Do you think that extending ReiserFS would be a good option? I searched Google trying to find some material about writing ReiserFS plugins, but found very little useful. Maybe it's easier to start from scratch? The goal is not to make production safe filesystem, but just accomplish my task. Of cource if it is possible I would like that what I do is useful not only to me but for others who might want something similar too.

Thanks in advance,

Toomas

#1 lore raw
Quoted 10 lines · Toomas Laasik

Hello,

I was wondering if reiserfs has some sort of history plugin. I want a filesystem that manages files similar to CVS or SVN so that I can say for example that "I want asdasd.txt file exactly as it was on 15.10.2005 14:20:05" and I can get it. Of cource keeping that kind of "changelog" takes much room on disk, but I assume one could set a percentage of disk space for history and/or max days to keep history from.

Nothing yet exists, it should be done, and I encourage the doing of it.

Quoted 4 lines

It is one of my university projects to make this kind of filesystem or modify some existing filesystem eg ReiserFS.

Please send a design document.

Quoted 4 lines

Any sugestions how to implement or where to start? Is something like that made already? Do you think that extending ReiserFS would be a good option?

Yes.

Quoted 3 lines

I searched Google trying to find some material about writing ReiserFS plugins, but found very little useful.

The assumption made is that people who write plugins read the source
code.;-) We get complaints from people about our comments being too
long (oy veh), so.....

The other thing to do is to join our developers list, and ask lots of questions.

Quoted 4 lines

Maybe it's easier to start from
scratch? The goal is not to make production safe filesystem, but just accomplish my task.

Why bother to write code if a few million aren't going to use it? It is always better to write less code and get it stable so it is widely used......

Quoted 4 lines

Of cource if it is possible I would like that what I
do is useful not only to me but for others who might want something similar too.

Quoted 8 lines

Thanks in advance,

Toomas

welcome to our community.

Hans

#2 lore raw
Quoted 12 lines · Hans Reiser
Quoted 10 lines · Toomas Laasik

Hello,

I was wondering if reiserfs has some sort of history plugin. I want a filesystem that manages files similar to CVS or SVN so that I can say for example that "I want asdasd.txt file exactly as it was on 15.10.2005 14:20:05" and I can get it. Of cource keeping that kind of "changelog" takes much room on disk, but I assume one could set a percentage of disk space for history and/or max days to keep history from.

Quoted 2 lines

Nothing yet exists, it should be done, and I encourage the doing of it.

it is not implemented directly in the kernel yet, afaik, but fuse filesystems do exists which does this, i know of two, which can accomplish it.
cvsfs - it mounts cvs, thus having version control, but requires cvs server
http://sourceforge.net/projects/cvsfs

then there is wayback, which is kinda a bridge between any filesystem, and the version controlled, so lets say you have /mnt/bigstorage, with a mofo raid mounted, then you do this:
mkdir /mnt/cvsfs
fusemount wayback_thing /mnt/bigstorage /mnt/cvsfs..
^^ not how you do, but you get the idea.
http://wayback.sourceforge.net/

Quoted 47 lines
Quoted 4 lines

It is one of my university projects to make this kind of filesystem or modify some existing filesystem eg ReiserFS.

Please send a design document.

Quoted 4 lines

Any sugestions how to implement or where to start? Is something like that made already? Do you think that extending ReiserFS would be a good option?

Yes.

Quoted 3 lines

I searched Google trying to find some material about writing ReiserFS plugins, but found very little useful.

The assumption made is that people who write plugins read the source
code.;-) We get complaints from people about our comments being too
long (oy veh), so.....

The other thing to do is to join our developers list, and ask lots of questions.

Quoted 4 lines

Maybe it's easier to start from
scratch? The goal is not to make production safe filesystem, but just accomplish my task.

Why bother to write code if a few million aren't going to use it? It is always better to write less code and get it stable so it is widely used......

Quoted 4 lines

Of cource if it is possible I would like that what I
do is useful not only to me but for others who might want something similar too.

Quoted 8 lines

Thanks in advance,

Toomas

welcome to our community.

Hans

Signature · 1 line
Redeeman <[email protected]>