Messages in this thread | | | Date | Thu, 20 Nov 2003 14:07:39 -0700 | From | Andreas Dilger <> | Subject | Re: OT: why no file copy() libc/syscall ?? |
| |
On Nov 20, 2003 15:44 -0500, Timothy Miller wrote: > This could be a problem if COW causes you to run out of space when > writing to the file.
Not much different than running out of space copying a file.
> This could also be a benefit if, for whatever reason, you have lots of > copies of the same file that you never change. But that sounds somewhat > pointless to me.
Umm, snapshots-in-time of your /home, /usr/src, etc? Copies of the kernel? Lots of reasons to have mostly-identical versions of files. Almost like hard links, except you aren't at the mercy of your editor/patch to do the right thing when modifying one of those copies.
Cheers, Andreas -- Andreas Dilger http://sourceforge.net/projects/ext2resize/ http://www-mddsp.enel.ucalgary.ca/People/adilger/
- 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/
| |