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 -- 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