2008/6/14 Bob Proulx <address@hidden>:
> Markku A. Mähönen wrote:
> > You don't get the exit code, if the system boots while 'cp -u'
>
> At that point the computational model of the machine is broken and
> there isn't anything that will protect you against file corruption.
> But you mentioned interrupted and therefore normal SIGINT came to
> mind.
>
>
There is a way to protect against file corruption: check the file sizes, as
I was suggesting previously.
rsync is not an answer to failing 'cp -u'
Cheers,
Markku