lkml.org 
[lkml]   [2004]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 2.6.2: "-" or "_", thats the question
    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

    -
    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:00    [W:3.150 / U:0.124 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site