public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Tomasz Torcz <zdzichu@irc.pl>
To: linux-kernel@vger.kernel.org
Subject: Re: Module Names - Hyphen Converted to Underscore
Date: Mon, 27 Dec 2004 20:54:42 +0100	[thread overview]
Message-ID: <1104177282.5683.2.camel@localhost.localdomain> (raw)
In-Reply-To: <41D064D0.6050509@transtec.demon.co.uk>

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


  parent reply	other threads:[~2004-12-27 19:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-27 19:38 Module Names - Hyphen Converted to Underscore AJM
2004-12-27 19:43 ` Jan Engelhardt
2004-12-27 19:54 ` Tomasz Torcz [this message]
2004-12-27 20:09   ` Alan Curry

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1104177282.5683.2.camel@localhost.localdomain \
    --to=zdzichu@irc.pl \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox