Thanks, and what files can i link()? Hard link is used for build->jobdir and then for jobdir->newprj_builddir. New project files will be hard linked with src project and this potentially can effect if some daemon do open() for files. Also BSUtil:cp do open for src and dst that will cause in content changes for all hard linked files
There are only very few files that get appended to, the standard operation for file writing is to write the content in a tmp file and then rename to the destination. For the "build" area, the :jobhistory file is appended to, so don't hardlink that file. Maybe it's best to not link all files starting with ':'. The only other exception is the "history" file in the packages. It also is appended to. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org