<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Safely reboot a Linux system</title>
	<atom:link href="http://www.tech-recipes.com/rx/180/safely-reboot-a-linux-system/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tech-recipes.com/rx/180/safely-reboot-a-linux-system/</link>
	<description>Computer and technology tutorials and guides</description>
	<lastBuildDate>Sat, 21 Nov 2009 22:16:28 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: </title>
		<link>http://www.tech-recipes.com/rx/180/safely-reboot-a-linux-system/comment-page-1/#comment-2243</link>
		<dc:creator></dc:creator>
		<pubDate>Tue, 01 Nov 2005 14:20:18 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-2243</guid>
		<description>&lt;ul id=&quot;quote&quot;&gt;&lt;h6&gt;Anonymous wrote:&lt;/h6&gt;Reboot and halt DO NOT SAFELY shutdown a system.  reboot is a symlink to halt and halt nukes the platform.  

shutdown -rn now is how I usually reboot a machine of mine.  shutdown -r by it&#039;s self will sync the disks, -n forces this (I like to be on the safe side).

halt just stops the processors and inits the system without syncing disks.  You&#039;ll more than likely come back with your system running FSCK on your FS, and you better pray your using ext3.&lt;/ul&gt;

What type of idiot response is this.  Have you ever heard of checking argv[0], it tells you how the process was called.  Halt checks this and then runs according to how it was called.

&lt;code&gt;if &#40;&#40;progname = strrchr&#40;argv&#91;0&#93;, &#039;/&#039;&#41;&#41; != NULL&#41;
                progname++;
        else
                progname = argv&#91;0&#93;;
 
        if &#40;!strcmp&#40;progname, &quot;reboot&quot;&#41;&#41; do_reboot = 1;
        if &#40;!strcmp&#40;progname, &quot;poweroff&quot;&#41;&#41; do_poweroff = 1;
&lt;/code&gt;


Moral of this story &quot;think before you open your mouth&quot;</description>
		<content:encoded><![CDATA[<ul id="quote">
<h6>Anonymous wrote:</h6>
<p>Reboot and halt DO NOT SAFELY shutdown a system.  reboot is a symlink to halt and halt nukes the platform.  </p>
<p>shutdown -rn now is how I usually reboot a machine of mine.  shutdown -r by it&#8217;s self will sync the disks, -n forces this (I like to be on the safe side).</p>
<p>halt just stops the processors and inits the system without syncing disks.  You&#8217;ll more than likely come back with your system running FSCK on your FS, and you better pray your using ext3.</ul>
<p>What type of idiot response is this.  Have you ever heard of checking argv[0], it tells you how the process was called.  Halt checks this and then runs according to how it was called.</p>
<p><code>if &#40;&#40;progname = strrchr&#40;argv&#91;0&#93;, '/'&#41;&#41; != NULL&#41;<br />
                progname++;<br />
        else<br />
                progname = argv&#91;0&#93;;</p>
<p>        if &#40;!strcmp&#40;progname, &quot;reboot&quot;&#41;&#41; do_reboot = 1;<br />
        if &#40;!strcmp&#40;progname, &quot;poweroff&quot;&#41;&#41; do_poweroff = 1;<br />
</code></p>
<p>Moral of this story &#8220;think before you open your mouth&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.tech-recipes.com/rx/180/safely-reboot-a-linux-system/comment-page-1/#comment-1947</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 08 Jun 2005 13:12:42 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-1947</guid>
		<description>Halt does NOT nuke a system

If the system is &lt;strong&gt;not&lt;/strong&gt; in run level 0 or 6 halt/reboot/poweroff &lt;strong&gt;calls shutdown&lt;/strong&gt;

so halt is really just a wrapper for shutdown

don&#039;t believe me? man halt</description>
		<content:encoded><![CDATA[<p>Halt does NOT nuke a system</p>
<p>If the system is <strong>not</strong> in run level 0 or 6 halt/reboot/poweroff <strong>calls shutdown</strong></p>
<p>so halt is really just a wrapper for shutdown</p>
<p>don&#8217;t believe me? man halt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.tech-recipes.com/rx/180/safely-reboot-a-linux-system/comment-page-1/#comment-1132</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 09 Dec 2004 06:28:30 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-1132</guid>
		<description>Reboot and halt DO NOT SAFELY shutdown a system.  reboot is a symlink to halt and halt nukes the platform.  

shutdown -rn now is how I usually reboot a machine of mine.  shutdown -r by it&#039;s self will sync the disks, -n forces this (I like to be on the safe side).

halt just stops the processors and inits the system without syncing disks.  You&#039;ll more than likely come back with your system running FSCK on your FS, and you better pray your using ext3.</description>
		<content:encoded><![CDATA[<p>Reboot and halt DO NOT SAFELY shutdown a system.  reboot is a symlink to halt and halt nukes the platform.  </p>
<p>shutdown -rn now is how I usually reboot a machine of mine.  shutdown -r by it&#8217;s self will sync the disks, -n forces this (I like to be on the safe side).</p>
<p>halt just stops the processors and inits the system without syncing disks.  You&#8217;ll more than likely come back with your system running FSCK on your FS, and you better pray your using ext3.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: </title>
		<link>http://www.tech-recipes.com/rx/180/safely-reboot-a-linux-system/comment-page-1/#comment-928</link>
		<dc:creator></dc:creator>
		<pubDate>Wed, 27 Oct 2004 06:22:29 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-928</guid>
		<description>Other than Slack...n openBSD, the reboot and halt are supported by SuSE, Red Hat as well.</description>
		<content:encoded><![CDATA[<p>Other than Slack&#8230;n openBSD, the reboot and halt are supported by SuSE, Red Hat as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.tech-recipes.com/rx/180/safely-reboot-a-linux-system/comment-page-1/#comment-748</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Tue, 28 Sep 2004 05:35:58 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-748</guid>
		<description>&lt;ul id=&quot;quote&quot;&gt;Most Distros also have an alias which you can type instead:

reboot&lt;/ul&gt;

That is true. On Slackware Linux, both &quot;halt&quot; and &quot;reboot&quot; work. I know this is also true for OpenBSD.

If you&#039;d like a user to be able to shutdown or reboot a machine, the easiest way to do this is through &quot;sudo&quot;.</description>
		<content:encoded><![CDATA[<ul id="quote">Most Distros also have an alias which you can type instead:</p>
<p>reboot</ul>
<p>That is true. On Slackware Linux, both &#8220;halt&#8221; and &#8220;reboot&#8221; work. I know this is also true for OpenBSD.</p>
<p>If you&#8217;d like a user to be able to shutdown or reboot a machine, the easiest way to do this is through &#8220;sudo&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.tech-recipes.com/rx/180/safely-reboot-a-linux-system/comment-page-1/#comment-504</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Tue, 31 Aug 2004 06:51:39 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-504</guid>
		<description>Most Distros also have an alias which you can type instead:

&lt;strong&gt;reboot&lt;/strong&gt;</description>
		<content:encoded><![CDATA[<p>Most Distros also have an alias which you can type instead:</p>
<p><strong>reboot</strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.tech-recipes.com/rx/180/safely-reboot-a-linux-system/comment-page-1/#comment-313</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Mon, 02 Aug 2004 08:22:30 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-313</guid>
		<description>This is just telling you it is okay to reboot or shutdown your system after the install.  Most OS installations aren&#039;t complete until you&#039;ve rebooted the system.  Follow the instructions in this recipe to reboot and you should have a shiny new Linux box.</description>
		<content:encoded><![CDATA[<p>This is just telling you it is okay to reboot or shutdown your system after the install.  Most OS installations aren&#8217;t complete until you&#8217;ve rebooted the system.  Follow the instructions in this recipe to reboot and you should have a shiny new Linux box.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: </title>
		<link>http://www.tech-recipes.com/rx/180/safely-reboot-a-linux-system/comment-page-1/#comment-312</link>
		<dc:creator></dc:creator>
		<pubDate>Mon, 02 Aug 2004 07:47:13 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-312</guid>
		<description>hi
when i try to install mandrake 10  it says&#039;you may safely reboot or halt your system&#039;.what is this???</description>
		<content:encoded><![CDATA[<p>hi<br />
when i try to install mandrake 10  it says&#8217;you may safely reboot or halt your system&#8217;.what is this???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: killermookie</title>
		<link>http://www.tech-recipes.com/rx/180/safely-reboot-a-linux-system/comment-page-1/#comment-276</link>
		<dc:creator>killermookie</dc:creator>
		<pubDate>Tue, 20 Jul 2004 13:57:16 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-276</guid>
		<description>init 6 does the same thing</description>
		<content:encoded><![CDATA[<p>init 6 does the same thing</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.tech-recipes.com/rx/180/safely-reboot-a-linux-system/comment-page-1/#comment-48</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 25 Dec 2003 19:11:46 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-48</guid>
		<description>from the shutdown(8) manpage:

&lt;code&gt;A lot of users forget to give the time argument and are then puzzled by the error  message  shutdown  produces. The time argument is mandatory; in 90 percent of all cases this argument will be the word now.&lt;/code&gt;
</description>
		<content:encoded><![CDATA[<p>from the shutdown(8) manpage:</p>
<p><code>A lot of users forget to give the time argument and are then puzzled by the error  message  shutdown  produces. The time argument is mandatory; in 90 percent of all cases this argument will be the word now.</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>
