LINUX.ORG.RU

История изменений

Исправление bormant, (текущая версия) :

Образ пишется сжатым, если не передали ядру явно параметр hibernate=nocompress.

https://www.kernel.org/doc/Documentation/power/interface.txt

/sys/power/image_size controls the size of the image created by the suspend-to-disk mechanism. It can be written a string representing a non-negative integer that will be used as an upper limit of the image size, in bytes. The suspend-to-disk mechanism will do its best to ensure the image size will not exceed that number. However, if this turns out to be impossible, it will try to suspend anyway using the smallest image possible. In particular, if «0» is written to this file, the suspend image will be as small as possible.

Reading from this file will display the current image size limit, which is set to 2/5 of available RAM by default.

Исправление bormant, :

Образ пишется сжатым, если не передали ядру явно параметр hibernate=nocompress.

https://www.kernel.org/doc/Documentation/power/interface.txt /sys/power/image_size controls the size of the image created by the suspend-to-disk mechanism. It can be written a string representing a non-negative integer that will be used as an upper limit of the image size, in bytes. The suspend-to-disk mechanism will do its best to ensure the image size will not exceed that number. However, if this turns out to be impossible, it will try to suspend anyway using the smallest image possible. In particular, if «0» is written to this file, the suspend image will be as small as possible.

Reading from this file will display the current image size limit, which is set to 2/5 of available RAM by default.

Исходная версия bormant, :

Образ пишется сжатым, если не передали ядру явно параметр hibernate=nocompress.