On Sun, Aug 19, 2018 at 7:20 PM Philip Guenther <guent...@gmail.com> wrote: ...
> If that's correct, then there's no supported way to change it: the > addition of the swap partition from the boot disk is done by the kernel > before starting init, in swapmount(), which hardcodes a priority of zero. > Correction: you can change it with swapctl -c, so you can invoke that from rc.local to solve your problem. If you want to _fix_ it, then I would suggest updating swapctl(8) so that it's -A option, instead of totally skipping selected swap partitions which are already mounted, instead updates the priority of them if they don't match what's in the fstab. Philip Guenther