<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title><![CDATA[Use file for hibernation instead of swap partition]]></title>
    <link>http://brainstorm.ubuntu.com/item/8092/</link>
    <description><![CDATA[Use case: A person, let's call him Ethan, has Fedora, Ubuntu Hardy, and Ubuntu Intrepid installed on a new Dell laptop.<br />He confuses his swap partitions.  He keep losing his hibernated sessions which he sometimes entrusts with unsaved data, and he doesn't really understand why.<br /><br />Data specific to one operating system should not be stored in a swap partition when said operating system is not active.  A swap partition may be best for use as swap space, but when a system is hibernated, that information needs to be stored in a file within the root partition of the operating system instance that is hibernating.<br /><br />Only one swap partition should be needed on a multi-boot system.<br />
<br />


<b>[40 votes] Solution #1: Auto-generated solution of idea #8092</b>
<br />

<br />
<br />



]]></description>

    <language>en-us</language>
    <pubDate>Mon, 05 May 2008 08:27:15 +0000</pubDate>
    <lastBuildDate>Fri, 07 Aug 2009 09:23:31 +0000</lastBuildDate>
    <generator>QAPoll module</generator>
    <guid isPermaLink="true">http://brainstorm.ubuntu.com/idea/8092/</guid>
        <item>
  <title>Comment from zooounds</title>
  <description><![CDATA[Different OS instalaltions should never share swap -1<br />]]></description>
  <pubDate>Mon, 05 May 2008 10:06:47 +0000</pubDate>
