Find the answer to your Linux question:
Results 1 to 2 of 2
Hello, May i know what is the difference between /sys/modules and /proc/modules? I know this /proc/modules is a file and this /sys/module is a directory. But i am confused. why ...
  1. #1
    Linux User
    Join Date
    Aug 2008
    Location
    Trichy,India
    Posts
    308

    Diff between /sys/module and /proc/modules

    Hello,
    May i know what is the difference between /sys/modules and /proc/modules?

    I know this /proc/modules is a file and this /sys/module is a directory. But i am confused. why this both is having similar information about currently running driver modules. sorry if i am wrong.
    Thanks in advance...

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,970
    Other than the fact that /proc/modules contains a list of currently installed modules, their state and I think their memory address where loaded and /sys/module is a tree of directories with module-related information, I cannot say what the intended differences are. I would suggest that you check out The Linux Documentation Project and The Linux Kernel Archives for more information about the structure of the Linux runtime virtual file systems such as /proc and /sys.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...