It's my understanding that Linux 1 = Linux S -----Original Message----- From: rpjday [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 25, 2002 3:16 PM To: redhat mailing list Subject: difference between run levels 1 and S
a number of people i've chatted with lately seemed to think there was not much difference between run level 1 and run levels s or S. after i explained it a couple of times, it occurred to me to make sure *i* understood it properly. as i understand it, run level 1 is similar to the other numeric run levels in that all of those run levels are defined in /etc/inittab -- regardless of what numeric run level you're going to, init consults /etc/inittab to determine what has to happen, and this involves running the K and S scripts in the appropriate directory. for run level 1, this consists almost exclusively of K scripts (not totally, though -- more on that in a minute). in addition, if you boot to run level 1 at, say, the grub menu, /etc/inittab *must* exist since, obviously, it has to be consulted. run level S, though, is another matter, in that this takes the system directly to a single-user mode *without* consulting /etc/inittab -- useful if you've trashed that file. in fact, switching to run level 1 actually involves "K"illing almost everything, then "S"tarting single user mode. so, is that a fair description? am i missing anything critical? is there, somewhere, a decent writeup on this since the man pages for both init and inittab don't discuss this distinction as well as i'd like. rday _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list