Messages in this thread | | | Date | Sat, 1 Aug 2009 02:14:47 -0700 (PDT) | From | Christian Kujau <> | Subject | Re: [PATCH] documentation: make it clear that sysfs is optional |
| |
On Mon, 27 Jul 2009 at 09:26, Greg KH wrote: > Probably the same reason /proc is configurable. No one ever turns it > off, but hey, it's possible :)
Hm, it seems as we cannot turn off PROC_FS or SYSFS any more. At least on my system a "make allnoconfig" still selects both. While PROC_FS still shows up under Filesystems->Pseudo-Filesystem (but cannot be turned off), I don't see a menuconfig knob to turn off SYSFS. However, "make allnoconfig" still selects quite a few options anyway:
# uname -m x86_64 # make allnoconfig # grep -c =y .config 175
(manually editing .config gets reverted on another "make config").
So, it loks like SYSFS is just one of the things needed to build a kernel, along with the ~170 other things, at least on x86_64. Is this "make it clear that sysfs is optional" patch still valid? :-)
Christian.
sid$ find . -name Kconfig | xargs grep SYSFS | egrep -v 'drivers/|fs/|net/' ./arch/arm/mach-pxa/Kconfig: select GPIO_SYSFS ./arch/powerpc/kvm/Kconfig: depends on KVM && MARKERS && SYSFS ./arch/x86/kvm/Kconfig: depends on KVM && SYSFS ./init/Kconfig:config SYSFS_DEPRECATED ./init/Kconfig:config SYSFS_DEPRECATED_V2 ./init/Kconfig: depends on SYSFS ./init/Kconfig: select SYSFS_DEPRECATED ./init/Kconfig: depends on SLUB && SYSFS ./kernel/trace/Kconfig: depends on SYSFS ./security/Kconfig: depends on SYSFS
-- BOFH excuse #228:
That function is not currently supported, but Bill Gates assures us it will be featured in the next upgrade.
| |