Linux . , exec.
Linux ELF-, a.out .
; , .
ELF (Executable and Linkage Format) , ; ELF - .
ELF Linux 1.
1. ELF Linux | |
.text | |
. fixup | |
.init.text | |
exit.text | |
.rodata.etrl.l | |
.modinf | |
_versions | |
.data | |
. bss | |
other |
ELF - Linux .2.
. 2. ELF-.
. , , .
, .
, , .
Linux
Linux , UNIX.
, , (VFS).
Linux VFS - , . inode-object file-object . file system object . .
Ext2fs Linux. , UNIX BSD Fast File System (ffs) , .
ext2fs ffs .
ffs , 8Kb, 1Kb .
|
|
Ext2fs ; . ext2fs -1Kb, 2Kb 4Kb .
Ext2fs , , - .
Ext2fs 2.
2. Ext2fs Linux |
(Superblock) |
(Group Descriptors) |
(Block Bitmap) |
(Inode Bitmap) |
(Inode Table) |
(Data) |
Ext2fs. ext2fs . , :
inode
inode
inode, .
, , - . 1, . , , . Linux, inode, , inode , inode , , .
, , .
Ext2fs. . , .
ext2 . 15 , 4 .
12 , . 12 , 13- , .
, 13- . , 4096 , 13- 1024 . 12+1024 , 14- , , 1024 , 1024 . . , , 12+1024+1048576 = 1049612 , 15- .
, , 4 2 .
Ext2fs .3.
. 3. Ext2fs.
Ext2fs . 4.
|
|
. 4. Ext2fs.
Linux Proc. proc ; , , -.
proc , ; inode , . inode , , inode inode .
, proc , .
Linux
Linux, , :
, ;
, .
Linux :
.
; .
.
Linux . 5.
. 5. .
. :
-
-.
.
. .
, -.
, .
, (TTY); .