suspend-comment-configfile-options.diff 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. Index: b/conf/suspend.conf
  2. ===================================================================
  3. --- a/conf/suspend.conf
  4. +++ b/conf/suspend.conf
  5. @@ -1,9 +1,62 @@
  6. -snapshot device = /dev/snapshot
  7. -resume device = <path_to_resume_device_file>
  8. +#############################################################################
  9. +##
  10. +## note:
  11. +## using pm-utils or powersaved, this file (/etc/suspend.conf) only serves as
  12. +## a template, image_size and resume_device are filled in dynamically
  13. +## and the generated /var/lib/s2disk.conf is used to suspend.
  14. +## _If_ you enter stuff here, it will be copied to that file unchanged,
  15. +## but this might skip some features and sanity checks.
  16. +##
  17. +#############################################################################
  18. +##
  19. +## your snapshot device. You should not need to change this.
  20. +# snapshot device = /dev/snapshot
  21. +#
  22. +## enter your swap device here. Read the warning on pm-utils above, please!
  23. +#resume device = <path_to_resume_device_file>
  24. +#
  25. +## image size will also be filled in by pm-utils
  26. #image size = 350000000
  27. +#
  28. #suspend loglevel = 2
  29. +#max loglevel =
  30. +#
  31. +## compute checksum will slow down suspend and resume.
  32. +## Debugging option, default n
  33. #compute checksum = y
  34. -#compress = y
  35. +#
  36. +## compression will often speed up suspend and resume (default n)
  37. +#compress = n
  38. +#
  39. +## encryption support is rather basic right now - e.g. USB keyboards will not
  40. +## work to enter the key in the standard initrd, also beware of
  41. +## non-US keyboard layouts. Only use this if you know what you are doing.
  42. #encrypt = y
  43. -#early writeout = y
  44. +#
  45. +## RSA key file that is used for encryption
  46. +#RSA key file = /etc/suspend.key
  47. +#
  48. +## start writing out the image early, before buffers are full.
  49. +## will most of the time speed up overall writing time (default y)
  50. +#early writeout = n
  51. +#
  52. +## use splash picture? (default n)
  53. #splash = y
  54. +#
  55. +## shutdown method:
  56. +## platform - go through ACPI BIOS to power off the machine (default on
  57. +## machines that support it)
  58. +## shutdown - just power off like after a shutdown
  59. +## reboot - reboot instead of powering off. For debugging only.
  60. +#shutdown method = platform
  61. +#
  62. +## resume offset: for use with swapfiles, use "swap-offset" to find out.
  63. +#resume offset = 12345
  64. +#
  65. +## pause after resume for n seconds, so that the timing information can
  66. +## actually be read (default 0 => don't pause)
  67. +#resume pause = 2
  68. +#
  69. +## use threads for suspend? (default n)
  70. +## this hugely speeds up encryption and also compression on mulitcore machines
  71. +#threads = y