On Oct 6, 2006, at 6:15 PM, Nicolas Williams wrote:
What I'm saying is that I'd like to be able to keep multiple versions ofmy files without "echo *" or "ls" showing them to me by default.
Hmm, what about file.txt -> ._file.txt.1, ._file.txt.2, etc? If you don't like the _ you could use @ or some other character.
I'd like an option for ls(1), find(1) and friends to show file versions, and a way to copy (or, rather, un-hide) selected versions files so that I could now refer to them as usual -- when I do this I don't care to seeversion numbers in the file name, I just want to give them names.
ln -s ._file.txt.1 first_published_draft.txt ln -s ._file.txt.5 second_published_draft.txt
And, maybe, I'd like a way to write globs that match file versions (think of extended globboing, as in KSH).
Hmm, I'm not exactly sure what you mean by this, but using a dotfile scheme would allow you to easily glob for the file names.
Similarly with applications that keep files open but keep writing transactions in ways that the OS can't isolate without input from the app. E.g., databases. fsync(2) helps here, but lots and lots of fsync(2)s would result in no useful versioning.
Presumably you'd create a different fs for your database, turning the versioning property off. You'd be likely to want to adjust other fs parameters anyway, judging from some recent posts discussing how to get the best database performance.
-- Ben
PGP.sig
Description: This is a digitally signed message part
_______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss