[CRIU] [PATCH 9/9] tty: Add support of /dev/console

Pavel Emelyanov xemul at parallels.com
Mon Oct 27 10:36:26 PDT 2014


On 10/24/2014 01:42 PM, Cyrill Gorcunov wrote:
> On Fri, Oct 24, 2014 at 01:05:01AM +0400, Pavel Emelyanov wrote:
>> On 10/24/2014 12:52 AM, Cyrill Gorcunov wrote:
>>> On Thu, Oct 23, 2014 at 06:16:47PM +0400, Pavel Emelyanov wrote:
>>>>
>>>> No, please. Don't make the dump_one_pty() be 3-screen long.
>>>
>>> Pavel, please take a look on the attached one, hopefully it address
>>> the concern. Still at moment I can't figure out a way to make a
>>> separate test for this (I use this series with openvz kernel where
>>> devtmpfs is virtualized and container is using own /dev/console).
>>>
>>> The main problem -- we can't simly create new console if system
>>> one is present, iow console should be created on devtmpfs which
>>> is in one instance for vanilla kernel.
>>
>> What do you mean by "can't create"?
>> On my laptop 'sudo mknod /root/my_cons c 5 1' "just works".
> 
> The test is attached. Pavel, what you prefer -- pick up patches
> from here or I to send them anew?
> 
All applied, thanks!


More information about the CRIU mailing list