Skip to contentSkip to conversation

An embarrassment of TTYs

DISCUSSION Paul D. DeRocco 2 participants 3 messages Apr 12, 2013

lore
Share & tools
lore
#0 lore raw

My core-image-base build seems to have blessed me with 256 pseudoterminal devices and 325 TTY devices. I really don't deserve this generosity. Is this normal, or am I just a lucky guy? More to the point, where do I donate the excess back, so I can live with a more modest number of these devices? I'd like to be able to do "ls /dev/*" without having my recent activity disappear off the top of my terminal window scrollback.

Signature · 2 lines
Ciao,               Paul D. DeRocco
Paul                mailto:[email protected] 
#1 lore raw

Hi Paul,
Look for CONFIG_LEGACY_PTY* in your config and tune those values.

You can ssh without any legacy PTYs.

Sincerely,
John Mehaffey
Senior System Architect (Automotive)
Mentor Graphics Corporation

________________________________________
From: [email protected] [[email protected]] on behalf of Paul D. DeRocco [[email protected]]
Sent: Friday, April 12, 2013 10:57 AM
To: [email protected]
Subject: [yocto] An embarrassment of TTYs

My core-image-base build seems to have blessed me with 256 pseudoterminal devices and 325 TTY devices. I really don't deserve this generosity. Is this normal, or am I just a lucky guy? More to the point, where do I donate the excess back, so I can live with a more modest number of these devices? I'd like to be able to do "ls /dev/*" without having my recent activity disappear off the top of my terminal window scrollback.

--

Ciao, Paul D. DeRocco
Paul mailto:[email protected]

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#2 lore raw
Quoted 5 lines

From: Mehaffey, John

Look for CONFIG_LEGACY_PTY* in your config and tune those values.

You can ssh without any legacy PTYs.

So "legacy" PTYs are the 256 BSD devices, so if I disable them I'll still have the UNIX 98 /dev/ptmx mechanism? I don't need SSH, but will nead one pseudo-terminal for something else in the near future.

Signature · 2 lines
Ciao,               Paul D. DeRocco
Paul                mailto:[email protected]