File: s2disk.8

package info (click to toggle)
uswsusp 1.0%2B20120915-6.1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,572 kB
  • ctags: 1,440
  • sloc: ansic: 7,164; sh: 566; makefile: 223; perl: 65
file content (93 lines) | stat: -rw-r--r-- 4,077 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
'\" t
.\"     Title: s2disk
.\"    Author: Tim Dijkstra <tim@famdijkstra.org>
.\"   Updated: Rodolfo García Peñas (kix) <kix@kix.es>
.\"      Date: Feb 29, 2012
.\"    Manual: s2disk
.\"    Source: suspend-utils
.\"  Language: English
.\"
.TH "S2DISK" "8" "Feb 29, 2012" "uswsusp" "s2disk"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
s2disk \- program to suspend to disk (hibernate)
.SH "SYNOPSIS"
.HP \w'\fBs2disk\fR\ 'u
\fBs2disk\fR [\-h,\ \-\-help] [\-V,\ \-\-version] [\-f,\ \-\-config\ \fIconfig_file\fR] [\-r,\ \-\-resume_device\ \fIdevice\fR] [\-o,\ \-\-resume_offset\ \fIoffset\fR] [\-s,\ \-\-image_size\ \fIsize\fR] [\-P,\ \-\-parameter\ \fIparameter\fR]
.HP \w'\fBresume\fR\ 'u \fBresume\fR
.SH "DESCRIPTION"
.PP
This manual page documents briefly the \fBs2disk\fR, \fBs2both\fR and \fBresume\fR commands\&.
.PP
\fBs2disk\fR 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)\&.
.PP
\fBs2both\fR will do precisly the same as \fBs2disk\fR 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 \fBs2both\fR command also inherits all command line arguments from \fBs2ram\fR\&.
.PP
You will need to set up an initramfs which calls the \fBresume\fR program for this to work\&. If you use a package distributed with your Linux distribution, the kernel package which was made with the \-\-initrd option and you use mkinitramfs\-tools, this package should include the necessary parts on your initramfs\&.
.PP
The uswsusp system supports encrypting the image written to disk and features a splash system, see uswsusp\&.conf(5) for more information\&.
.SH "OPTIONS"
.PP
\fB\-f, \-\-config [file]\fR
.RS 4
Specify alternate configuration file\&.
.RE
.PP
\fB\-h, \-\-help\fR
.RS 4
Display help\&.
.RE
.PP
\fB\-r, \-\-resume_device [device]\fR
.RS 4
Device that contains swap area\&.
.RE
.PP
\fB\-o, \-\-resume_offset [offset]\fR
.RS 4
Offset of swap file in resume device\&.
.RE
.PP
\fB\-s, \-\-image_size [size]\fR
.RS 4
Desired size of the image\&.
.RE
.PP
\fB\-P, \-\-parameter [key=value]\fR
.RS 4
Override any config file parameter (see uswsusp\&.conf(5))\&.
.RE
.PP
For the meaning and use of the resume_size, resume_offset and image_size options see uswsusp\&.conf(5)\&.
.SH "SEE ALSO"
.PP
uswsusp\&.conf(5), suspend\-keygen(8), s2ram(8)
.PP
For more information see the README file.
.SH "AUTHOR"
.PP
This manual page was written by Tim Dijkstra <tim@famdijkstra>\&.org for the Debian(TM) system (but may be used by others)\&. Was updated by Rodolfo García <kix@kix.es>. 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\&.
.RE
.SH "COPYRIGHT"
.br
Copyright \(co 2006 Tim Dijkstra
Copyright \(co 2012 Rodolfo García (kix)
.br