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)
Sat, Jun 20, 7:08 PM
Unknown Object (File)
Apr 30 2026, 9:16 AM
Unknown Object (File)
Apr 27 2026, 2:18 PM
Unknown Object (File)
Apr 27 2026, 6:34 AM
Unknown Object (File)
Apr 23 2026, 6:50 AM
Unknown Object (File)
Apr 11 2026, 10:50 AM
Unknown Object (File)
Apr 11 2026, 8:24 AM
Unknown Object (File)
Apr 7 2026, 3:36 AM
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