Skip to content

Commit

Permalink
fs/Kconfig: move sysfs out
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Dobriyan <[email protected]>
  • Loading branch information
Alexey Dobriyan committed Jan 22, 2009
1 parent 9d73ac9 commit 5f3a211
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
25 changes: 1 addition & 24 deletions fs/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -141,30 +141,7 @@ endif # BLOCK
menu "Pseudo filesystems"

source "fs/proc/Kconfig"

config SYSFS
bool "sysfs file system support" if EMBEDDED
default y
help
The sysfs filesystem is a virtual filesystem that the kernel uses to
export internal kernel objects, their attributes, and their
relationships to one another.

Users can use sysfs to ascertain useful information about the running
kernel, such as the devices the kernel has discovered on each bus and
which driver each is bound to. sysfs can also be used to tune devices
and other kernel subsystems.

Some system agents rely on the information in sysfs to operate.
/sbin/hotplug uses device and object attributes in sysfs to assist in
delegating policy decisions, like persistently naming devices.

sysfs is currently used by the block subsystem to mount the root
partition. If sysfs is disabled you must specify the boot device on
the kernel boot command line via its major and minor numbers. For
example, "root=03:01" for /dev/hda1.

Designers of embedded systems may wish to say N here to conserve space.
source "fs/sysfs/Kconfig"

config TMPFS
bool "Virtual memory file system support (former shm fs)"
Expand Down
23 changes: 23 additions & 0 deletions fs/sysfs/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
config SYSFS
bool "sysfs file system support" if EMBEDDED
default y
help
The sysfs filesystem is a virtual filesystem that the kernel uses to
export internal kernel objects, their attributes, and their
relationships to one another.

Users can use sysfs to ascertain useful information about the running
kernel, such as the devices the kernel has discovered on each bus and
which driver each is bound to. sysfs can also be used to tune devices
and other kernel subsystems.

Some system agents rely on the information in sysfs to operate.
/sbin/hotplug uses device and object attributes in sysfs to assist in
delegating policy decisions, like persistently naming devices.

sysfs is currently used by the block subsystem to mount the root
partition. If sysfs is disabled you must specify the boot device on
the kernel boot command line via its major and minor numbers. For
example, "root=03:01" for /dev/hda1.

Designers of embedded systems may wish to say N here to conserve space.

0 comments on commit 5f3a211

Please sign in to comment.