public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Hyphen in module names
@ 2006-02-05 20:25 Guillaume Chazarain
  0 siblings, 0 replies; only message in thread
From: Guillaume Chazarain @ 2006-02-05 20:25 UTC (permalink / raw)
  To: linux-kernel

Hi,

The fact that '-' is replaced by '_' in module names seems
to be a feature not a bug. So, what was the rationale for this?

A drawback is that it becomes not trivial to map module
names to filenames as this does not work:
for FILE in $(cut -d' ' -f1 < /proc/modules); do
    ls /lib/modules/MY_NEW_KERNEL/kernel/**/$FILE.ko
done

If it is some kind of user-friendliness, then why not make
the module name matching case insensitive ?  :-p

Sorry for the ranting tone, but I am quite confused.

Thanks.

-- 
Guillaume


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-02-05 20:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-05 20:25 Hyphen in module names Guillaume Chazarain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox