<?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: How to Add Swap Space on Ubuntu Linux	</title>
	<atom:link href="https://www.tecmint.com/add-swap-space-on-ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/add-swap-space-on-ubuntu/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Wed, 05 Apr 2023 04:20:08 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/add-swap-space-on-ubuntu/comment-page-1/#comment-1992455</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Wed, 05 Apr 2023 04:20:08 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=33381#comment-1992455</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/add-swap-space-on-ubuntu/comment-page-1/#comment-1992186&quot;&gt;dragonmouth&lt;/a&gt;.

@Dragonmouth,

Yes, if no space is left on the disk, you must add a new hard disk and create a space for a swap.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/add-swap-space-on-ubuntu/comment-page-1/#comment-1992186">dragonmouth</a>.</p>
<p>@Dragonmouth,</p>
<p>Yes, if no space is left on the disk, you must add a new hard disk and create a space for a swap.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: dragonmouth		</title>
		<link>https://www.tecmint.com/add-swap-space-on-ubuntu/comment-page-1/#comment-1992186</link>

		<dc:creator><![CDATA[dragonmouth]]></dc:creator>
		<pubDate>Tue, 04 Apr 2023 12:03:43 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=33381#comment-1992186</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/add-swap-space-on-ubuntu/comment-page-1/#comment-1210979&quot;&gt;Ravi Saive&lt;/a&gt;.

&quot;What if there is no free space?&quot;

Straw man argument. If there is no free space available on the system you cannot set up swap space, either. It&#039;s time to get a bigger disk or another disk.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/add-swap-space-on-ubuntu/comment-page-1/#comment-1210979">Ravi Saive</a>.</p>
<p>&#8220;What if there is no free space?&#8221;</p>
<p>Straw man argument. If there is no free space available on the system you cannot set up swap space, either. It&#8217;s time to get a bigger disk or another disk.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Colin		</title>
		<link>https://www.tecmint.com/add-swap-space-on-ubuntu/comment-page-1/#comment-1358835</link>

		<dc:creator><![CDATA[Colin]]></dc:creator>
		<pubDate>Sun, 30 Aug 2020 23:22:26 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=33381#comment-1358835</guid>

					<description><![CDATA[Why do you use &quot;&lt;code&gt;-rf&lt;/code&gt;&quot; in the &lt;strong&gt;rm&lt;/strong&gt; command?

This can be dangerous if someone misses types the command as:
&lt;pre&gt;
$ sudo rm -rf / swap.info
&lt;/pre&gt;
(note space between the &lt;code&gt;&quot;/&quot;&lt;/code&gt; and &quot;swap.info&quot;.

I managed to do this on a production SCO server 25 years ago late on a Friday afternoon. Totally ruined my weekend, but learned to only use &quot;&lt;strong&gt;rm -r&lt;/strong&gt;&quot; when you really mean it.

In my opinion, it is a bad idea to teach using &quot;&lt;strong&gt;rm -rf&lt;/strong&gt;&quot; without explaining that if this command is miss-typed, you may remove your entire file system, because the command that you are issuing is: remove recursively, without bothering me with questions, because I definitely want to do this.

In your case, you are doing, so you have to write permission on the file (no need for &lt;code&gt;-f&lt;/code&gt;), and it is a file, not a directory (no need for &lt;code&gt;-r&lt;/code&gt;).

The safer command to teach is 
sudo rm /swap.img]]></description>
			<content:encoded><![CDATA[<p>Why do you use &#8220;<code>-rf</code>&#8221; in the <strong>rm</strong> command?</p>
<p>This can be dangerous if someone misses types the command as:</p>
<pre>
$ sudo rm -rf / swap.info
</pre>
<p>(note space between the <code>"/"</code> and &#8220;swap.info&#8221;.</p>
<p>I managed to do this on a production SCO server 25 years ago late on a Friday afternoon. Totally ruined my weekend, but learned to only use &#8220;<strong>rm -r</strong>&#8221; when you really mean it.</p>
<p>In my opinion, it is a bad idea to teach using &#8220;<strong>rm -rf</strong>&#8221; without explaining that if this command is miss-typed, you may remove your entire file system, because the command that you are issuing is: remove recursively, without bothering me with questions, because I definitely want to do this.</p>
<p>In your case, you are doing, so you have to write permission on the file (no need for <code>-f</code>), and it is a file, not a directory (no need for <code>-r</code>).</p>
<p>The safer command to teach is<br />
sudo rm /swap.img</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/add-swap-space-on-ubuntu/comment-page-1/#comment-1210979</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Fri, 26 Jul 2019 07:18:15 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=33381#comment-1210979</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/add-swap-space-on-ubuntu/comment-page-1/#comment-1210750&quot;&gt;dragonmouth&lt;/a&gt;.

@Dragonmouth,

Yes, you can setup the Swap partition, only if there is a Free space available on the filesystem. What if there is no free space? in this case adding swap space is useful when you running out of memory..]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/add-swap-space-on-ubuntu/comment-page-1/#comment-1210750">dragonmouth</a>.</p>
<p>@Dragonmouth,</p>
<p>Yes, you can setup the Swap partition, only if there is a Free space available on the filesystem. What if there is no free space? in this case adding swap space is useful when you running out of memory..</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: dragonmouth		</title>
		<link>https://www.tecmint.com/add-swap-space-on-ubuntu/comment-page-1/#comment-1210750</link>

		<dc:creator><![CDATA[dragonmouth]]></dc:creator>
		<pubDate>Thu, 25 Jul 2019 19:30:56 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=33381#comment-1210750</guid>

					<description><![CDATA[Why not just set up a swap partition?]]></description>
			<content:encoded><![CDATA[<p>Why not just set up a swap partition?</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
