Messages in this thread | | | Subject | Re: linux-2.5.4-pre1 - bitkeeper testing | From | Harald Arnesen <> | Date | Mon, 11 Mar 2002 10:46:01 +0100 |
| |
Alan Cox <alan@lxorguk.ukuu.org.uk> writes:
>> It was fabulous at that time. The first time you create a file, it >> gets ";1" appended to it's filename. When you edit it, it gets saved >> under the same name, this time appended by ";2". Edit it again... >> whell, you get the picture. Cleaning up was as simple as "$ PURGE >> /KEEP=3" to keep the last three versions.
> Its trickier than that - because all your other semantics have to align, > its akin to the undelete problem (in fact its identical). Do you version on > a rewrite, on a truncate, only on an O_CREAT ?
The Sintran OS for the Norsk Data minicomputers had something similar. A new version was created every time a file was opened for writing.
It had its disadvantages. A typical machine where I worked at the time had one 60MB disk. However, you could set the number of copies on a per-file-basis, so big databases wouldn't have to be duplicated. -- Hilsen Harald. - 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/
| |