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


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