Hyphen in module names

From: Guillaume Chazarain
Date: Sun Feb 05 2006 - 15:23:39 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/