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 ...
- 12-06-2009 #1Linux 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...
- 12-07-2009 #2Linux Guru
- 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!


Reply With Quote