Dennis Peterson wrote: > Bill Landry wrote: > >> I have read that standards since POSIX.1-1988 onwards have imposed >> atomicity requirements on rename (mv) that effectively require it to be >> a system call. The Open Group Base Specifications Issue 7 states: >> >> "This rename() function is equivalent for regular files to that defined >> by the ISO C standard. Its inclusion here expands that definition to >> include actions on directories and specifies behavior when the new >> parameter names a file that already exists. That specification requires >> that the action of the function be atomic." >> >> For reference, see: >> >> http://www.opengroup.org/onlinepubs/9699919799/functions/rename.html >> >> So why not just use mv, since mv is simply a rename (see man rename and >> man mv). > > Between file systems? That's a good trick.
You never claimed to be moving file between file systems. I don't think that most 3rd party signature users are moving files between file systems once they have download and tested the files, although I certainly could be wrong. Bill _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml