FS#28504 - [mkinitcpio] allow LABEL and UUID for resume parameter
Attached to Project:
Arch Linux
Opened by Matthias Dienstbier (fs4000) - Saturday, 18 February 2012, 14:59 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 25 March 2012, 02:27 GMT
Opened by Matthias Dienstbier (fs4000) - Saturday, 18 February 2012, 14:59 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 25 March 2012, 02:27 GMT
|
Details
If we use resolve_device in the resume hook, it would be
possible to use something like resume=LABEL=Swap or
resume=UUID=... as it is possible for the root parameter.
Simple patch is attached but there might be better solutions as vanilla hibernation only needs major and minor. Tuxonice is not considered at all. |
This task depends upon
Closed by Dave Reisner (falconindy)
Sunday, 25 March 2012, 02:27 GMT
Reason for closing: Implemented
Additional comments about closing: testing/mkinitcpio-0.8.5
Sunday, 25 March 2012, 02:27 GMT
Reason for closing: Implemented
Additional comments about closing: testing/mkinitcpio-0.8.5
resume.patch
If you test for valid content of $resume you could also treat y as invalid as the user most likely has used resume without a value.
Due for 0.8.5