<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/disk</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 19 Jun 2013 17:59:29 GMT</pubDate>
<item>
<title>(Visual Basic) FreeDiskSpace Function - RobertHirabayashi</title>
<link>http://snipplr.com/view/63310/freediskspace-function/</link>
<description><![CDATA[ <p>Adapted from URL above. This function can easily be adapted to output the integer value of available drive space in kilo, mega or gigabytes.</p> ]]></description>
<pubDate>Tue, 14 Feb 2012 04:25:48 GMT</pubDate>
<guid>http://snipplr.com/view/63310/freediskspace-function/</guid>
</item>
<item>
<title>(Bash) Linux: Drop disk cache - deepsoul</title>
<link>http://snipplr.com/view/17811/linux-drop-disk-cache/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 02 Aug 2009 16:49:40 GMT</pubDate>
<guid>http://snipplr.com/view/17811/linux-drop-disk-cache/</guid>
</item>
<item>
<title>(Bash) Encrypt your /home partition - Dorgendubal</title>
<link>http://snipplr.com/view/16402/encrypt-your-home-partition/</link>
<description><![CDATA[ <p>Ideal if you have a laptop. If someone steals it, he will not be able to read all your mails and documents with precious information (about passwords, accounts, credit cards, private stuffs, etc...).

This snippet is considering that you are using Ubuntu as OS and you already have a dedicated partition for home (/dev/sda5 in my example).

* Steps 1-3 are pre-requirements.
* Steps 5-7 encrypts the partition and formats it as ext3 (make sure that you have a backup of your home somewhere!!!)
* Steps 10 and 13 are not commands but lines to be added (or modified) in the editing files (Step 9 and 12). You have to be familiar with /etc/fstab to understand it.
* Other steps are for configuring your system such your home partition gets automatically mounted on startup (you will be prompted for password during boot). 

Enjoy security!</p> ]]></description>
<pubDate>Sun, 28 Jun 2009 10:51:04 GMT</pubDate>
<guid>http://snipplr.com/view/16402/encrypt-your-home-partition/</guid>
</item>
<item>
<title>(Bash) Fill a disk with zeroes - hyperwhat</title>
<link>http://snipplr.com/view/3496/fill-a-disk-with-zeroes/</link>
<description><![CDATA[ <p>Replace /dev/hda/ with the device path to your disk</p> ]]></description>
<pubDate>Thu, 09 Aug 2007 18:34:01 GMT</pubDate>
<guid>http://snipplr.com/view/3496/fill-a-disk-with-zeroes/</guid>
</item>
<item>
<title>(Bash) Get the total disk space remaining - hyperwhat</title>
<link>http://snipplr.com/view/3495/get-the-total-disk-space-remaining/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 09 Aug 2007 18:31:46 GMT</pubDate>
<guid>http://snipplr.com/view/3495/get-the-total-disk-space-remaining/</guid>
</item>
<item>
<title>(Bash) Get the disk space used by a directory - hyperwhat</title>
<link>http://snipplr.com/view/3494/get-the-disk-space-used-by-a-directory/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 09 Aug 2007 18:29:55 GMT</pubDate>
<guid>http://snipplr.com/view/3494/get-the-disk-space-used-by-a-directory/</guid>
</item>
</channel>
</rss>