Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2009 19:21:48 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/etc/etc.amd64 ttys src/etc/etc.arm ttys src/etc/etc.i386 ttys src/etc/etc.ia64 ttys src/etc/etc.mips ttys src/etc/etc.powerpc ttys src/etc/etc.sparc64 ttys
Message-ID:  <200902121922.n1CJM0ZJ098247@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
ed          2009-02-12 19:21:48 UTC

  FreeBSD src repository

  Modified files:
    etc/etc.amd64        ttys 
    etc/etc.arm          ttys 
    etc/etc.i386         ttys 
    etc/etc.ia64         ttys 
    etc/etc.mips         ttys 
    etc/etc.powerpc      ttys 
    etc/etc.sparc64      ttys 
  Log:
  SVN rev 188535 on 2009-02-12 19:21:48Z by ed
  
  Remove pts(4) entries from /etc/ttys.
  
  Even though I increased the amount of pts(4) entries in /etc/ttys some
  time ago, I didn't realize back then those entries shouldn't have been
  there in the first place.
  
  I just looked at the getttyent() source code and it turns out when you
  call setttyent(), it walks through /dev/pts and looks for the device
  with the highest number. After you receive EOF's from getttyent(), it
  makes up entries for pts(4) devices.
  
  This means that adding entries for pts(4) is somewhat harmful, because
  if you now traverse the list, you get redundant entries, so just remove
  them.
  
  Revision  Changes    Path
  1.17      +0 -512    src/etc/etc.amd64/ttys
  1.10      +0 -512    src/etc/etc.arm/ttys
  1.17      +0 -512    src/etc/etc.i386/ttys
  1.11      +0 -512    src/etc/etc.ia64/ttys
  1.5       +0 -512    src/etc/etc.mips/ttys
  1.10      +0 -512    src/etc/etc.powerpc/ttys
  1.19      +0 -512    src/etc/etc.sparc64/ttys



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902121922.n1CJM0ZJ098247>