Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-28-2011, 05:25 PM   #1
LQ Newbie
Registered: Jun 2010
Posts: 16

Rep: Reputation: 0
what is the idea behind runlevel6

the system finish it's boot and then reboot again.
what is a practical use for this ting (and for runlevel1 if we're on the subject)?
Old 05-28-2011, 05:31 PM   #2
Senior Member
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
runlevel 6 IS for rebooting, runlevel 5 is for X, runlevel 3 is for non X, runlevel 1 is for single user, runlevel 0 is for system halt, but you should only have the init default at 3 or 5
unless you are running a debian based system in which the run levels are different, but 6 and 0 are reboot and shutdown respectively and should never be set in /etc/inittab as the default.
Old 05-29-2011, 02:13 PM   #3
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,398
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Switching to runlevel 6 invokes an orderly shutdown. Filesystems are closed off cleanly, system daemons are stopped in a sane order, and certain configurations are preserved. All of this in contrast to simply removing power or reseting the CPU, which of course carry the potential for disk corruption.
--- rod.
Old 05-30-2011, 02:58 PM   #4
LQ Newbie
Registered: Jun 2010
Posts: 16

Original Poster
Rep: Reputation: 0
so, as far as i understand it, it doesn't really help on any sysadmin tasks
to properly turn down the system i can just "poweroff" via terminal or use the gui shudown menu.
any other idea's where this can come in handy?
Old 05-30-2011, 03:21 PM   #5
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4866Reputation: 4866Reputation: 4866Reputation: 4866Reputation: 4866Reputation: 4866Reputation: 4866Reputation: 4866Reputation: 4866Reputation: 4866Reputation: 4866
If you issue the poweroff command the command tells the system to switch to runlevel 0, so that it can properly terminate all running services. It is the same as issuing the telinit 0 command. The same is true for the reboot command, only that the system switches to runlevel 6.
That is also the same if you do a restart or poweroff from GUI.
Both runlevels are essential to keep your system in a sane state.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Good idea/bad idea: interface colors introuble General 5 10-30-2006 02:33 PM
LXer: Freespire: Great Idea? Awful Idea? LXer Syndicated Linux News 1 05-04-2006 07:10 AM
mp3 jukebox idea (different idea then I have seen) supradrvr Linux - Software 8 03-27-2006 08:58 PM
any idea... kazuni Linux - Newbie 4 05-23-2003 04:17 PM
an Idea balam Linux - Newbie 1 02-01-2003 05:53 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration