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)
Mon, Oct 13, 7:28 AM
Unknown Object (File)
Sat, Oct 11, 10:42 PM
Unknown Object (File)
Thu, Oct 9, 11:10 PM
Unknown Object (File)
Sep 14 2025, 4:57 PM
Unknown Object (File)
Aug 24 2025, 6:54 AM
Unknown Object (File)
Aug 19 2025, 7:17 PM
Unknown Object (File)
Jul 29 2025, 4:11 AM
Unknown Object (File)
Jul 22 2025, 3:37 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

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