diff options
-rw-r--r-- | fs/Kconfig | 25 | ||||
-rw-r--r-- | fs/sysfs/Kconfig | 23 |
2 files changed, 24 insertions, 24 deletions
diff --git a/fs/Kconfig b/fs/Kconfig index f746fd6cb728..e9103b9862b4 100644 --- a/fs/Kconfig +++ b/fs/Kconfig | |||
@@ -141,30 +141,7 @@ endif # BLOCK | |||
141 | menu "Pseudo filesystems" | 141 | menu "Pseudo filesystems" |
142 | 142 | ||
143 | source "fs/proc/Kconfig" | 143 | source "fs/proc/Kconfig" |
144 | 144 | source "fs/sysfs/Kconfig" | |
145 | config SYSFS | ||
146 | bool "sysfs file system support" if EMBEDDED | ||
147 | default y | ||
148 | help | ||
149 | The sysfs filesystem is a virtual filesystem that the kernel uses to | ||
150 | export internal kernel objects, their attributes, and their | ||
151 | relationships to one another. | ||
152 | |||
153 | Users can use sysfs to ascertain useful information about the running | ||
154 | kernel, such as the devices the kernel has discovered on each bus and | ||
155 | which driver each is bound to. sysfs can also be used to tune devices | ||
156 | and other kernel subsystems. | ||
157 | |||
158 | Some system agents rely on the information in sysfs to operate. | ||
159 | /sbin/hotplug uses device and object attributes in sysfs to assist in | ||
160 | delegating policy decisions, like persistently naming devices. | ||
161 | |||
162 | sysfs is currently used by the block subsystem to mount the root | ||
163 | partition. If sysfs is disabled you must specify the boot device on | ||
164 | the kernel boot command line via its major and minor numbers. For | ||
165 | example, "root=03:01" for /dev/hda1. | ||
166 | |||
167 | Designers of embedded systems may wish to say N here to conserve space. | ||
168 | 145 | ||
169 | config TMPFS | 146 | config TMPFS |
170 | bool "Virtual memory file system support (former shm fs)" | 147 | bool "Virtual memory file system support (former shm fs)" |
diff --git a/fs/sysfs/Kconfig b/fs/sysfs/Kconfig new file mode 100644 index 000000000000..f4b67588b9d6 --- /dev/null +++ b/fs/sysfs/Kconfig | |||
@@ -0,0 +1,23 @@ | |||
1 | config SYSFS | ||
2 | bool "sysfs file system support" if EMBEDDED | ||
3 | default y | ||
4 | help | ||
5 | The sysfs filesystem is a virtual filesystem that the kernel uses to | ||
6 | export internal kernel objects, their attributes, and their | ||
7 | relationships to one another. | ||
8 | |||
9 | Users can use sysfs to ascertain useful information about the running | ||
10 | kernel, such as the devices the kernel has discovered on each bus and | ||
11 | which driver each is bound to. sysfs can also be used to tune devices | ||
12 | and other kernel subsystems. | ||
13 | |||
14 | Some system agents rely on the information in sysfs to operate. | ||
15 | /sbin/hotplug uses device and object attributes in sysfs to assist in | ||
16 | delegating policy decisions, like persistently naming devices. | ||
17 | |||
18 | sysfs is currently used by the block subsystem to mount the root | ||
19 | partition. If sysfs is disabled you must specify the boot device on | ||
20 | the kernel boot command line via its major and minor numbers. For | ||
21 | example, "root=03:01" for /dev/hda1. | ||
22 | |||
23 | Designers of embedded systems may wish to say N here to conserve space. | ||