LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-01-2004, 04:44 PM   #1
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
Module or embed?


What're the advantages of compiling drivers in as modules over just plopping them into the kernel? I'm just curious, mostly because I'd think that it would be best to just have what you need embedded, and not have any modules, since I have bad luck with modules, for some odd reason.
 
Old 01-01-2004, 04:51 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
I tend to use modules on components that I might end up swapping out most likely, hardware failure, etc. Most of the time I will always make my NIC and Soundcard loaded as modules and at times will throw in a few other supported that I have spare parts as just in case I swap out, etc. Makes things easier for me to load or unload modules.

Cheers.
 
Old 01-01-2004, 05:14 PM   #3
poison
Member
 
Registered: Dec 2003
Location: Layer 7 =D
Distribution: Slackware, LFS, Rock Linux
Posts: 165

Rep: Reputation: 30
hmmm...
when you "embed" the support, you're kernel gets bigger, thus slower...but not slower than when this supporting module is loaded...
you usually use modules for hardware that you only need in very rare ocasions, but you know you're going to need it someday...thus your kernel isn't cluttered with support for that hardware all the time and you can load the module when you need it...
otherwise...just 'plop' them in the kernel ^^
just a note: you're machine isn't going to be faster because you compile everything as a module. in fact it will boot slower and run a little slower...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Embed X... okeyla Linux - Software 3 09-02-2005 03:34 PM
C/Perl embed : Libperl.so not found :( dicou Programming 0 04-19-2005 03:38 AM
how to embed realplayer10gold on my webpage felnlily Linux - Software 0 02-16-2005 02:18 AM
embed perl into c walkinmud Programming 1 02-05-2004 02:13 AM
Embed Console elist Linux - General 2 01-11-2002 06:57 PM


All times are GMT -5. The time now is 12:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration