another question, i just founded sysfs todo, for proc fs have a lot of examples any example for (how to code) sysfs? thanks 2011/2/5 Roberto Spadim <roberto@xxxxxxxxxxxxx>: > ehehehehehe thanks! > > 2011/2/5 Mathias Burén <mathias.buren@xxxxxxxxx>: >> 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 >> > > > > -- > 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