ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / arch / um / Kconfig_block
1
2 menu "Block Devices"
3
4 config BLK_DEV_UBD
5         bool "Virtual block device"
6         help
7         The User-Mode Linux port includes a driver called UBD which will let
8         you access arbitrary files on the host computer as block devices.
9         Unless you know that you do not need such virtual block devices say
10         Y here.
11
12 config BLK_DEV_UBD_SYNC
13         bool "Always do synchronous disk IO for UBD"
14         depends on BLK_DEV_UBD
15         help
16         Writes to the virtual block device are not immediately written to the 
17         host's disk; this may cause problems if, for example, the 
18         User-Mode Linux 'Virtual Machine' uses a journalling filesystem and 
19         the host computer crashes.
20
21         Synchronous operation (i.e. always writing data to the host's disk
22         immediately) is configurable on a per-UBD basis by using a special
23         kernel command line option.  Alternatively, you can say Y here to
24         turn on synchronous operation by default for all block devices.
25
26         If you're running a journalling file system (like reiserfs, for
27         example) in your virtual machine, you will want to say Y here.  If
28         you care for the safety of the data in your virtual machine, Y is a
29         wise choice too.  In all other cases (for example, if you're just
30         playing around with User-Mode Linux) you can choose N.
31
32 config BLK_DEV_LOOP
33         tristate "Loopback device support"
34
35 config BLK_DEV_NBD
36         tristate "Network block device support"
37         depends on NET
38
39 config BLK_DEV_RAM
40         tristate "RAM disk support"
41
42 config BLK_DEV_RAM_SIZE
43         int "Default RAM disk size"
44         depends on BLK_DEV_RAM
45         default "4096"
46
47 config BLK_DEV_INITRD
48         bool "Initial RAM disk (initrd) support"
49         depends on BLK_DEV_RAM=y
50
51 config MMAPPER
52         tristate "Example IO memory driver"
53         help
54         The User-Mode Linux port can provide support for IO Memory
55         emulation with this option.  This allows a host file to be
56         specified as an I/O region on the kernel command line. That file
57         will be mapped into UML's kernel address space where a driver can
58         locate it and do whatever it wants with the memory, including
59         providing an interface to it for UML processes to use.
60
61         For more information, see
62         <http://user-mode-linux.sourceforge.net/iomem.html>.
63
64         If you'd like to be able to provide a simulated IO port space for
65         User-Mode Linux processes, say Y.  If unsure, say N.
66
67 endmenu
68