[systemd-devel] Swap gets activated twice (through fstab and gpt generators)
martin.pitt at ubuntu.com
Mon Jan 26 01:08:02 PST 2015
Peter Mattern [2015-01-23 14:03 +0100]:
> According to man (http://www.freedesktop.org/software/systemd/man/systemd-gpt-auto-generator.html,
> see section "Description") systemd-gpt-auto-generator is supposed to behave
> like this by now already.
Supposed yes, but I don't see anything in gpt-auto-generator.c which
would actually check fstab. The only check I see is
path_is_mount_point() in probe_and_add_mount(), but as the generators
all run during very early boot where most of the mounts did not happen
yet, this doesn't help.
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
More information about the systemd-devel