All of lore.kernel.org
 help / color / mirror / Atom feed
From: Coywolf Qi Hunt <coywolf@lovecn.org>
To: Harald Dunkel <harald.dunkel@t-online.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.2: "-" or "_", thats the question
Date: Sun, 15 Feb 2004 10:38:32 +0800	[thread overview]
Message-ID: <402EDBA8.4070102@lovecn.org> (raw)
In-Reply-To: <402A887D.7030408@t-online.de>

Harald Dunkel wrote:

> Hi folks,
>
> 'cat /proc/modules' returns most (all?) of the module names with
> "_", e.g.
>
>     :
>     ipt_conntrack
>     ip_conntrack
>     iptable_filter
>     ip_tables
>     uhci_hcd
>     ohci_hcd
>     ehci_hcd
>     :
>
> Very consistent. But the filenames of some kernel modules are
> still written with "-", e.g.
>
>     /lib/modules/2.6.2/kernel/drivers/usb/host/ehci-hcd.ko
>     /lib/modules/2.6.2/kernel/drivers/usb/host/ohci-hcd.ko
>     /lib/modules/2.6.2/kernel/drivers/usb/host/uhci-hcd.ko
>
> What would be the correct way to get the filename of a
> loaded module? The basename would be sufficient.
>
>
> Regards
>
> Harri
> -
> 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/
>
>
The symbole names used in source code, like function names tend to use 
"_", while the file names use "-" IMHO.


Coywolf Qi Hunt


  reply	other threads:[~2004-02-15  2:38 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-11 19:54 2.6.2: "-" or "_", thats the question Harald Dunkel
2004-02-15  2:38 ` Coywolf Qi Hunt [this message]
2004-02-15  9:58   ` Harald Dunkel
2004-02-17  7:41     ` Rusty Russell
2004-02-18  1:28       ` Wakko Warner
2004-02-18  8:46         ` Harald Dunkel
2004-02-18 17:25           ` Wakko Warner
2004-02-19  1:52             ` Randy.Dunlap
     [not found] <1o903-5d8-7@gated-at.bofh.it>
     [not found] ` <1pkw6-3BU-3@gated-at.bofh.it>
     [not found]   ` <1prnS-4x8-1@gated-at.bofh.it>
2004-02-15 15:02     ` Ryan Reich
2004-02-16  7:21       ` Harald Dunkel
2004-02-16  8:48         ` Måns Rullgård
2004-02-16 11:11           ` Harald Dunkel
2004-02-16 14:13         ` Ryan Reich
2004-02-16 14:22           ` Ryan Reich
2004-02-16 19:01             ` Harald Dunkel
2004-02-18 21:58         ` Tony Breeds
     [not found] <1pw4i-hM-27@gated-at.bofh.it>
     [not found] ` <1pw4i-hM-29@gated-at.bofh.it>
     [not found]   ` <1pw4i-hM-31@gated-at.bofh.it>
     [not found]     ` <1pw4i-hM-25@gated-at.bofh.it>
     [not found]       ` <1pLmG-4E7-5@gated-at.bofh.it>
     [not found]         ` <1pRLz-21o-33@gated-at.bofh.it>
     [not found]           ` <1pRVi-2am-27@gated-at.bofh.it>
     [not found]             ` <1pWi8-65a-11@gated-at.bofh.it>
2004-02-16 23:28               ` Ryan Reich
2004-02-17  6:09                 ` Harald Dunkel
2004-02-17 16:02                   ` Sam Ravnborg
2004-02-17 16:01                     ` Arjan van de Ven
2004-02-17 19:49                     ` Harald Dunkel

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=402EDBA8.4070102@lovecn.org \
    --to=coywolf@lovecn.org \
    --cc=harald.dunkel@t-online.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.