Re: /etc/ioctl.save

From: Oliver Fuchs (oliverfuchs_at_onlinehome.de)
Date: 01/14/04

  • Next message: Bill Moseley: "apt-cache show (only newest package)"
    Date: Wed, 14 Jan 2004 06:32:03 +0100
    To: debian-user@lists.debian.org
    
    

    On Mon, 12 Jan 2004, Rohit Kumar Mehta wrote:

    > I noticed after an unclean shutdown (i.e. a system crash), Tripwire is
    > reporting that /etc/ioctl.save has been modified.
    > Does anyone know what this is? Is there reason for me to suspect that
    > my system has been hacked?
    >

    Hi,
    some time ago I had exactly the same process going on on my box and asked
    the question here on the list. This is what I have been told:

    [...]

    Subject: Re: Changes made to /etc/ioctl.save follow
    Message-ID: <bqkidu$ita$1@news.cistron.nl>

    It's init (process #1). /etc/ioctl.save saves the stty(1) settings
    of the console.
    This is because originally, Linux and Unix didn't have a way to
    specify the console speed, parity etc at bootup which for a serial
    console is important. So if you boot single-user mode, at the moment
    you leave single-user mode the settings of the console are saved
    in /etc/ioctl.conf. The next time you boot and init is started,
    it restores the console settings from /etc/ioctl.save
    Now today you can set the console speed, bits and parity on the
    kernel command line when booting, so it's not all that important
    anymore. So in sysvinit-2.85 the ioctl.save code was removed.
    Current testing/unstable doesn't have a /etc/ioctl.save anymore.

    [...]

    Oliver

    -- 
    ... don't touch the bang bang fruit
    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Bill Moseley: "apt-cache show (only newest package)"

    Relevant Pages

    • No text mode display after grub
      ... use my privately owned Acer Ferrari 4000 anymore. ... lines printed to the console (they flash by too fast to read, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: No text mode display after grub
      ... My boss gave me a Dell Latitude D810 to use for work so I didn't have to ... use my privately owned Acer Ferrari 4000 anymore. ... lines printed to the console (they flash by too fast to read, ...
      (Debian-User)
    • Re: /etc/ioctl.save
      ... specify the console speed, parity etc at bootup which for a serial ... it restores the console settings from /etc/ioctl.save ... Current testing/unstable doesn't have a /etc/ioctl.save anymore. ... don't touch the bang bang fruit ...
      (Debian-User)
    • Re: appendum post: rc2, xorg, and matrox g550 troubles
      ... without success. ... anymore. ... the X display was black, and I was unable to get ... working screen nor X or the console. ...
      (freebsd-questions)
    • Re: Changes made to /etc/ioctl.save follow
      ... specify the console speed, parity etc at bootup which for a serial ... it restores the console settings from /etc/ioctl.save ... Now today you can set the console speed, bits and parity on the ... Current testing/unstable doesn't have a /etc/ioctl.save anymore. ...
      (Debian-User)