Linux kernel build Options File system

Source: Internet
Author: User

File system as a module of the operating system, the kernel needs to be configured to use; The kernel provides configuration features for file system feature options

Kernel configuration
Make Arch=arm Menuconfig

Configuration of File system options
File Systems--->

How to build:
Built-in Build: [*] <*>---> Increase kernel image file size
Module Build: < > <M>---> Provides flexibility for dynamic load removal

Embedded Configuration principles:
1. File system is built primarily

2. Generally do not select experimental modules or features (product application)

3. Use the default configuration for indeterminate options

4. Select the appropriate file system according to business requirements

File system Options Description:

First, file system public options: Fs/kconfig
Config_fs_posix_acl (ACL control)
Config_file_locking (NFS Network File system, flock system call)

[Notify]
Config_fsnotify
CONFIG_DNOTIFY (Notification mechanism for directory-based file changes)
Config_inotify_user (alternative to Dnotify)
Config_fanotify
Config_fanotify_access_permissions

[Quota:ext2,ext3,reiserfs]
Config_quota
Config_quota_netlink_interface
Config_print_quota_warning
Config_quota_debug
Config_quota_tree
Config_qfmt_v1
Config_qfmt_v2
Config_quotactl
Config_quotactl_compat

[AUTOFS4: Similar to a network drive on Windows]
Config_autofs4_fs

[FUSE]
Config_fuse_fs
Config_cuse (FUSE extension)

[Caches]
Config_fscache
Config_fscache_xxx
Config_cachefiles
Config_cachefiles_xxx

[Partition Types]
config_partition_advanced (hard disks)

[Nls:native Language Support]
Config_nls
Config_nls_default
Config_nls_codepage_xxx (cp936,gb2312)
Config_nls_iso8859_xxx

[Dlm:distributed Lock Manager]
CONFIG_DLM (Universal locking support for a wide range of Distributed file systems)


Second, specific file system features options:
Config_ext2_xxx
Config_ext3_xxx
Config_ext4_xxx

Config_reiserfs_xxx
Config_btrfs_xxx
Config_jfs_xxx

......

Config_udf_xxx

[Windows FS]
CONFIG_FAT_FS (base functions to support Ms-dos/vfat)
CONFIG_VFAT_FS (Windows 95,fat32)
Config_msdos_fs
Config_fat_default_codepage
Config_fat_default_iocharset (vfat use, "UTF8" isn't recommened here)
Config_ntfs_xxx

Config_proc_xxx
Config_tmpfs_xxx
Config_sysfs

.......

[Misc FS]
Config_yaffs2_xxx
Yaffs_yaffs1:512b/page
YAFFS_DOES_ECC:FS ECC or Mtd-nand ECC
YAFFS_YAFFS2: >=2k bytes/page
Yaffs_auto_yaffs2
Yaffs_always_check_chunk_erased
Yaffs_empty_lost_and_found
Yaffs_disable_block_refreshing (useful for MLC)
Yaffs_disable_background
Yaffs_xattr

Config_jffs2_xxx
Jffs2_fs_debug
Jffs2_fs_writebuffer
Jffs2_fs_wbuf_verify
Jffs2_summary (experimental:sumtool,for faster Mount)
Jffs2_fs_xattr (experimental)
Jffs2_fs_posix_acl (xattr)
Jffs2_fs_security (xattr)
Jffs2_compression_options:zlib,lzo,rtime,rubin
Jffs2_cmode_none
Jffs2_cmode_priority (first successful one)
Jffs2_cmode_size (smallest SIZE one)
Jffs2_cmode_favourlzo (smallest, but lzo favour)

Config_cramfs

Config_squashfs_xxx
Squashfs_xattr
Squashfs_lzo (aimed at embedded systems with slower CPUs)
Squashfs_xz
squashfs_embedded
Squashfs_fragment_cache_size (default:the last 3 fragments)

Config_ubifs_xxx
Config_logfs_xxx
......

[Network FS]
CONFIG_NFS_XXX (client)
Nfs_common
Nfs_acl_support
Version:v3 V4
Root_nfs
Nfs_fscache
Nfs_use_legacy_dns/nfs_use_kernel_dns
Config_nfsd_xxx
Config_sunrpc_xxx
Config_cifs_xxx (Samba)

Linux kernel build Options File system

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.