summaryrefslogtreecommitdiffstats
path: root/doc/filesystem/init.t
blob: 088db2aa7fc99080d32e58b583e960177fb4a3ea (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
@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:

? Initialization of mount table chain control structure 
? Allocation of a -jnode- structure that will server as the root node of the `In Memory 
File System'
? Initialization of the allocated -jnode- with the appropriate OPS, directory handlers 
and pathconf limits and options.
? Allocation of a memory region for file system specific global management variables
? Creation of first mount table entry for the base file system 
? 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


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

? Creation of the /dev directory
? Registration of devices under /dev directory