Tiny Core Linux
Tiny Core Base => TCB Talk => Topic started by: Zendrael on January 10, 2013, 09:25:51 AM
-
Hello!
Is there any particular reason to use getty instead of mingetty on Core?
Using mingetty would not make the Core even lighter or still consume less memory?
Is there some way to replace getty?
Thanks!
-
/sbin/getty is part of busybox.
mingetty would be a separate program and consume more memory.
Why do you want to replace getty?
-
Hi Mr. Gerald_Clark!
It's because a few years ago, when I didn't use Core yet, I had a Debian System runnng Xvesa with mingetty. This way the overall system needed just 30MB of RAM after boot. So I was wondering if it could be useful on Core. I didn't knew that getty is part of busybox!
I think I have some sort of "old pc syndrome" - everytime trying to use less resources... That's why I like Core!
-
The best way to replace getty is not to have any instances of it running ;)
I've never observed getty running under TC, do you have any particular need for it or are you perhaps using the multivt boot code?
-
The best way to replace getty is not to have any instances of it running ;)
I've never observed getty running under TC, do you have any particular need for it or are you perhaps using the multivt boot code?
Aha!
This was my mistake! I was using multivt! Without it I do not see more occurrences of getty when I use ps!
So, busybox acts like init and getty too?
Thanks Tinypoodle!
-
busybox --list
or busybox with no options will show you what busybox provides.
-
Hey gerald_clark!
I just did not know that it could be used as init and getty by default. I was thinking that it was working in Core in some sort of special form or compilation like we do with crunchgen on BSD systems.
So, to finish this topic, busybox works like a single tty on Core by default. There is no need to use getty or mingetty at all. Right?
Thanks!
-
crunchgen vs. busybox are totally different approaches.
There is no need to have a getty running without a particular purpose of usage - that's totally independent from busybox and getty flavors.