1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/*
* linux/fs/filesystems.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*
* table of configured filesystems
*/
#include <linux/config.h>
#include <linux/fs.h>
#ifdef CONFIG_MINIX_FS
#include <linux/minix_fs.h>
#endif
#ifdef CONFIG_XIA_FS
#include <linux/xia_fs.h>
#endif
#ifdef CONFIG_PROC_FS
#include <linux/proc_fs.h>
#endif
#ifdef CONFIG_EXT2_FS
#include <linux/ext2_fs.h>
#endif
#ifdef CONFIG_EXT_FS
#include <linux/ext_fs.h>
#endif
#ifdef CONFIG_MSDOS_FS
#include <linux/msdos_fs.h>
#endif
#ifdef CONFIG_NFS_FS
#include <linux/nfs_fs.h>
#endif
#ifdef CONFIG_ISO9660_FS
#include <linux/iso_fs.h>
#endif
#ifdef CONFIG_HPFS_FS
#include <linux/hpfs_fs.h>
#endif
#ifdef CONFIG_SYSV_FS
#include <linux/sysv_fs.h>
#endif
struct file_system_type file_systems[] = {
#ifdef CONFIG_MINIX_FS
{minix_read_super, "minix", 1},
#endif
#ifdef CONFIG_EXT_FS
{ext_read_super, "ext", 1},
#endif
#ifdef CONFIG_EXT2_FS
{ext2_read_super, "ext2", 1},
#endif
#ifdef CONFIG_XIA_FS
{xiafs_read_super, "xiafs", 1},
#endif
#ifdef CONFIG_MSDOS_FS
{msdos_read_super, "msdos", 1},
#endif
#ifdef CONFIG_PROC_FS
{proc_read_super, "proc", 0},
#endif
#ifdef CONFIG_NFS_FS
{nfs_read_super, "nfs", 0},
#endif
#ifdef CONFIG_ISO9660_FS
{isofs_read_super, "iso9660", 1},
#endif
#ifdef CONFIG_SYSV_FS
{sysv_read_super, "xenix", 1},
{sysv_read_super, "sysv", 1},
{sysv_read_super, "coherent", 1},
#endif
#ifdef CONFIG_HPFS_FS
{hpfs_read_super, "hpfs", 1},
#endif
{NULL, NULL, 0}
};