Page MenuHomeFreeBSD

Check for built-in tmpfs module
ClosedPublic

Authored by mhorne on Oct 1 2020, 6:17 PM.
Tags
None
Referenced Files
F103432108: D26632.id.diff
Sun, Nov 24, 11:09 PM
Unknown Object (File)
Fri, Nov 22, 11:15 PM
Unknown Object (File)
Sat, Nov 9, 5:59 PM
Unknown Object (File)
Oct 16 2024, 4:17 PM
Unknown Object (File)
Sep 28 2024, 5:02 AM
Unknown Object (File)
Sep 27 2024, 7:23 PM
Unknown Object (File)
Sep 24 2024, 8:18 AM
Unknown Object (File)
Sep 18 2024, 6:34 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