Swsusp

Swsusp

swsusp (Software Suspend) is a "suspend-to-disk" implementation in the 2.6 series Linux kernel. It is the Linux equivalent of Windows hibernate functionality. To enable swsusp, the following should be selected during kernel configuration :

Power management options → <*>Power management support (CONFIG_PM) Power management options → <*>Software Suspend (CONFIG_SOFTWARE_SUSPEND) Power management options → [/dev/resume_partition] Default resume partition (CONFIG_PM_STD_PARTITION)

The "/dev/resume_partition" needs to be replaced by the actual swap partition that is to be used for suspending. Otherwise "resume=/dev/resume_partition" can be given as a parameter during system bootup. The actual "suspend" is done by :

echo shutdown > /sys/power/disk; echo disk > /sys/power/state

swsusp lacks some features, such as compression and graphical progress indication. You can still get them, 2.6.18+ kernels allow suspend to be controlled from userspace.

See also

*TuxOnIce
* [http://suspend.sf.net/ muswsusp] userspace software for suspending to ram and/or disk


Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • 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… …   Wikipedia

  • Sleep mode — refers to a low power mode for electronic devices such as computers, televisions, and remote controlled devices. These modes save significant electrical consumption compared to leaving a device fully on and idle but allow the user to avoid having …   Wikipedia

  • Hibernate (OS feature) — Hibernate is a feature seen in many operating systems where the contents of RAM is written to non volatile storage, such as the hard disk (as either a file or on a separate partition) before powering off the system. Later the system can be… …   Wikipedia

  • Hibernation (computing) — Hibernation in computing is powering down a computer while retaining its state. Upon hibernation, the computer saves the contents of its random access memory (RAM) to a hard disk or other non volatile storage. Upon resumption, the computer is… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”