On Wed, Jun 13, 2018 at 02:37:01PM -0500, Eric Sandeen wrote: > -static inline const char *default_type_str(enum default_params_type type) > -{ > - switch (type) { > - case DEFAULTS_BUILTIN: > - return _("package built-in definitions"); > - case DEFAULTS_CONFIG: > - return _("package default config file"); > - case DEFAULTS_CLI_CONFIG: > - return _("CLI supplied file"); > - } > - return _("Unkown\n"); > -} > > - printf(_("Default configuration sourced from %s\n"), > - default_type_str(dft.type)); The above is really the reason to the type stuff, and it was also why I added it, as otherwise we had to allocate a string for the old way of supplying that data. So really this is about the *source*, the type enum stuff is just a way to implement it without dealing with complexities on the string. So regardless of the type, the question is we are OK to loose the source of where the config file info came from. I think it is important information to get, but since it is not not information kept on the actual filesystem it is information lost, and so really only useful for deployment time. But since we are already printing the actual file used... it may suffice, and I do agree I this does simplify things more. Chinner had added that print line, I just tried to keep it around, if he's cool with the removal of the source stuff now, then sure. Luis -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html