[CRIU] Unable to edit CRIU using crit

Ruslan Kuprieiev kupruser at gmail.com
Sun Mar 8 23:34:27 PDT 2015


Oh, looks like we were off the mailing list for some time.
Please, keep criu at openvz.org in CC, so others could help you too.

Thanks,
Ruslan

On 03/09/2015 08:32 AM, Ruslan Kuprieiev wrote:
> What error messages do you get on your system? Please, provide logs, 
> so we could
> figure out what is wrong.
>
> pages.img contains process memory in raw(well, almost raw) format, and 
> there is no
> reason in converting it to json, because base64 encoded binary data 
> doesn't
> make much sense =).
> CRIT decode/encode is to be used with criu images with protobuf data [1].
>
> [1] http://criu.org/Images#Images_with_PB_data
>
> Thanks,
> Ruslan
>
> On 03/09/2015 08:15 AM, John Statham wrote:
>> Thanks, its working on other system but don't know why its not 
>> working on my system.
>>
>> Why crit doesn't show pages.img?
>>
>>
>> Thanks
>>
>> On Sat, Mar 7, 2015 at 1:27 AM, Ruslan Kuprieiev <kupruser at gmail.com 
>> <mailto:kupruser at gmail.com>> wrote:
>>
>>     To edit mountpoint.img, you need to perform such actions:
>>
>>     1) Convert image to human-readable format(json) by running:
>>         crit decode -i mountpoint.img -o mountpoint.img.json --pretty
>>     2) Open mountpoint.img.json, find field that you want to change,
>>     edit it and save the file
>>     3) Convert image to binary type with cmd:
>>         crit encode -i mountpoint.img.json -o mountpoint.img
>>
>>     Thanks,
>>     Ruslan
>>
>>
>>     On 03/06/2015 09:48 PM, John Statham wrote:
>>>     I want to change the value of root in mountpoint.img.
>>>     Thanks
>>>
>>>     On Fri, Mar 6, 2015 at 4:34 PM, Ruslan Kuprieiev
>>>     <kupruser at gmail.com <mailto:kupruser at gmail.com>> wrote:
>>>
>>>         Hi John,
>>>
>>>         Could you clarify what you are trying to edit?
>>>         Also, details are appreciated.
>>>
>>>         Thanks,
>>>         Ruslan
>>>
>>>
>>>         On 03/06/2015 12:49 PM, John Statham wrote:
>>>>         I am getting problem in editing the CRIU using crit.
>>>>         How to do the same? What do I need to do?
>>>>         Thanks
>>>>
>>>>
>>>>         _______________________________________________
>>>>         CRIU mailing list
>>>>         CRIU at openvz.org  <mailto:CRIU at openvz.org>
>>>>         https://lists.openvz.org/mailman/listinfo/criu
>>>
>>>
>>
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20150309/b6544f76/attachment-0001.html>


More information about the CRIU mailing list