Page MenuHomeFreeBSD

Check for built-in tmpfs module
ClosedPublic

Authored by mhorne on Oct 1 2020, 6:17 PM.
Tags
None
Referenced Files
F116473464: D26632.diff
Wed, May 7, 2:19 AM
Unknown Object (File)
Wed, Apr 16, 9:25 AM
Unknown Object (File)
Wed, Apr 16, 7:48 AM
Unknown Object (File)
Wed, Apr 16, 7:48 AM
Unknown Object (File)
Wed, Apr 16, 7:48 AM
Unknown Object (File)
Wed, Apr 16, 7:47 AM
Unknown Object (File)
Apr 7 2025, 6:50 AM
Unknown Object (File)
Mar 14 2025, 8:39 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