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, Feb 3, 7:57 PM
Unknown Object (File)
Fri, Jan 24, 1:10 PM
Unknown Object (File)
Jan 13 2025, 3:13 PM
Unknown Object (File)
Nov 30 2024, 11:49 AM
Unknown Object (File)
Nov 29 2024, 7:07 AM
Unknown Object (File)
Nov 27 2024, 10:18 AM
Unknown Object (File)
Nov 27 2024, 10:17 AM
Unknown Object (File)
Nov 27 2024, 10:04 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