Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,13 @@ Importing this module will run `btrfs device scan` and pull btrfs modules.

When enabled, attempts to resume after hibernation if resume= is passed on the kernel command line.

If you have an encrypted swap partition, also add it like:

```toml
[cryptsetup.swap]
uuid = "x"
```

### Cryptographic modules

Several cryptographic modules are provided, mostly to assist in mounting encrypted volumes and handling keyfiles.
Expand Down
5 changes: 4 additions & 1 deletion src/ugrd/fs/resume.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@ cmdline_strings = [ "resume" ]
[imports.init_main]
"ugrd.fs.resume" = [ "handle_resume" ]

[import_order.after]
handle_resume = [ "crypt_init", "init_lvm" ]

[import_order.before]
handle_resume = "mount_fstab"
handle_resume = [ "mount_root", "mount_fstab", "btrfs_scan", "md_init" ]