Skip to content

Disable automatic use and forceful format of existing swaps

Pascal Hambourg requested to merge pham/partman-basicfilesystems:swap into master
  • Disable automatic use of existing swaps in manual partitioning

Automatic use of existing swaps has tricked many users in multi-boot installations because re-used swaps are formatted with a new UUID. This often disrupts the other operating systems which use them. It is easier and faster to enable the one swap you want to re-use than to disable all the other swaps.

  • Enable choice to format or keep re-used existing swaps

It is not necessary and may be undesirable to format re-used existing swaps in some use cases (e.g. multiboot setup with shared swap). Most of the code to manage choice is already present but disabled. Tweak the code so that choice is available if the partition is already formatted as swap.

  • Do not format re-used existing swaps by default

It is not necessary and may be undesirable to format re-used existing swaps in some use cases (e.g. multiboot setup with shared swap). Do not format by default if the partition is already formatted as swap.

Merge request reports

Loading