# SPDX-License-Identifier: GPL-2.0-only config [31mCONFIG_ROMFS_FS[0m tristate "ROM file system support" depends on [31mCONFIG_BLOCK[0m || [31mCONFIG_MTD[0m ---help--- This is a very small read-only file system mainly intended for initial ram disks of installation disks, but it could be used for other read-only media as well. Read <file:Documentation/filesystems/romfs.txt> for details. To compile this file system support as a module, choose [31mCONFIG_M[0m here: the module will be called romfs. Note that the file system of your root partition (the one containing the directory /) cannot be a module. If you don't know whether you need it, then you don't need it: answer N. # # Select the backing stores to be supported # choice prompt "RomFS backing stores" depends on [31mCONFIG_ROMFS_FS[0m default [31mCONFIG_ROMFS_BACKED_BY_BLOCK[0m help Select the backing stores to be supported. config [31mCONFIG_ROMFS_BACKED_BY_BLOCK[0m bool "Block device-backed ROM file system support" depends on [31mCONFIG_BLOCK[0m help This permits ROMFS to use block devices buffered through the page cache as the medium from which to retrieve data. It does not allow direct mapping of the medium. If unsure, answer Y. config [31mCONFIG_ROMFS_BACKED_BY_MTD[0m bool "MTD-backed ROM file system support" depends on [31mCONFIG_MTD[0m=y || ([31mCONFIG_ROMFS_FS[0m=m && [31mCONFIG_MTD[0m) help This permits ROMFS to use [31mCONFIG_MTD[0m based devices directly, without the intercession of the block layer (which may have been disabled). It also allows direct mapping of [31mCONFIG_MTD[0m devices through romfs files under NOMMU conditions if the underlying device is directly addressable by the CPU. If unsure, answer Y. config [31mCONFIG_ROMFS_BACKED_BY_BOTH[0m bool "Both the above" depends on [31mCONFIG_BLOCK[0m && ([31mCONFIG_MTD[0m=y || ([31mCONFIG_ROMFS_FS[0m=m && [31mCONFIG_MTD[0m)) endchoice config [31mCONFIG_ROMFS_ON_BLOCK[0m bool default y if [31mCONFIG_ROMFS_BACKED_BY_BLOCK[0m || [31mCONFIG_ROMFS_BACKED_BY_BOTH[0m config [31mCONFIG_ROMFS_ON_MTD[0m bool default y if [31mCONFIG_ROMFS_BACKED_BY_MTD[0m || [31mCONFIG_ROMFS_BACKED_BY_BOTH[0m |