lkml.org 
[lkml]   [2004]   [Dec]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Module Names - Hyphen Converted to Underscore
From
Date
Dnia 27-12-2004, pon o godzinie 19:38 +0000, AJM napisał(a):
> I have compiled stock (kernel.org) 2.6.3 and 2.6.9 kernels which exhibit
> the following unusual behaviour on module loading: If the kernel module
> has a hyphen in its name, then this appears to be translated into an
> underscore by the kernel, such that, for example after "insmod 3w-xxxx",
> lsmod shows "3w_xxxx", "rmmod 3w-xxxx" fails but "rmmod 3w_xxxx" succeeds.

> Any suggestions as to why this is happening?

That convenience thing, look at man modprobe:

modprobe intelligently adds or removes a module from the Linux kernel:
note that for convenience,there is no difference between _ and
- in module names.


--
Tomasz Torcz
zdzichu@irc.-spam.nie-.pl

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

\
 
 \ /
  Last update: 2005-03-22 14:09    [W:0.041 / U:0.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site