Michael G Schwern wrote: >On Mon, Jul 11, 2005 at 10:30:54AM -0700, kynn jones wrote: > > >>File::Copy::mv does not preserve the file's mtime across NFS-mounted >>filesystems. This differs from the behavior of the Unix mv(1) >>command, and is not documented in the man page for File::Copy. >> >> > >You're right. And the problem affects any cross-partition move. mv() >falls back to copy() if it cannot rename, as in the case of moving across >partitions, but it does not adjust the mtimes to match. > >The attached patch should fix this by setting the atime and mtime of the >copied file. > Thanks. Applied as change 25120.
------------------------------------------------ Radan Computational Ltd. The information contained in this message and any files transmitted with it are confidential and intended for the addressee(s) only. If you have received this message in error or there are any problems, please notify the sender immediately. The unauthorized use, disclosure, copying or alteration of this message is strictly forbidden. Note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Radan Computational Ltd. The recipient(s) of this message should check it and any attached files for viruses: Radan Computational will accept no liability for any damage caused by any virus transmitted by this email.