I am using mongo 3.4.7. My mongodb.conf file is in the format of foo = bar
and not yaml.
I need to switch the engine to mmapv1 because I like to use ext4 filesystem.
Does anyone know the default config for this in the format of 'foo = bar` instead of yaml?
The old style config file format is still supported as of MongoDB 3.6.3 for backward compatibility purposes.
However, support for this configuration style may not be around forever, and may be removed in the future. This old config file format dated from MongoDB 2.4, so the description of the format will be outdated and some options doesn't apply anymore for newer MongoDB versions.
Thus, it's recommended to use the new YAML style format, and convert your old style config to YAML. See Configuration File Options for details on the YAML style config.