xref: /linux/fs/ext2/Kconfig (revision 1e525507)
1# SPDX-License-Identifier: GPL-2.0-only
2config EXT2_FS
3	tristate "Second extended fs support (DEPRECATED)"
4	select BUFFER_HEAD
5	select FS_IOMAP
6	select LEGACY_DIRECT_IO
7	help
8	  Ext2 is a standard Linux file system for hard disks.
9
10	  This filesystem driver is deprecated because it does not properly
11	  support inode time stamps beyond 03:14:07 UTC on 19 January 2038.
12
13	  Ext2 users are advised to use ext4 driver to access their filesystem.
14	  The driver is fully compatible, supports filesystems without journal
15          or extents, and also supports larger time stamps if the filesystem
16          is created with at least 256 byte inodes.
17
18	  This code is kept as a simple reference for filesystem developers.
19
20	  If unsure, say N.
21
22config EXT2_FS_XATTR
23	bool "Ext2 extended attributes"
24	depends on EXT2_FS
25	help
26	  Extended attributes are name:value pairs associated with inodes by
27	  the kernel or by users (see the attr(5) manual page for details).
28
29	  If unsure, say N.
30
31config EXT2_FS_POSIX_ACL
32	bool "Ext2 POSIX Access Control Lists"
33	depends on EXT2_FS_XATTR
34	select FS_POSIX_ACL
35	help
36	  Posix Access Control Lists (ACLs) support permissions for users and
37	  groups beyond the owner/group/world scheme.
38
39	  If you don't know what Access Control Lists are, say N
40
41config EXT2_FS_SECURITY
42	bool "Ext2 Security Labels"
43	depends on EXT2_FS_XATTR
44	help
45	  Security labels support alternative access control models
46	  implemented by security modules like SELinux.  This option
47	  enables an extended attribute handler for file security
48	  labels in the ext2 filesystem.
49
50	  If you are not using a security module that requires using
51	  extended attributes for file security labels, say N.
52