[CRIU] [PATCH 11/12] tty: Add external ttys handling

Cyrill Gorcunov gorcunov at gmail.com
Fri Oct 3 01:24:19 PDT 2014


On Fri, Oct 03, 2014 at 12:07:34PM +0400, Cyrill Gorcunov wrote:
> On Fri, Oct 03, 2014 at 12:00:30PM +0400, Andrew Vagin wrote:
> > On Fri, Oct 03, 2014 at 11:50:04AM +0400, Cyrill Gorcunov wrote:
> > > Some types of ttys (such as /dev/console) should be c/r'ed in
> > > simle manner -- just opent them by path on restore, for this
> > > sake that named external TTYs are introduced.
> > > 
> > > For example, for /dev/console one simply need to pass an option
> > > 
> > > 	--ext-tty 5:1
> > 
> > Can we use paths instead of maj:min? For example LXC bindmounts a host
> > /dev/pty/X to /dev/console.
> 
> We can, but the problem is that

Actually we can do the trick and allow /dev/pty/X as well, ie I'll
internally get it's stat and reserve major:monor, sounds good?


More information about the CRIU mailing list