Page MenuHomeFreeBSD

Check for built-in tmpfs module
ClosedPublic

Authored by mhorne on Oct 1 2020, 6:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 25, 10:31 PM
Unknown Object (File)
Tue, Dec 16, 3:54 PM
Unknown Object (File)
Nov 21 2025, 1:12 AM
Unknown Object (File)
Nov 21 2025, 1:10 AM
Unknown Object (File)
Nov 21 2025, 1:09 AM
Unknown Object (File)
Nov 21 2025, 1:07 AM
Unknown Object (File)
Nov 9 2025, 4:30 AM
Unknown Object (File)
Nov 5 2025, 12:17 PM
Subscribers

Details

Summary

As of r363471, tmpfs is included in all GENERIC kernel configs. The
tmpfs tests can still be run successfully, but emit a warning each time
they try to load tmpfs.ko:

module_register: cannot register tmpfs from tmpfs.ko; already loaded from kernel

Check for the presence of the module via kldstat first to quiet this
warning.

Diff Detail

Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 33932
Build 31129: arc lint + arc unit