FILESYSTEMS
Section: Kernel Reference Guide (9)
Updated: July 12, 1993
Index
Return to Main Contents
NAME
filesystems - details the table of configured file systems
SYNOPSIS
linux/fs/filesystems.c
From #include <linux/fs.h>
struct file_system_type {
struct super_block *(*read_super) (struct super_block *, void *, int);
char *name;
int requires_dev;
};
DESCRIPTION
This source code makes a data structure call file_systems[] which
contain all the configured filesystems for the kernel. It is used primarily
in linux/fs/super.c for many of the mounting of filesystems functions.
The meanings
This first member, in struct file_system_type, is a function pointer to
a routine that will read in the super_block. A super_block generically
means an i-node or special place on the device where information about
the overall filesystem in stored.
The name is just the string representation of the name of a
specific filesystem, e.g. "ext2" or "minix".
The final member, int requires_dev, is a boolean value. If it is
true then the filesystem requires a block device (?). For false, it
is unclear what happens but an unnamed device is used, e.g. proc and
nfs is this way.
AUTHOR
Linus Torvalds
SEE ALSO
Fill in later.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- The meanings
-
- AUTHOR
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 12:22:41 GMT, March 22, 2025