lkml.org 
[lkml]   [2004]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.2: "-" or "_", thats the question
On Sun, 15 Feb 2004 10:58:54 +0100
Harald Dunkel <harald.dunkel@t-online.de> wrote:

> Coywolf Qi Hunt wrote:
> > Harald Dunkel wrote:
> >
> >>
> >> What would be the correct way to get the filename of a
> >> loaded module? The basename would be sufficient.
> >>
> >>
> > The symbole names used in source code, like function names tend to use
> > "_", while the file names use "-" IMHO.
> >
>
> Naturally the symbols in the code use '_', cause for C '-'
> is not allowed within symbol names.
>
> I am interested in the module file names. 'cat /proc/modules'
> should return the correct module names, but for some modules
> (like uhci_hcd vs uhci-hcd.ko) '_' and '-' are messed up.

We canonicalize them at every point: you can use both.

Most users don't want to remember that it's ip_conntrack but uhci-hcd.

Hope that clarifies,
Rusty.
--
there are those who do and those who hang on and you don't see too
many doers quoting their contemporaries. -- Larry McVoy
-
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:01    [W:0.218 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site