[DragonFlyBSD - Bug #3207] (Resolved) swapon fails silently when trim option is given

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Thu Jun 11 12:00:58 PDT 2020

Issue #3207 has been updated by deef.

Status changed from New to Resolved
% Done changed from 0 to 100

Fixed in commit eeecdae6+. Thank you for reporting this.

Bug #3207: swapon fails silently when trim option is given

* Author: mneumann
* Status: Resolved
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
In /etc/fstab I have the following line:

/dev/serno/xxx.s1b none swap sw,crypt,trim 0 0

When I startup, "swapctl -l" does not list any devices.
If I remove the "trim" option above, it works and "swapctl -l"
shows the configured device.

The disk is a Samsung SSD 960 PRO using the nvme driver.

Having no swap configured silently might not be the best option.

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

More information about the Bugs mailing list