On 5 February 2011 14:50, Roberto Spadim <roberto@xxxxxxxxxxxxx> wrote: > what diference between raid1.ko, and raid1.o ? > sorry i'm new to kernel modules > > 2011/2/5 Roberto Spadim <roberto@xxxxxxxxxxxxx>: >> nice thanks neil >> >> 2011/2/5 NeilBrown <neilb@xxxxxxx>: >>> On Sat, 5 Feb 2011 02:12:37 -0200 Roberto Spadim <roberto@xxxxxxxxxxxxx> >>> wrote: >>> >>>> hi, how could i compile raid1.c? >>>> >>>> i have kernel headers, kernel source, kernel binary >>>> all my md (raid1,raid5,raid0,all md options on make menuconfig) are modules >>>> >>>> could i just goto md directory and >>>> gcc raid1.c >>>> ? >>>> >>> >>> ÂFrom the top level in the kernel tree run >>> >>> Âmake drivers/md/raid1.o >>> >>> Âor >>> Âmake drivers/md/raid1.ko >>> >>> Âto get a kernel module that you can load (if you are running a compatible >>> Âkernel). >>> >>> NeilBrown >>> -- >>> To unsubscribe from this list: send the line "unsubscribe linux-raid" in >>> the body of a message to majordomo@xxxxxxxxxxxxxxx >>> More majordomo info at Âhttp://vger.kernel.org/majordomo-info.html >>> >> >> >> >> -- >> Roberto Spadim >> Spadim Technology / SPAEmpresarial >> > > > > -- > Roberto Spadim > Spadim Technology / SPAEmpresarial > -- > To unsubscribe from this list: send the line "unsubscribe linux-raid" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at Âhttp://vger.kernel.org/majordomo-info.html > http://tinyurl.com/5tyg7b3 . // Mathias -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html