AFAIR creating a file (adding an entry to a dir's list) is an atomic operation so that problem also is solved.
-------- Original Message -------- On 11/6/24 18:39, whiteman808 <whiteman...@paraboletancza.org> wrote: > What in case when two lock files are being created at the same time? How > can I prevent in this case emerge fail? > > On 11/6/24 18:24, Holger Hoffstätte wrote: > > On 2024-11-06 18:16, whiteman808 wrote: > >> How can I prevent portage from overwriting the same source files in > >> the distfiles directory and possible checksum mismatches caused by > >> that behavior if I tell emerge to update @world simultaneously on > >> these different binary package servers? > > > > portage uses a lockfile for every download, so the problem does not exist. > > > > -h > > > > >
signature.asc
Description: OpenPGP digital signature