[CRIU] Re: [PATCH] dump: global image names introduced

Kinsbursky Stanislav skinsbursky at openvz.org
Wed Mar 21 04:23:46 EDT 2012


20.03.2012 23:43, Pavel Emelyanov пишет:
>> @@ -179,6 +180,13 @@ int open_image(int type, unsigned long flags, ...)
>>   		}
>>   	}
>>
>> +	if (flags&  O_APPEND) {
>> +		struct stat tmp;
>> +
>> +		if (stat(path,&tmp) == 0)
>> +			write_magic = 0;
>> +	}
> A scenario. You run crtools dump and it doesn't work, but some image files
> are created. You fix smth and run it again. The image files being opened with
> O_APPEND are not re-initialized.
>

Strange scenario.
But ok, I'll send update.

-- 
Best regards,
Stanislav Kinsbursky




More information about the CRIU mailing list