chiark / gitweb /
fstab-generator: ignore invalid swap priority
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 21 Mar 2015 15:31:16 +0000 (11:31 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 21 Mar 2015 15:54:46 +0000 (11:54 -0400)
commite0952d9d021234e79f3a70f33a9e5d201872a417
treeff8d46dc889ec632ae8610455dc76230cf94ee66
parent8bde1d0c9d322f3b9a8dd24cfc8417b9231314d8
fstab-generator: ignore invalid swap priority

A failed priority is not something worth stopping boot over. Most people
have only one swap device, in which case priority is irrelevant, and even
if there is more than one swap device, they are all usable, and ignoring the
priority field should only result in some loss of performance.

The kernel will report the priority as -1 if not set, so it's easy for
people to make this mistake.

https://bugzilla.redhat.com/show_bug.cgi?id=1204336
src/fstab-generator/fstab-generator.c