kconfig
来自「linux 内核源代码」· 代码 · 共 435 行 · 第 1/2 页
TXT
435 行
writing them to floppy. Furthermore, some Linux distributions avoid the need for a dedicated Linux partition by keeping their complete root file system inside a DOS FAT file using this loop device driver. To use the loop device, you need the losetup utility, found in the util-linux package, see <ftp://ftp.kernel.org/pub/linux/utils/util-linux/>. The loop device driver can also be used to "hide" a file system in a disk partition, floppy, or regular file, either using encryption (scrambling the data) or steganography (hiding the data in the low bits of, say, a sound file). This is also safe if the file resides on a remote file server. There are several ways of encrypting disks. Some of these require kernel patches. The vanilla kernel offers the cryptoloop option and a Device Mapper target (which is superior, as it supports all file systems). If you want to use the cryptoloop, say Y to both LOOP and CRYPTOLOOP, and make sure you have a recent (version 2.12 or later) version of util-linux. Additionally, be aware that the cryptoloop is not safe for storing journaled filesystems. Note that this loop device has nothing to do with the loopback device used for network connections from the machine to itself. To compile this driver as a module, choose M here: the module will be called loop. Most users will answer N here.config BLK_DEV_CRYPTOLOOP tristate "Cryptoloop Support" select CRYPTO select CRYPTO_CBC depends on BLK_DEV_LOOP ---help--- Say Y here if you want to be able to use the ciphers that are provided by the CryptoAPI as loop transformation. This might be used as hard disk encryption. WARNING: This device is not safe for journaled file systems like ext3 or Reiserfs. Please use the Device Mapper crypto module instead, which can be configured to be on-disk compatible with the cryptoloop device.config BLK_DEV_NBD tristate "Network block device support" depends on NET ---help--- Saying Y here will allow your computer to be a client for network block devices, i.e. it will be able to use block devices exported by servers (mount file systems on them etc.). Communication between client and server works over TCP/IP networking, but to the client program this is hidden: it looks like a regular local file access to a block device special file such as /dev/nd0. Network block devices also allows you to run a block-device in userland (making server and client physically the same computer, communicating using the loopback network device). Read <file:Documentation/nbd.txt> for more information, especially about where to find the server code, which runs in user space and does not need special kernel support. Note that this has nothing to do with the network file systems NFS or Coda; you can say N here even if you intend to use NFS or Coda. To compile this driver as a module, choose M here: the module will be called nbd. If unsure, say N.config BLK_DEV_SX8 tristate "Promise SATA SX8 support" depends on PCI ---help--- Saying Y or M here will enable support for the Promise SATA SX8 controllers. Use devices /dev/sx8/$N and /dev/sx8/$Np$M.config BLK_DEV_UB tristate "Low Performance USB Block driver" depends on USB help This driver supports certain USB attached storage devices such as flash keys. If you enable this driver, it is recommended to avoid conflicts with usb-storage by enabling USB_LIBUSUAL. If unsure, say N.config BLK_DEV_RAM tristate "RAM disk support" ---help--- Saying Y here will allow you to use a portion of your RAM memory as a block device, so that you can make file systems on it, read and write to it and do all the other things that you can do with normal block devices (such as hard drives). It is usually used to load and store a copy of a minimal root file system off of a floppy into RAM during the initial install of Linux. Note that the kernel command line option "ramdisk=XX" is now obsolete. For details, read <file:Documentation/ramdisk.txt>. To compile this driver as a module, choose M here: the module will be called rd. Most normal users won't need the RAM disk functionality, and can thus say N here.config BLK_DEV_RAM_COUNT int "Default number of RAM disks" default "16" depends on BLK_DEV_RAM help The default value is 16 RAM disks. Change this if you know what you are doing. If you boot from a filesystem that needs to be extracted in memory, you will need at least one RAM disk (e.g. root on cramfs).config BLK_DEV_RAM_SIZE int "Default RAM disk size (kbytes)" depends on BLK_DEV_RAM default "4096" help The default value is 4096 kilobytes. Only change this if you know what you are doing.config BLK_DEV_RAM_BLOCKSIZE int "Default RAM disk block size (bytes)" depends on BLK_DEV_RAM default "1024" help The default value is 1024 bytes. PAGE_SIZE is a much more efficient choice however. The default is kept to ensure initrd setups function - apparently needed by the rd_load_image routine that supposes the filesystem in the image uses a 1024 blocksize.config CDROM_PKTCDVD tristate "Packet writing on CD/DVD media" depends on !UML help If you have a CDROM/DVD drive that supports packet writing, say Y to include support. It should work with any MMC/Mt Fuji compliant ATAPI or SCSI drive, which is just about any newer DVD/CD writer. Currently only writing to CD-RW, DVD-RW, DVD+RW and DVDRAM discs is possible. DVD-RW disks must be in restricted overwrite mode. See the file <file:Documentation/cdrom/packet-writing.txt> for further information on the use of this driver. To compile this driver as a module, choose M here: the module will be called pktcdvd.config CDROM_PKTCDVD_BUFFERS int "Free buffers for data gathering" depends on CDROM_PKTCDVD default "8" help This controls the maximum number of active concurrent packets. More concurrent packets can increase write performance, but also require more memory. Each concurrent packet will require approximately 64Kb of non-swappable kernel memory, memory which will be allocated when a disc is opened for writing.config CDROM_PKTCDVD_WCACHE bool "Enable write caching (EXPERIMENTAL)" depends on CDROM_PKTCDVD && EXPERIMENTAL help If enabled, write caching will be set for the CD-R/W device. For now this option is dangerous unless the CD-RW media is known good, as we don't do deferred write error handling yet.config ATA_OVER_ETH tristate "ATA over Ethernet support" depends on NET help This driver provides Support for ATA over Ethernet block devices like the Coraid EtherDrive (R) Storage Blade.config SUNVDC tristate "Sun Virtual Disk Client support" depends on SUN_LDOMS help Support for virtual disk devices as a client under Sun Logical Domains.source "drivers/s390/block/Kconfig"config XILINX_SYSACE tristate "Xilinx SystemACE support" depends on 4xx help Include support for the Xilinx SystemACE CompactFlash interfaceconfig XEN_BLKDEV_FRONTEND tristate "Xen virtual block device support" depends on XEN default y help This driver implements the front-end of the Xen virtual block device driver. It communicates with a back-end driver in another domain which drives the actual block device.config VIRTIO_BLK tristate "Virtio block driver (EXPERIMENTAL)" depends on EXPERIMENTAL && VIRTIO ---help--- This is the virtual block driver for lguest. Say Y or M.endif # BLK_DEV
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?