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)
Wed, Sep 9, 9:27 AM
Unknown Object (File)
Sun, Sep 6, 5:09 AM
Unknown Object (File)
Sat, Sep 5, 9:04 PM
Unknown Object (File)
Sat, Sep 5, 8:49 PM
Unknown Object (File)
Sat, Sep 5, 2:24 PM
Unknown Object (File)
Sat, Sep 5, 11:11 AM
Unknown Object (File)
Sat, Sep 5, 8:24 AM
Unknown Object (File)
Fri, Sep 4, 6:33 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