>> Why _not_ use -C? What is the point in replacing a file with the same file? >> install -C will replace the file if the new file is diffrent. > >Aaaaaaaah, thank you. I misread the manpage description of -C and didn't >notice "and the files are the same"... > >Cleared up, head back on straight. :-)
This is not so clear :-). -C always does a complete replacement of the file, as does -c, but the man page bogusly claims that the target file is overwritten. The complete replacement is necessary to snap any links (another undocumented feature). Someday -C should avoid touching the file if possible, so that it doesn't clobber the file's ctime and backups based on ctimes don't do unnecessary work. This is possible if none of the attributes except the file times would change, and fairly easy to implement if the file doesn't have any links. Bruce To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message