| 1 |
'\" t |
| 2 |
.TH "SYSTEMD\-HIBERNATE\-RESUME\-GENERATOR" "8" "" "systemd 261~rc3" "systemd-hibernate-resume-generator" |
| 3 |
.\" ----------------------------------------------------------------- |
| 4 |
.\" * Define some portability stuff |
| 5 |
.\" ----------------------------------------------------------------- |
| 6 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 7 |
.\" http://bugs.debian.org/507673 |
| 8 |
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html |
| 9 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 10 |
.ie \n(.g .ds Aq \(aq |
| 11 |
.el .ds Aq ' |
| 12 |
.\" ----------------------------------------------------------------- |
| 13 |
.\" * set default formatting |
| 14 |
.\" ----------------------------------------------------------------- |
| 15 |
.\" disable hyphenation |
| 16 |
.nh |
| 17 |
.\" disable justification (adjust text to left margin only) |
| 18 |
.ad l |
| 19 |
.\" ----------------------------------------------------------------- |
| 20 |
.\" * MAIN CONTENT STARTS HERE * |
| 21 |
.\" ----------------------------------------------------------------- |
| 22 |
.SH "NAME" |
| 23 |
systemd-hibernate-resume-generator \- Unit generator for resume= kernel parameter |
| 24 |
.SH "SYNOPSIS" |
| 25 |
.PP |
| 26 |
/usr/lib/systemd/system\-generators/systemd\-hibernate\-resume\-generator |
| 27 |
.SH "DESCRIPTION" |
| 28 |
.PP |
| 29 |
\fBsystemd\-hibernate\-resume\-generator\fR |
| 30 |
is a generator that initiates the procedure to resume the system from hibernation\&. When |
| 31 |
\fBresume=\fR |
| 32 |
kernel command line option or |
| 33 |
\fIHibernateLocation\fR |
| 34 |
EFI variable is detected, it enables the |
| 35 |
\fBsystemd-hibernate-resume.service\fR(8) |
| 36 |
unit, which will instruct the kernel to resume the system from the hibernation image\&. |
| 37 |
.SH "KERNEL COMMAND LINE" |
| 38 |
.PP |
| 39 |
systemd\-hibernate\-resume\-generator |
| 40 |
understands the following kernel command line parameters: |
| 41 |
.PP |
| 42 |
\fIresume=\fR |
| 43 |
.RS 4 |
| 44 |
Takes a path to the resume device\&. Both persistent block device paths like |
| 45 |
/dev/disk/by\-foo/bar |
| 46 |
and |
| 47 |
\fBfstab\fR(5)\-style specifiers like |
| 48 |
"FOO=bar" |
| 49 |
are supported\&. |
| 50 |
.sp |
| 51 |
Added in version 217\&. |
| 52 |
.RE |
| 53 |
.PP |
| 54 |
\fIresume_offset=\fR |
| 55 |
.RS 4 |
| 56 |
Takes the page offset of the swap space from the resume device\&. Defaults to |
| 57 |
"0"\&. |
| 58 |
.sp |
| 59 |
Added in version 254\&. |
| 60 |
.RE |
| 61 |
.PP |
| 62 |
\fIresumeflags=\fR |
| 63 |
.RS 4 |
| 64 |
Takes the resume device mount options to use\&. Defaults |
| 65 |
\fIrootflags=\fR |
| 66 |
if not specified\&. |
| 67 |
.sp |
| 68 |
Added in version 243\&. |
| 69 |
.RE |
| 70 |
.PP |
| 71 |
\fInoresume\fR |
| 72 |
.RS 4 |
| 73 |
Do not try to resume from hibernation\&. If this parameter is present, |
| 74 |
\fIresume=\fR |
| 75 |
is ignored\&. |
| 76 |
.sp |
| 77 |
Added in version 240\&. |
| 78 |
.RE |
| 79 |
.SH "SEE ALSO" |
| 80 |
.PP |
| 81 |
\fBsystemd\fR(1), \fBsystemd-hibernate-resume.service\fR(8), \fBkernel-command-line\fR(7) |