rcp and st_mtime

stanonik at nprdc stanonik at nprdc
Sat Feb 23 05:16:12 AEST 1985


We maintain a common /usr/lib/aliases on one machine and propagate
updates to other machines by
	cd /usr/lib
	rcp aliases* othermachine:/usr/lib
Sometimes after doing this, sendmail on othermachine warns that
the "database is out of date"; ie, aliases is newer (st_mtime) than 
aliases.pag.  csh sorts expanded filenames alphabetically, and rcp 
handshakes (ga/response) between file transfers.  Any ideas why the
st_mtime's don't reflect the order of transfer?  Maybe it has something
(everything) to do with aliases.pag on othermachine sometimes being
in use during the transfer?

Thanks,

Ron Stanonik
stanonik at nprdc



More information about the Comp.unix mailing list