[pkg-cryptsetup-devel] cryptsetup and hibernation

Christoph Anton Mitterer calestyo at scientia.org
Mon Mar 27 01:09:31 BST 2023


On Sun, 2023-03-26 at 01:05 +0100, Guilhem Moulin wrote:
> > - cryptsetup always tries to bring up the root-, resume- (if any
> > was
> >  detected) and any "initramfs"-crypttab-option-marked devices at
> >  either local-top or local-block stages[0].
> >  -> thus before, the resume script is run?
> 
> Correct

Wouldn't it make sense to document that somewhere ... or did I just not
find it? ^^
I could provide a patch if you like... in README.Debian?



> The order is not documented so may not be be relied on, but IIRC from
> the top of my head the devices backing / are recursively (depth-first
> traversal of the block device tree, lexicographic order) opened
> first,
> then those for /usr, then those for the resume device(s), and finally
> those marked with the ‘initramfs’ keyword set (in the order specified
> in
> crypttab(5)).

I assume you want to keep it "undefined"?


Cheers,
Chris.



More information about the pkg-cryptsetup-devel mailing list