2005-09-08 19:58:52

by Bill Nottingham

[permalink] [raw]
Subject: [PATCH] module-init-tools: don't do '-' substitutions in depmod

The attached patch removes the '-' for '_' substitution from
depmod - this makes the names printed for modules in module.alias
match the actual names of the module files.

Bill


Attachments:
(No filename) (177.00 B)
module-init-tools.patch (463.00 B)
Download all attachments

2005-09-09 01:11:59

by Rusty Russell

[permalink] [raw]
Subject: Re: [PATCH] module-init-tools: don't do '-' substitutions in depmod

On Thu, 2005-09-08 at 15:56 -0400, Bill Nottingham wrote:
> The attached patch removes the '-' for '_' substitution from
> depmod - this makes the names printed for modules in module.alias
> match the actual names of the module files.

Looks fine, thanks Bill!

(Note: this is harmless, because modprobe canonicalizes them itself when
reading the file anyway, so no change there).

Rusty.
--
A bad analogy is like a leaky screwdriver -- Richard Braakman