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, Jul 5, 1:33 AM
Unknown Object (File)
Fri, Jul 3, 10:40 PM
Unknown Object (File)
Thu, Jul 2, 6:49 PM
Unknown Object (File)
Tue, Jun 30, 2:08 PM
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
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