</item>
        <item>
  <title>Comment from steve196</title>
  <description><![CDATA[I did not know that.<br />Logically you would think, that whatever is on the swap partition is junk after the OS quits and can be overwritten without damaging anything. If it isn't so, that is unexpected behaviour.<br />+1]]></description>
  <pubDate>Mon, 05 May 2008 11:41:45 +0000</pubDate>
</item>
        <item>
  <title>Comment from pitwalker@gmail.com</title>
  <description><![CDATA[Hibernation is good when only 1 OS in the machine.<br />(Or when you hibernate you must start with hibernated OS!)]]></description>
  <pubDate>Mon, 05 May 2008 12:14:22 +0000</pubDate>
</item>
        <item>
  <title>Comment from siegie</title>
  <description><![CDATA[Not all people have enough space on their root file system. <br />Most people have only one OS, so i think default we should hibernate to swap. <br />]]></description>
  <pubDate>Mon, 05 May 2008 16:38:07 +0000</pubDate>
</item>
        <item>
  <title>Comment from livio</title>
  <description><![CDATA[This is a rare situation when a person have more than one Linux based operating system in his computer, and I can´t imagine this situation on a notebook, where hibernate is more used.<br /><br />-1]]></description>
  <pubDate>Mon, 05 May 2008 18:58:42 +0000</pubDate>
</item>
        <item>
  <title>Comment from ethana2</title>
  <description><![CDATA[Alright, let's explore another scenario.<br /><br />A teething power user has Windows XP, Ubuntu Hardy, and Ubuntu Intrepid installed on his machine.  Because he thinks that swap is basically just extended RAM, his Ubuntu installs share a swap partition.  All he knows is that XP can hibernate reliably, and Ubuntu cannot.  He figures it must be a hardware driver problem, and files a bug against HAL and the kernel.  He now feels 1337, but his trust of Ubuntu is wounded, and he continues to rely primarily on his XP install.<br />..and the kernel and HAL folks have random, useless bugs to triage.<br /><br />You can't say that I'm not human just because I'm more technically inclined.<br /><br />"Swap is virtual RAM."  ---It should be that simple.]]></description>
  <pubDate>Mon, 05 May 2008 19:57:50 +0000</pubDate>
</item>
        <item>
  <title>Comment from ethana2</title>
  <description><![CDATA[A kid has 1 GB of RAM and 1 GB of swap.  He has the GIMP open working on some things, and is using 1.3 GB of his total virtual memory.  He goes to hibernate and it fails miserably.  Would you like to explain to him why?<br />---because he doesn't /care/.]]></description>
  <pubDate>Mon, 05 May 2008 19:59:54 +0000</pubDate>
</item>
        <item>
  <title>Comment from ethana2</title>
  <description><![CDATA[Please remember folks that you can't label a swap partition.  It's just linux_swap.  That's it.  It was recommended to me recently that I keep track of my partition table on paper.  In my opinion, that's ridiculous.<br />(I'll try not to comment here again for a while...)]]></description>
  <pubDate>Mon, 05 May 2008 20:05:31 +0000</pubDate>
</item>
        <item>
  <title>Comment from ethana2</title>
  <description><![CDATA[Ok folks, this isn't funny anymore.<br /><br />Modified i-RAM module, 2 GB DDR mobile SATA form in Sony PlayStation 3.<br /><br />That memory /will/ be blank when the power gets pulled, and I don't want my hibernated sessions going with it.]]></description>
  <pubDate>Sun, 18 May 2008 08:51:09 +0000</pubDate>
</item>
        <item>
  <title>Comment from ethana2</title>
  <description><![CDATA[Jucato tells me it already works like this..<br />but I don't know for sure.]]></description>
  <pubDate>Sun, 25 May 2008 03:22:33 +0000</pubDate>
</item>
        <item>
  <title>Comment from NigelCunningham</title>
  <description><![CDATA[Recent swsusp (and uswsusp?) support hibernating to a swap file. TuxOnIce also supports hibernating to an ordinary (ie non-swap) file.]]></description>
  <pubDate>Wed, 28 May 2008 04:34:03 +0000</pubDate>
</item>
        <item>
  <title>Comment from ethana2</title>
  <description><![CDATA[2.6.27 evidently supports hibernating directly with initrd.gz or something..]]></description>
  <pubDate>Sun, 12 Oct 2008 04:26:22 +0000</pubDate>
</item>
        <item>
  <title>Comment from Auzy</title>
  <description><![CDATA[Actually, one strong reasomn for supporting this would be eeepc. Some only have a 8GB hdd, so nobody would want to put permanent space aside for a partition thats only for swap. If a file was used, it could be adjusted in size easily, and allow space to be more efficiently]]></description>
  <pubDate>Sun, 12 Oct 2008 04:29:30 +0000</pubDate>
</item>
        <item>
  <title>Comment from gnc</title>
  <description><![CDATA[<br />Regarding swapping IMHO users should be able to choose at install time between swap file, swap partition or swapless system.<br /><br />Regarding hibernation IMHO users should be able to choose between swap file, swap partition or a regular file.<br />]]></description>
  <pubDate>Sun, 14 Dec 2008 00:37:03 +0000</pubDate>
</item>
        <item>
  <title>Comment from BenHocking</title>
  <description><![CDATA[I agree with gnc.<br />In some situations you may want the file on the swap, but in most you would not. e.g. most computers you buy off the shelve today have 2gb of ram. So if i want to hibernat with half of that i need 1gb free in the swap, so my swap needs to be around 1.7gb for it to work almost all the time. given that the swap is already filled with a few hunderid mb of data.<br /><br />I currently have this problem atm. 1.5gb of ram. yet a 1gb swap file and around half of my ram is in use. Now it is a hell of a lot easier to move some files of my main parititon and onto another. Or to deleate some un-needed stuff than it is to resize my swap partition to take up 1.7gb. That's 700mb of un-avaliable and written off space that the computer won't use most of the time.<br /><br />End result. For most home users who use ram intensive applications or those using notbooks (as stated earier by Aucy) having the hib data on the swap is counter productive and a far less efficient use of disk space.<br /><br />For others maby not so.<br /><br />Solution:<br />just give people the choice. When instaling the Os just have a screen, would you like hib data to go to swap or main partition with a small bit of help text.<br /><br />p.s. sorry for spelling mistakes.]]></description>
  <pubDate>Thu, 16 Apr 2009 13:50:58 +0000</pubDate>
</item>
        <item>
  <title>Comment from lavinog</title>
  <description><![CDATA[Is this implemented already or not?<br />How do we find out how hibernation works?]]></description>
  <pubDate>Mon, 01 Jun 2009 23:05:12 +0000</pubDate>
</item>
        <item>
  <title>Comment from mishaokami</title>
  <description><![CDATA[another case:<br /><br />I had and old system with 1gb ram. 1gb swap was fine to hibernate to. <br /><br />Just upgraded to 4gb. Now i can't hibernate anymore because swap partitions aren't flexible enough. And before you tell me to use gparted to resize partitions understand that that is an unworkable solution for a normal user and many partition types are still not fully supported.<br />]]></description>
  <pubDate>Fri, 07 Aug 2009 09:23:31 +0000</pubDate>
</item>
      </channel>
</rss>
