Man Linux: Main Page and Category List

NAME

       s2disk - program to suspend to disk (hibernate)

SYNOPSIS

       s2disk [-h, --help] [-V, --version] [-f, --config config_file] [-r,
              --resume_device device] [-o, --resume_offset offset] [-s,
              --image_size size] [-P, --parameter parameter]
       resume

DESCRIPTION

       This  manual  page  documents  briefly  the  s2disk,  s2both and resume
       commands.

       This manual page was written for the Debian  distribution  because  the
       original program does not have a manual page.

       s2disk  is  a  program  that will save the state of the whole system to
       disk and power off your system.  After restarting your system  it  will
       be  put  back  in the exact system state you left it (this is sometimes
       called hibernation).

       s2both will do precisly the same as s2disk  except  that  it  will  not
       power  off the system, but will suspend it to ram (put the system in S3
       mode). This has the advantage that resume  will  be  faster,  with  the
       disadvantage  that  you  still  use  batteries.  If  they  batteries do
       deplete, you still have the system state saved to disk and  can  resume
       without  data  loss.  The s2both command also inherits all command line
       arguments from s2ram.

       You will need to set up an initramfs which calls the resume program for
       this  to  work. If you use an Debian kernel package which was made with
       the --initrd option and you use mkinitramfs-tools, this package  should
       include the necessary parts on your initramfs.

       The  uswsusp  system  supports encrypting the image written to disk and
       features a splash system, see uswsusp.conf(8) for more information

OPTIONS

       -f, --config [file]
              Specify alternate configuration file.

       -h, --help
              Display help.

       -r, --resume_device [device]
              Device that contains swap area.

       -o, --resume_offset [offset]
              Offset of swap file in resume device.

       -s, --image_size [size]
              Desired size of the image.

       -P, --parameter [key=value]
              Override any config file parameter (see uswsusp.conf(8)).

       For  the  meaning  and  use  of  the  resume_size,  resume_offset   and
       image_size options see uswsusp.conf(8).

SEE ALSO

       uswsusp.conf(8), suspend-keygen(8), s2ram(8)

       For more information see the HOWTO and the README

AUTHOR

       This  manual page was written by Tim Dijkstra <tim@famdijkstra.org> for
       the Debian system (but may be used by others). Permission is granted to
       copy, distribute and/or modify this document under the terms of the GNU
       General Public License, Version 2 any later version  published  by  the
       Free Software Foundation.

       On  Debian systems, the complete text of the GNU General Public License
       can be found in /usr/share/common-licenses/GPL.

                                 juni 24, 2006                       s2disk(8)