Re: regarding disable of CONFIG_DEBUG_FS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Fri, Sep 30, 2011 at 11:02 AM, Vladimir Murzin <murzin.v@xxxxxxxxx> wrote:
On Tue, Sep 20, 2011 at 8:57 AM, Amit Nagal <helloin.amit@xxxxxxxxx> wrote:
> On Tue, Sep 20, 2011 at 10:21 AM, rohan puri <rohan.puri15@xxxxxxxxx> wrote:
>>
>>
>> On Tue, Sep 20, 2011 at 10:09 AM, Amit Nagal <helloin.amit@xxxxxxxxx> wrote:
>>>
>>> Hi ,
>>>
>>> i already tried manual editing .
>>> but when i call make to build image after manual edit ,
>>> CONFIG_DEBUG_FS is turned on again .
>>>
>>> i tried manual editing in linux - x86 PC   also .
>>> i manually edited arch/x86/configs/i386_defconfig file to disable
>>> CONFIG_DEBUG_FS ,
>>> but when i call make to build image , CONFIG_DEBUG_FS is turned on again .
>>> >
>>
>> Ok. You can try commenting the CONFIG_DEBUG_FS from the Makefile of the
>> relevant kernel source which your module is interacting with.
>>
>
> Well  i am doing the same for time being for my testing . but its not
> the right way to do and can't be adopted .
>
> Regards
> Amit Nagal
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@xxxxxxxxxxxxxxxxx
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>

Hi!

It's not clear why you can't disable CONFIG_DEBUG_FS via "make
menuconfig" or stuff like this?
This option is located under Kernel Haking -> Debuging Filesystems.
I've attached the diff of .config for this option.

Best wishes,
Vladimir Murzin

Hi Vladimir,

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.

Regards,
Rohan Puri
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux