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

Pavel Emelyanov xemul at parallels.com
Thu Oct 23 14:05:01 PDT 2014


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".

> If there is any other way to test it, or I miss something obvious,
> please letme know.
> 



More information about the CRIU mailing list