On Wed, Aug 24, 2011 at 5:36 AM, Valerio Pachera <[email protected]> wrote: > 2011/8/24 Paul Clements <[email protected]>: >> If you need any pointers, I can help. Compiling just nbd.ko is not too bad. > > Thank you, help would be appreciated :-) > I already know how to compile a kernel but I never tried to compile a > single module. > > These are the steps. Correct me if I'm worng: > > Download my debian kernel sources. > Find the file. > Apply the changes. > Compile the module (how?) > Load the module > Test nbd-client > > Googeling I found this: > http://www.linuxquestions.org/questions/linux-software-2/compiling-single-kernel-module-only-409523/ > > make modules SUBDIRS=drivers/the_module_directory > in our case > make modules SUBDIRS=drivers/block > > Then I manualy remove > /lib/modules/2.6.32-5-amd64/kernel/drivers/block/nbd.ko > anc copy the new nbd.ko > > right? > > ps: in that way I copile all modules of a directory, not just one.
Yes, that's right. There's not much in block/, so it's pretty quick. -- Paul ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Nbd-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nbd-general
