chiark / gitweb /
fstab-generator: use more appropriate checks for swap and device availability
authorLennart Poettering <lennart@poettering.net>
Mon, 5 Jan 2015 11:35:08 +0000 (12:35 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 5 Jan 2015 11:35:08 +0000 (12:35 +0100)
We always should use the same checks when deciding whether swap support
and mounting of devices is supported. Hence, let's make
fstab-generator's logic more similar to the usual logic we follow:

a) Look for /proc/swaps and no container support before activating
swaps.

b) Look for /sys being writable befire supporting device mounts.


No differences found