[systemd-devel] Swap gets activated twice (through fstab and gpt generators)

"Jóhann B. Guðmundsson" johannbg at gmail.com
Tue Jan 27 16:28:42 PST 2015


On 01/28/2015 12:24 AM, Lennart Poettering wrote:
> On Tue, 27.01.15 17:17, Chris Murphy (lists at colorremedies.com) wrote:
>
>>> > >The problem is simply that we cannot know in advance that /dev/sda7
>>> > >and /dev/disk/by-uuid/c0e7978b-f82b-4b7f-b72b-6717f6909abc will
>>> > >eventually refer to the same device.
>> >
>> >Are these just scary looking warnings?
> It should be unproblematic, but it looks scary right now. The swapon
> will only succeed once, and fail the second time, and that doesn't
> look pretty, but the kernel should do the right thing and not get
> confused by this.

I can confirm it does and I simply remove the swap entry in fstab to 
make it go away when I encountered it.

That said are there any real practical benefits of using swap et al in 
today's age or are people just still creating it out of habit?

JBG


More information about the systemd-devel mailing list