Hyphen in module names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux