COW files

2005-10-29 Thread Gregory Maxwell
Any thought to making a file plugin that creates copy on write files? The operation would be something like a hardlink which is invisible to the user and broken as soon as either file is modified. Files could be COWed by a flag on the cp command (or really, perhaps that should be the default

Re: COW files

2005-10-29 Thread David Masover
Gregory Maxwell wrote: Files could be COWed by a flag on the cp command (or really, perhaps that should be the default behavior) or with a utility (perhaps run as a periodic script to locate duplicates and COW them. This would greatly speed up the process of copying files. Should be on the

Re: COW files

2005-10-29 Thread Lexington Luthor
David Masover wrote: Gregory Maxwell wrote: Files could be COWed by a flag on the cp command (or really, perhaps that should be the default behavior) or with a utility (perhaps run as a periodic script to locate duplicates and COW them. This would greatly speed up the process of copying files.

Re: COW files

2005-10-29 Thread David Masover
directory trees. Perhaps with a reiser4 specific tool that does a COW cp -al. Ok, are you talking about making all the files COW, or the directory structure itself somehow COW? Because if someone patched cp to do COW files, I'm sure it would also work for cp -a, which would be about as fast as cp -al

Re: COW files

2005-10-29 Thread Lexington Luthor
David Masover wrote: Ok, are you talking about making all the files COW, or the directory structure itself somehow COW? Because if someone patched cp to do COW files, I'm sure it would also work for cp -a, which would be about as fast as cp -al. I'm not sure how it'd work to make entire

Re: COW files

2005-10-29 Thread Hans Reiser
Gregory Maxwell wrote: Any thought to making a file plugin that creates copy on write files? The operation would be something like a hardlink which is invisible to the user and broken as soon as either file is modified. Files could be COWed by a flag on the cp command (or really, perhaps that