Bug 39509 - Priorities of swap from /etc/fstab are ignored
Summary: Priorities of swap from /etc/fstab are ignored
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Lennart Poettering
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-24 12:08 UTC by Maciej Piechotka
Modified: 2011-08-30 19:26 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Maciej Piechotka 2011-07-24 12:08:57 UTC
I have following entries in fstab:

UUID="bd07bff6-13f0-487e-94c7-abb726e463c1"	none		swap		sw,pri=0			0 0
/dev/zram0					none		swap		sw,pri=32767,discard		0 0

However just after boot swaps are set as:

# swapon -s
Filename				Type		Size	Used	Priority
/dev/zram0                              partition	1048572	0	0
/dev/mapper/picard--main-swap           partition	4194300	0	0

After swapoff /dev/zram0 && swapon -a the priorities are set correctly.
Comment 1 Lennart Poettering 2011-08-30 19:26:16 UTC
Fixed in git.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.