summaryrefslogtreecommitdiffstats
path: root/doc/filesystem/init.t
blob: 68d58ff7837d2cff1e7b7f345b9b1fcb9d3323a4 (plain) (blame)
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
@c
@c  COPYRIGHT (c) 1988-1998.
@c  On-Line Applications Research Corporation (OAR).
@c  All rights reserved.
@c
@c  $Id$
@c

@chapter System Initialization

After the RTEMS initialization is performed, the application's
initialization will be performed. Part of initialization is a call to
rtems_filesystem_initialize(). This routine will mount the `In Memory File
System' as the base file system.  Mounting the base file system consists
of the following:

@itemize @bullet

@item Initialization of mount table chain control structure

@item Allocation of a -jnode- structure that will server as the root node
of the `In Memory File System'

@item Initialization of the allocated -jnode- with the appropriate OPS,
directory handlers and pathconf limits and options.

@item Allocation of a memory region for file system specific global
management variables

@item Creation of first mount table entry for the base file system

@item Initialization of the first mount table chain entry to indicate that
the mount point is NULL and the mounted file system is the base file
system

@end itemize


After the base file system has been mounted, the following operations are
performed under its directory structure:

@itemize @bullet

@item Creation of the /dev directory

@item Registration of devices under /dev directory

@end itemize