[Devel] Re: [RFC][PATCH 1/3] Move parts of init_dev() into new functions

Alan Cox alan at lxorguk.ukuu.org.uk
Mon Aug 25 15:20:03 PDT 2008


> This seems more than a bit redundant.  The "instance", IMO, *is* the tty 
> structure; so the interface should be:

Only for a re-open - which is very different to an initial open,
and /dev/tty is deep magic in this situation.

> Not "index", but "inode".  If, as a courtesy to the generic driver, we 
> want to precalculate the index number we can do that, but otherwise that 
> is of course available as:

Thats a much bigger step and raises problems later on with consoles. We
might want to end up there - but not in one leap.

Alan
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list