はい。ただし、努力が必要です。Linuxでの休止状態(ディスクへのサスペンド)には2つの異なる方法があります。
- カーネルに含まれているswswap
- tuxonice(以前のsuspend2)は、そうではありません。
Tuxoniceはカーネルへのパッチとして利用可能であり、サスペンドイメージを通常のファイルに書き込むことができます。
ウィキペディアから:
TuxOnIce (formerly known as Suspend2) is an implementation of the suspend-to-disk (or hibernate) feature which is available as patches for the 2.6 Linux kernel. It was formerly known as 'swsusp'. During the 2.5 kernel era, Pavel Machek forked the original out-of-tree version of swsusp (then at approximately beta 10) and got it merged into the vanilla kernel, while development continued in the swsusp/Suspend2/TuxOnIce line. TuxOnIce includes support for SMP, highmem and preemption. Its major advantages over swsusp are:
* It has an extensible architecture that allows for arbitrary transformations on the image and arbitrary backends for writing the image;
* It prepares the image and allocates storage prior to doing any storage and accounts for memory and storage usage very carefully, thereby becoming more reliable;
* Its current modules for writing the image have been designed for speed, combining asynchronous I/O, multithreading and readahead with LZF compression in its default configuration to read and write the image as fast as hardware is able;
* It has an active community supporting it via a wiki, mailing lists and irc channel (see the TuxOnIce website);
* It is more flexible and configurable (via a /sys/power/tuxonice interface);
* Whereas the current swsusp (and uswsusp) implementations support writing the image to one swap device only, TuxOnIce supports multiple devices in any combination of swap files and swap partitions. It can also write the image to an ordinary file, thereby avoiding potential race issues in freeing memory when preparing to suspend.
* It supports encryption by various methods;
* It can store a full image of memory (resulting in a more responsive system post-resume), while uswsusp and swsusp write at most half the amount of RAM.
デフォルトのカーネルには含まれていないため、残念ながらJauntyで利用可能なカーネルパッチを選択して、 自分でカーネルをコンパイルする必要があります。
そこにいくつかの拡張命令があり、ここで、あなたは、あなた自身のカーネルイメージをローリングで古い手でない限り、この道を徘徊する前にロバートの提案をしようとする場合があります。