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)
Sun, Feb 8, 10:21 AM
Unknown Object (File)
Sun, Feb 8, 1:26 AM
Unknown Object (File)
Sat, Jan 31, 8:44 AM
Unknown Object (File)
Tue, Jan 20, 7:45 AM
Unknown Object (File)
Dec 25 2025, 10:31 PM
Unknown Object (File)
Dec 16 2025, 3:54 PM
Unknown Object (File)
Nov 21 2025, 1:12 AM
Unknown Object (File)
Nov 21 2025, 1:10 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable