Results 1 to 5 of 5
I'm running Arch Linux at the moment, but I've seen this same thing in every other distro. If I list the device files in /dev, I see 63 ttys and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-11-2009 #1Just Joined!
- Join Date
- Sep 2008
- Location
- Wherever there's a computer.
- Posts
- 20
How can I reduce number of ttys in /dev -- or is it worth the trouble?
I'm running Arch Linux at the moment, but I've seen this same thing in every other distro. If I list the device files in /dev, I see 63
ttys and vc's listed. I know that vc's are virtual consoles, I think they're the same as ttys, but I don't know. 
My questions are:
1) Can I set a lower number of ttys to have available? Even if it involves recompiling the kernel itself, just tell me where the setting is.
2) If so, how?
3) Does having so many use more memory?
EDIT: I'm not asking the same question as here. That tells the kernel to not start getty (or similar programs) to manage a tty; I'm looking to not have the tty exist at all.
- 09-11-2009 #2
I found this guide for crunchbang.
I haven't had a chance to look into whether this works with Arch or not.
- 09-11-2009 #3Just Joined!
- Join Date
- Sep 2008
- Location
- Wherever there's a computer.
- Posts
- 20
- 09-11-2009 #4
Ha, it seems like it's much easier than I would have supposed.
You should just be able to comment out the virtual consoles you don't want in /etc/inittab
Linux in Government: Optimizing Desktop Performance, Part I
- 09-15-2009 #5Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,143
Why bother? They don't take up any space to speak of. FWIW, a tty is needed for each xterm/console/virtual terminal you start up. Basically, in your case, these are just place holders.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote

