Re: Moving F7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



William Case wrote:

>> If you look in /lib/modules/<kernel>/ you will find a collection of
>> modules. You have to copy those as well as the kernel and initrd
>> if you want the kernel to work on your new disk.
>> 
>> A modules is essentially a piece of kernel code
>> which has been hived off, and is only loaded if required.
>> This allows the kernel to remain reasonably small.
>> 
> 
> At the risk of making people testy, this is the easy part.  There is
> lots of stuff about how modules save memory.  There is lots of
> information about how they are used in initrd.
> 
> I looked at them in /lib/modules/<kernel>/* (various and random files)
> they *seem* to give addresses.  Is that what a module does?  Load
> addresses for devices and/or device drivers so that the kernel can find
> them.

No, I don't think so.
The modules proper are the files with extension .ko .
They are just pieces of compiled C code.

There is a big overlap between modules and drivers, 
but they are not the same.
The term driver is usually applied to code controlling hardware devices,
while modules may do other things, eg encryption.
Also a driver might be a kernel module,
or it might be in the kernel proper,
or it might be completely outside the kernel, in "userland".



-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux