Web lists-archives.com

Re: Recommendation on partition sizes

Le 05/11/2018 à 00:10, Stefan Monnier a écrit :
[ Sadly --resizefs doesn't work on a swap partition, AFAICT.  ]
Because there is no swap resizing tool.

There is no "online" swap resizing tool, but `mkswap` should work to
resize a (currently unused) swap.

mkswap does not even qualify as an offline resizing resizing tool. Such tool would preserve existing metadata and data. mkswap just creates a brand new swap area and erases previous metadata. The best you can do is force the UUID and/or label value when creating the new swap area.