Looks different on my machine: # ls -l /dev/pty* | wc -l zsh: no matches found: /dev/pty* 0 # ls -l /dev/tty* | wc -l 65
It may have something to do with your kernel settings. Device Drivers->Character devices->Unix98 PTY support is enabled Device Drivers->Character devices->Legacy (BSD) PTY support is disabled here -Stefan On Tue, Jan 26, 2010 at 06:57:33PM +0100, Alex Schuster wrote: > Jarry writes: > > > I just noticed I have *a lot of* tty/pty files in dev: > > > > obelix ~ # ls -l /dev/pty* | wc -l > > 256 > > obelix ~ # ls -l /dev/tty* | wc -l > > 325 > > > > They have names from /dev/ptya0 till /dev/ptyzf, then > > pty0-pty63, and ttya0-ttyzf. Is this normal? I thought > > udev creates device-files as they are needed, so I'm > > surprised to see so much of them... > > Seems to be normal, I get the same output on two of my Gentoo machines. > > Wonko >
pgpCEg6oTcCJ1.pgp
Description: PGP signature