diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-01-05 12:35:08 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-01-05 12:35:08 +0100 |
commit | 00b4ffdecbb39d849af65c0ab741be482325a4a9 (patch) | |
tree | 1fa1237f52b4eaed1e784ba8e7d8bbe2857cf636 /src/test/test-ratelimit.c | |
parent | 6b3fd9a14d378a35d95ec4be65065708d092bee2 (diff) |
fstab-generator: use more appropriate checks for swap and device availability
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.
Diffstat (limited to 'src/test/test-ratelimit.c')
0 files changed, 0 insertions, 0 deletions