<br><br><div class="gmail_quote">On Fri, Sep 30, 2011 at 11:02 AM, Vladimir Murzin <span dir="ltr"><<a href="mailto:murzin.v@gmail.com">murzin.v@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On Tue, Sep 20, 2011 at 8:57 AM, Amit Nagal <<a href="mailto:helloin.amit@gmail.com">helloin.amit@gmail.com</a>> wrote:<br>
> On Tue, Sep 20, 2011 at 10:21 AM, rohan puri <<a href="mailto:rohan.puri15@gmail.com">rohan.puri15@gmail.com</a>> wrote:<br>
>><br>
>><br>
>> On Tue, Sep 20, 2011 at 10:09 AM, Amit Nagal <<a href="mailto:helloin.amit@gmail.com">helloin.amit@gmail.com</a>> wrote:<br>
>>><br>
>>> Hi ,<br>
>>><br>
>>> i already tried manual editing .<br>
>>> but when i call make to build image after manual edit ,<br>
>>> CONFIG_DEBUG_FS is turned on again .<br>
>>><br>
>>> i tried manual editing in linux - x86 PC also .<br>
>>> i manually edited arch/x86/configs/i386_defconfig file to disable<br>
>>> CONFIG_DEBUG_FS ,<br>
>>> but when i call make to build image , CONFIG_DEBUG_FS is turned on again .<br>
>>> ><br>
>><br>
>> Ok. You can try commenting the CONFIG_DEBUG_FS from the Makefile of the<br>
>> relevant kernel source which your module is interacting with.<br>
>><br>
><br>
> Well i am doing the same for time being for my testing . but its not<br>
> the right way to do and can't be adopted .<br>
><br>
> Regards<br>
> Amit Nagal<br>
><br>
> _______________________________________________<br>
> Kernelnewbies mailing list<br>
> <a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
> <a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
><br>
<br>
Hi!<br>
<br>
It's not clear why you can't disable CONFIG_DEBUG_FS via "make<br>
menuconfig" or stuff like this?<br>
This option is located under Kernel Haking -> Debuging Filesystems.<br>
I've attached the diff of .config for this option.<br>
<br>
Best wishes,<br>
<font color="#888888">Vladimir Murzin<br>
</font></blockquote></div><br>Hi Vladimir,<br><br>AFAIK, the reason why one cant disable debugfs from make menuconfig and other similar ways to make changes to config file, is that debugfs is being used by many kernel code which are in-built in the kernel and not as a module. Hence i think because of this it is kept tightly coupled with the kernel.<br>
<br>Regards,<br>Rohan Puri<br>