nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

How Linux modprobe command works and find out path for modules?

This is a discussion on How Linux modprobe command works and find out path for modules? within the Linux software forums, part of the Linux Getting Started category; Hello, i am new to linux...can anyone tell me how this "modprobe" works when booting the kernel....how it fetches the ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Linux answers from nixCraft.


Linux software General questions and discussion about Redhat/Fedora Core/Cent OS, Debian and Ubuntu Linux related to softwares should go here.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-17-2008, 11:57 PM
Junior Member
User
 
Join Date: Dec 2008
Location: Trichy,India
OS: Ubuntu
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
shariefbe is on a distinguished road
Default How Linux modprobe command works and find out path for modules?

Hello,
i am new to linux...can anyone tell me how this "modprobe" works when booting the kernel....how it fetches the modules path?
Reply With Quote
  #2 (permalink)  
Old 12-19-2008, 04:16 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,697
Thanks: 11
Thanked 243 Times in 183 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

modprobe looks in the module directory /lib/modules/$(uname -r) for all the modules and other files, except for the optional /etc/modprobe.conf configuration file and /etc/modprobe.d directory.

To print your path try as follows at a shell prompt:
Code:
echo /lib/modules/$(uname -r)
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #3 (permalink)  
Old 12-20-2008, 11:43 PM
Junior Member
User
 
Join Date: Dec 2008
Location: Trichy,India
OS: Ubuntu
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
shariefbe is on a distinguished road
Default

ya ok...from which path the maodules get loaded when kernel boots?
Reply With Quote
Reply

Tags
echo , linux , linux driver path , linux drivers , linux kernel path , modprobe , modules


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Find Out If Linux Command Is Internal Or External Raj K Yadav Linux software 2 08-21-2008 10:35 PM
Command to find which process is utilizing max number of resources in Red hat Linux Santosh Sharma Linux software 0 01-19-2008 03:12 PM
Linux Find Out RAM CAS Latency Command andrei048 Linux hardware 1 01-04-2008 10:56 AM
Use memory command to find details under Fedora Linux chiku Getting started tutorials 0 04-29-2007 08:35 PM
Modules in Linux guest Linux software 2 01-24-2006 06:49 PM


All times are GMT +5.5. The time now is 07:32 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2009 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38