linux 0.0.1
来源:互联网 发布:Linux下ifconfig 编辑:程序博客网 时间:2024/06/06 07:51
linux-0.01
(2013-12-31 22:45:54)转载▼
标签:
linux
kernel
Linux内核始于0.0.1, 代码行数分布如下:
wc -l `find -type f` | sort -n | nl (序号 文件行数文件名)
1 1 ./lib/errno.c
2 3 ./fs/file_table.c
3 4 ./lib/close.c
4 4 ./lib/dup.c
5 4 ./lib/execve.c
6 4 ./lib/setsid.c
7 4 ./lib/write.c
8 7 ./lib/_exit.c
9 8 ./include/linux/kernel.h
10 8 ./lib/string.c
11 10 ./include/linux/mm.h
12 10 ./lib/wait.c
13 11 ./kernel/panic.c
14 13 ./include/utime.h
15 14 ./include/asm/memory.h
16 15 ./include/const.h
17 15 ./include/sys/times.h
18 16 ./include/sys/utsname.h
19 19 ./include/stddef.h
20 19 ./lib/open.c
21 20 ./include/linux/head.h
22 23 ./include/sys/wait.h
23 24 ./include/asm/io.h
24 28 ./include/stdarg.h
25 29 ./lib/ctype.c
26
wc -l `find -type f` | sort -n | nl