[gentoo-user] /dev full of pty* tty* - is it normal?

2010-01-26 Thread Jarry
Hi, 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

Re: [gentoo-user] /dev full of pty* tty* - is it normal?

2010-01-26 Thread Alex Schuster
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

Re: [gentoo-user] /dev full of pty* tty* - is it normal?

2010-01-26 Thread Jarry
On 26. 1. 2010 18:57, Alex Schuster wrote: 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

Re: [gentoo-user] /dev full of pty* tty* - is it normal?

2010-01-26 Thread Dirk Heinrichs
Am Dienstag 26 Januar 2010 19:20:27 schrieb Jarry: Anyway, it looks so that udev is not dynamic for all kind of dev-files... Well, it is. Lookup /lib/udev/rules.d/50-udev-default.rules, you'll find the rules for creating [pt]ty nodes there. Debian may have different rules in place. Bye...

Re: [gentoo-user] /dev full of pty* tty* - is it normal?

2010-01-26 Thread Dale
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

Re: [gentoo-user] /dev full of pty* tty* - is it normal?

2010-01-26 Thread Stefan Schulte
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