Any Filesystems in Linux Support Versioning?


 
Thread Tools Search this Thread
Operating Systems Linux Any Filesystems in Linux Support Versioning?
# 1  
Old 09-08-2006
Any Filesystems in Linux Support Versioning?

A question that has come up repeatedly where I work from our former VMS guys is... "will any Linux filesystem ever support versioning like RMS did"? When they talk about versioning they really are talking about something that *I think* would involve having apps that support versioning. For example in OpenVMS, if you use the text editor "EDT" and edit a text file:

1. The original file is MYLIST.TXT with a version of ;1
2. After you edit it, the original file is renamed from MYLIST.TXT;1 to MYLIST.TXT;2 and the newer file is called MYLIST.TXT;1
3. If you edit it again, then it the original becomes MYLIST.TXT;3, the second version is MYLIST.TXT;2 and the latest edit is MYLIST.TXT;1

This continues on for as long as you have files around and I believe it's configurable to limit how many versions back you retain. So this leads me to wonder if this is even possible on any Linux filesystem.

I'm aware that Emacs can produce versions of files with a configurable limit as well. But wouldn't it be nice if all apps could do it? Even nicer if the filesystem really handled it in a transparent way... AND if the versioning was reversed compared to VMS so that the latest is the highest number with the latest version having the ability to be referenced without needing to append the version number. VMS actually works like that regarding the latest version, you don't need to append the version number to the file name unless you want an older version. So, is there anything like this out there for Linux? Or is this likely to be a dead issue?
# 2  
Old 09-08-2006
# 3  
Old 09-17-2006
that sound like a crappy installation of an CVS.
you can use CVSFS and use an content system directly.
# 4  
Old 09-20-2006
CVS is kind of overkill if all it's meant for is one machine.

Wayback looks like a really neat idea. Imagine using that for your /etc/ filesystem!
# 5  
Old 09-21-2006
Quote:
Originally Posted by deckard
A question that has come up repeatedly where I work from our former VMS guys is... "will any Linux filesystem ever support versioning like RMS did"? When they talk about versioning they really are talking about something that *I think* would involve having apps that support versioning. For example in OpenVMS, if you use the text editor "EDT" and edit a text file:

1. The original file is MYLIST.TXT with a version of ;1
2. After you edit it, the original file is renamed from MYLIST.TXT;1 to MYLIST.TXT;2 and the newer file is called MYLIST.TXT;1
3. If you edit it again, then it the original becomes MYLIST.TXT;3, the second version is MYLIST.TXT;2 and the latest edit is MYLIST.TXT;1

This continues on for as long as you have files around and I believe it's configurable to limit how many versions back you retain. So this leads me to wonder if this is even possible on any Linux filesystem.

I'm aware that Emacs can produce versions of files with a configurable limit as well. But wouldn't it be nice if all apps could do it? Even nicer if the filesystem really handled it in a transparent way... AND if the versioning was reversed compared to VMS so that the latest is the highest number with the latest version having the ability to be referenced without needing to append the version number. VMS actually works like that regarding the latest version, you don't need to append the version number to the file name unless you want an older version. So, is there anything like this out there for Linux? Or is this likely to be a dead issue?
I recomends Journalized fs (ext3) or exit 2. Its what I use...
(PS. go to the Windows/dos part of the forum, help me out. PLEASE.
Smilie Smilie
# 6  
Old 09-21-2006
A journalling file system is not the same thing as a versioning file system. A journalling file system has a (short) log of recently-modified blocks, etc. so that, if someone pulls the cord or something in the middle of a file operation, it can see where it left off and gracefully recover instead of leaving you with a corrupt filesystem. This log is not used to keep old versions of files.

Last edited by Corona688; 09-21-2006 at 11:53 AM..
# 7  
Old 05-22-2007
"THE Answer" is ext3cow

I finally found what I was looking for. It looks pretty damn cool and I believe it s a Fuse based filesystem:

Ext3cow

It allows you to take "snapshots" of your filesystem at specific points in time and then to access older files from the snapshots with a simple set of commands. The snapshot files do not "pollute" the standard file system. There's also a GUI that looks interesting:

The Time Travelling Interface (Should be called TARDIS)

NOTE: It's not yet 100% stable but it's claimed as usable. At least I now know better things are coming. I imagine other filesystems can't be far behind now that the methodology has been created... It's actually pretty ingenious. When you take a snapshot, only one thing happens: The 'epoch' counter in the superblock is updated. Once any of the files on the filesystem are altered after the snapshot point, new blocks are allocated to the modified portions of the file. So... your "old" and "new" files might actually share blocks if the data is still the same with only new modifications being allocated. Pretty cool.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Graphics Driver Support in Linux

It's not exactly a question and more of a discussion. I found very less graphics application being developed for linux system. I'm not really fond of graphics programming and have a very little knowledge about it. Can any one suggest me that whether linux lack in ghraphics support? or... (2 Replies)
Discussion started by: kg_gaurav
2 Replies

2. Infrastructure Monitoring

Nagios configuration support on Linux

Hi All, I have been trying to find a documentation for implementing a check of an Oracle query on Nagios environment. The requirement is very simple. This is the Oracle query select count(*) from IM_BC_JOB; If count_number >= 10 then RED alert if count_number < 10 then GREEN alert ... (1 Reply)
Discussion started by: gio123bgg
1 Replies

3. Red Hat

Does devlable support RedHat Linux 5.5 or later version?

Dear Guru, Last time when I install ORACLE RAC with ASM, I have use udev to mapping the raw device. Someone told me that "devlable" is good tool to achieve that. But I can find the rpm package for Linux 5.5. Look devlable only for x86 system? Am I right? What is the different between: udev... (0 Replies)
Discussion started by: devyfong
0 Replies

4. Linux

Ntfs5 Support For Linux

Hello, the other day i was trying to mount my WindowsXP partition in Linux and it said that the fs type was not supported. I know that WindowsXP does not use ntfs but uses ntfs5. If any of you guys know where i can find a file that will allow me to mount my ntfs5 please tell me. by the was i am... (1 Reply)
Discussion started by: xcaliber
1 Replies

5. UNIX for Dummies Questions & Answers

Unix/Linux Support?

If the strength of Unix based operating systems such as Linux and Red Hat are based on the fact that they are open-source. Who will provide support for personal computers or average users that uses these operating systems. Wouldn't the absence of some structured and formal support system inhibit... (8 Replies)
Discussion started by: wmosley2
8 Replies

6. Linux

Linux Hyper-thread support?

Hello all, I'm looking in to building a Redhat/Windows machine for myself and was wondering if Redhat linux support 800Mhz front side bus speed or hyper-thread? If so would I have to recompile the kernel to enable this feature? Thanks (3 Replies)
Discussion started by: larry
3 Replies

7. UNIX for Dummies Questions & Answers

SMP support in Linux 7.3

What is the SMP support like when you are running Linux 7.3 on a system with 2-4 CPUs? (3 Replies)
Discussion started by: AngryRabbi
3 Replies
Login or Register to Ask a Question