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
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
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
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...
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
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
6 matches
Mail list logo