The kernel stores all of its modules in
/lib/modules/KERNEL_VERSION/

Where KERNEL_VERSION is usually be found by the command "uname -r". Here's
a tip:

$ cd /lib/modules/`uname -r`  # cd's into the modules for current kernel

That's basically how it seperates though. So theoretically if you install
2.4.20-gentoo-r5 twice your sharing the same physical space.

depmod is one of the many commands that are used to manage these modules
and its dependencies.

Hope this helps!

~Mike

On Fri, 13 Jun 2003, Richard Revis wrote:

> Date: Fri, 13 Jun 2003 23:03:51 +0100
> From: Richard Revis <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: [gentoo-user] Re: new kernel
>
> On Fri, 13 Jun 2003 14:57:12 -0700, Alan wrote:
>
> >> If I update that package... do I need to rebuild the kernel or can I
> >> just ignore this update?
> >
> > Well, if you want the new kernel you'll have to rebuild :)  If you don't
> > care about .21 you can ignore.
>
> Do you have to move the /usr/src/linux symlink?
>
> How exactly does a kernel find it's modules? (Say as opposed to the
> modules you compiled for 1.4.20) - what does Linux do to keep things
> seperate?
>
> --
> The optimist proclaims that we live in the best of all possible worlds.
> The pessimist fears this is true.
> 23:02:55 up 28 days,  9:17,  1 user,  load average: 0.81, 0.73, 0.56
> E-mail address munged to prevent spam.
>
>
>
> --
> [EMAIL PROTECTED] mailing list
>

-><-

"And don't tell me there isn't one bit of difference between null and
space, because that's exactly how much difference there is. :-)"
--Larry Wall in <[EMAIL PROTECTED]>

SDF Public Access UNIX System - http://sdf.lonestar.org


--
[EMAIL PROTECTED] mailing list

Reply via email to