<br><br><div class="gmail_quote">On Fri, Sep 30, 2011 at 11:02 AM, Vladimir Murzin <span dir="ltr">&lt;<a href="mailto:murzin.v@gmail.com">murzin.v@gmail.com</a>&gt;</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 &lt;<a href="mailto:helloin.amit@gmail.com">helloin.amit@gmail.com</a>&gt; wrote:<br>
&gt; On Tue, Sep 20, 2011 at 10:21 AM, rohan puri &lt;<a href="mailto:rohan.puri15@gmail.com">rohan.puri15@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Sep 20, 2011 at 10:09 AM, Amit Nagal &lt;<a href="mailto:helloin.amit@gmail.com">helloin.amit@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hi ,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; i already tried manual editing .<br>
&gt;&gt;&gt; but when i call make to build image after manual edit ,<br>
&gt;&gt;&gt; CONFIG_DEBUG_FS is turned on again .<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; i tried manual editing in linux - x86 PC   also .<br>
&gt;&gt;&gt; i manually edited arch/x86/configs/i386_defconfig file to disable<br>
&gt;&gt;&gt; CONFIG_DEBUG_FS ,<br>
&gt;&gt;&gt; but when i call make to build image , CONFIG_DEBUG_FS is turned on again .<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt; Ok. You can try commenting the CONFIG_DEBUG_FS from the Makefile of the<br>
&gt;&gt; relevant kernel source which your module is interacting with.<br>
&gt;&gt;<br>
&gt;<br>
&gt; Well  i am doing the same for time being for my testing . but its not<br>
&gt; the right way to do and can&#39;t be adopted .<br>
&gt;<br>
&gt; Regards<br>
&gt; Amit Nagal<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Kernelnewbies mailing list<br>
&gt; <a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
&gt; <a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
&gt;<br>
<br>
Hi!<br>
<br>
It&#39;s not clear why you can&#39;t disable CONFIG_DEBUG_FS via &quot;make<br>
menuconfig&quot; or stuff like this?<br>
This option is located under Kernel Haking -&gt; Debuging Filesystems.<br>
I&#39;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>