to update the mapping
- Teach kmod to load modprobe.d/depmod.d configuration from ${prefix}/lib
- and allow it to be overriden during build with --with-distconfdir=DIR
+ and allow it to be overridden during build with --with-distconfdir=DIR
- Make kernel modules directory configurable. This allows distro to
make kmod use only files from /usr regardless of having a compat
- Make modprobe fallback to syslog when stderr is not available, as was
documented in the man page, but not implemented
- - Better explaing `modprobe -r` and how it differentiates from rmmod
+ - Better explaining `modprobe -r` and how it differentiates from rmmod
- depmod learned a `-o <dir>` option to allow using a separate output
directory. With this, it's possible to split the output files from
module name, without considering the aliases. Other than that search
order is similar to kmod_module_new_from_lookup().
- - modinfo learned the --modname option to explicitely show information
+ - modinfo learned the --modname option to explicitly show information
about the module, even if there is an alias with the same name. This
allows showing information about e.g. kernel/lib/crc32.ko, even if
kernel also exports a crc32 alias in modules.alias:
The wait behavior provided by the kernel when not passing O_NONBLOCK
to delete_module() was removed in v3.13 due to not be used and the
consequences of having to support it in the kernel. However there may
- be some users, particularly on testsuites for individual susbsystems, that
+ be some users, particularly on testsuites for individual subsystems, that
would want that. So provide a userspace implementation inside modprobe for
such users. "rmmod" doesn't have a --wait as it remains a bare minimal over
the API provided by the kernel. In future the --wait behavior can be added
sig_key: 51:C4:0C:6D:7E:A5:6C:D8:8F:B4:3A:DF:91:78:4F:18:BC:D5:E4:C5
sig_hashalgo: sha256
- If kmod is not linked to openssl we just start printing "unknonwn" in the
+ If kmod is not linked to openssl we just start printing "unknown" in the
sig_hashalgo field rather than the bogus value.
=======
- Tools:
- - Change defaul log level for tools to WARNING rather than ERROR and update
+ - Change default log level for tools to WARNING rather than ERROR and update
some log levels for current messages
- depmod doesn't fallback to uname if a bad version is passed in the command
The only missing things are the options '--showconfig' and '-t / -l'. These
last ones have been deprecated long ago and they will be removed from
modprobe. A lot of effort has been put on kmod-modprobe to ensure it
- maintains compabitility with modprobe.
+ maintains compatibility with modprobe.
- linux-modules@vger.kernel.org became the official mailing list for kmod
/*
* When module is not compressed or its compression type matches the
* one in use by the kernel, there is no need to read the file
- * in userspace. Otherwise, re-use ENOSYS to trigger the same fallback
+ * in userspace. Otherwise, reuse ENOSYS to trigger the same fallback
* as when finit_module() is not supported.
*/
compression = kmod_file_get_compression(mod->file);
struct index_value *realnames, *realname;
if (ctx->indexes[index_number] != NULL) {
- DBG(ctx, "use mmaped index '%s' for name=%s\n",
+ DBG(ctx, "use mmapped index '%s' for name=%s\n",
index_files[index_number].fn, name);
realnames = index_mm_searchwild(ctx->indexes[index_number],
name);
char *line;
if (ctx->indexes[KMOD_INDEX_MODULES_BUILTIN]) {
- DBG(ctx, "use mmaped index '%s' modname=%s\n",
+ DBG(ctx, "use mmapped index '%s' modname=%s\n",
index_files[KMOD_INDEX_MODULES_BUILTIN].fn,
name);
line = index_mm_search(ctx->indexes[KMOD_INDEX_MODULES_BUILTIN],
char *line;
if (ctx->indexes[KMOD_INDEX_MODULES_DEP]) {
- DBG(ctx, "use mmaped index '%s' modname=%s\n",
+ DBG(ctx, "use mmapped index '%s' modname=%s\n",
index_files[KMOD_INDEX_MODULES_DEP].fn, name);
return index_mm_search(ctx->indexes[KMOD_INDEX_MODULES_DEP],
name);
*
* If user will do more than one or two lookups, insertions, deletions, most
* likely it's good to call this function first. Particularly in a daemon like
- * udev that on bootup issues hundreds of calls to lookup the index, calling
+ * udev that on boot issues hundreds of calls to lookup the index, calling
* this function will speedup the searches.
*
* Returns: 0 on success or < 0 otherwise.
return -ENOENT;
if (ctx->indexes[type] != NULL) {
- DBG(ctx, "use mmaped index '%s'\n", index_files[type].fn);
+ DBG(ctx, "use mmapped index '%s'\n", index_files[type].fn);
index_mm_dump(ctx->indexes[type], fd,
index_files[type].prefix);
} else {
return err;
}
-/* uptodate: 1, outdated: 0, errors < 0 */
+/* up-to-date: 1, outdated: 0, errors < 0 */
static int depfile_up_to_date(const char *dirname)
{
char path[PATH_MAX + 1];