blob: 21c57e3fcbfadfb899c6d449b56d7d4fcca66fe9 (
plain)
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
|
'\" t
.TH "SYSTEMD\-HIBERNATE\-RESUME\-GENERATOR" "8" "" "systemd 255" "systemd-hibernate-resume-generator"
.\" -----------------------------------------------------------------
.\" * 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"
systemd-hibernate-resume-generator \- Unit generator for resume= kernel parameter
.SH "SYNOPSIS"
.PP
/usr/lib/systemd/system\-generators/systemd\-hibernate\-resume\-generator
.SH "DESCRIPTION"
.PP
\fBsystemd\-hibernate\-resume\-generator\fR
is a generator that initiates the procedure to resume the system from hibernation\&. It creates the
\fBsystemd-hibernate-resume.service\fR(8)
unit according to the value of
\fBresume=\fR
parameter specified on the kernel command line, or the value of EFI variable
\fIHibernateLocation\fR, which will instruct the kernel to resume the system from the hibernation image on that device\&.
.SH "KERNEL COMMAND LINE"
.PP
systemd\-hibernate\-resume\-generator
understands the following kernel command line parameters:
.PP
\fIresume=\fR
.RS 4
Takes a path to the resume device\&. Both persistent block device paths like
/dev/disk/by\-foo/bar
and
\fBfstab\fR(5)\-style specifiers like
"FOO=bar"
are supported\&.
.sp
Added in version 217\&.
.RE
.PP
\fIresume_offset=\fR
.RS 4
Takes the page offset of the swap space from the resume device\&. Defaults to
"0"\&.
.sp
Added in version 254\&.
.RE
.PP
\fIresumeflags=\fR
.RS 4
Takes the resume device mount options to use\&. Defaults
\fIrootflags=\fR
if not specified\&.
.sp
Added in version 243\&.
.RE
.PP
\fInoresume\fR
.RS 4
Do not try to resume from hibernation\&. If this parameter is present,
\fIresume=\fR
is ignored\&.
.sp
Added in version 240\&.
.RE
.SH "SEE ALSO"
.PP
\fBsystemd\fR(1),
\fBsystemd-hibernate-resume.service\fR(8),
\fBkernel-command-line\fR(7)
|