--- - branch: MAIN date: Sat Aug 6 08:11:10 UTC 2011 files: - new: '1.41' old: '1.40' path: src/sbin/modload/modload.8 pathrev: src/sbin/modload/modload.8@1.41 type: modified - new: '1.11' old: '1.10' path: src/sys/kern/kern_module_vfs.c pathrev: src/sys/kern/kern_module_vfs.c@1.11 type: modified - new: '1.5' old: '1.4' path: src/sys/kern/subr_kobj_vfs.c pathrev: src/sys/kern/subr_kobj_vfs.c@1.5 type: modified id: 20110806T081110Z.3c460d5cb74e3b07b061b11be9f35f2d5ec0fa1f log: | Do not not look for modules in the current working directory first. This is to prevent from accidentally loading ./module.kmod when we actually wanted to load module from the system module area. To load a module from a filesystem path, the module name must contain at least on path separator character (/), to load a module from the system module areas, the name must not contain a path separator character: modload ./mymod.kmod # loads mymod.kmod from the curren directory modload mymod # loads mymod.kmod from the system module area module: src subject: 'CVS commit: src' unixtime: '1312618270' user: mbalmer