"> /dev/tty$i" commands in /etc/rc.sysinit?

From: Robert P. J. Day (rpjday_at_mindspring.com)
Date: 11/30/04

  • Next message: Bob Chiodini: "Re: Configuring Xorg to be Intelligent."
    Date: Tue, 30 Nov 2004 07:06:01 -0500 (EST)
    To: Fedora List <fedora-list@redhat.com>
    
    

      just perusing the code from /etc/rc.sysinit, and i'm curious about
    the function of the lines:

    > /dev/tty$i

    for values of "i" gleaned from the mingetty lines from /etc/inittab (1
    thru 6 by default). what does that redirection accomplish? i vaguely
    recall it initializes the initial virtual consoles but i don't
    remember in what way.

      also, just after that, there's the code:

      if [ $last -gt 0 ]; then
    > /dev/tty$((last+1))
    > /dev/tty$((last+2))
      fi

    and this does *what* for the next couple virtual consoles? and why
    only two of them? i'm guessing it has something to do with
    initializing the next two VCs to handle an X session, but does that
    mean you can't have more than two X sessions unless you change this?

    rday

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Bob Chiodini: "Re: Configuring Xorg to be Intelligent."

    Relevant Pages

    • Re: "> /dev/tty$i" commands in /etc/rc.sysinit?
      ... > recall it initializes the initial virtual consoles but i don't ... > initializing the next two VCs to handle an X session, ...
      (Fedora)
    • Re: [9fans] First-timer help
      ... >> computers here, and I can't lose all my context (of active windows, ... development effort in Plan 9, is that if/when Xen provides graphical ... Linux virtual consoles work very well, ... a session, and let someone use another virtual console, reasonably ...
      (comp.os.plan9)
    • Re: Problems in RHEL 4
      ... I am aware that Ctrl-Alt-Fx switches between virtual consoles. ... Not my logged in X session. ... It is not a new feature. ...
      (linux.redhat)
    • Re: Display Message while code runs.
      ... >I have written a Login page which initializes a session. ... >display a message to the user letting them know that the session is ... >webforms and user their page load events to launch my code but that does ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: Problems in RHEL 4
      ... I am aware that Ctrl-Alt-Fx switches between virtual consoles. ... I am also aware that X exists on virual console 7. ... Not my logged in X session. ...
      (linux.redhat)