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)
Tue, Apr 16, 8:11 PM
Unknown Object (File)
Feb 23 2024, 10:53 PM
Unknown Object (File)
Feb 23 2024, 11:47 AM
Unknown Object (File)
Feb 9 2024, 6:11 AM
Unknown Object (File)
Dec 20 2023, 6:20 AM
Unknown Object (File)
Dec 17 2023, 7:16 PM
Unknown Object (File)
Dec 3 2023, 12:12 PM
Unknown Object (File)
Sep 11 2023, 1:18 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