[Pkg-uml-devel] Patch: enables to run rootstrap in the background

shaulka at 012.net.il shaulka at 012.net.il
Sat Nov 18 22:44:10 CET 2006


  On Saturday, November 18, 2006 9:54 pm, Mattia Dongili wrote:

> Anyway, since uml already has some way of avoiding the tty usage 
> why not
> simply use "con=null con0=null" when rootstrap is not controlling the
> terminal?
> 

  The fact that rootstrap has no controlling terminal is equivalent to 
os.tcgetpgrp(sys.std{in,out}.fileno()) != os.getpgrp(). However if you will
always specify con=null when that happens you will include constructs
like

       rootstrap -o log &
  or
       rootstrap > log &

, thus preveting logging much of the action. Aren't rootstrap modules
doing much of  the work from inside uml? In addition, other then the
resources for the pipe and the sink file, I believe that my patch gives
the same results as con=null when no logging is attempted.

  As an aside, doesn't `con0=null' redundant when one specifies
`con=null'?




More information about the Pkg-uml-devel mailing list