Wednesday, February 21, 2007

Linux 0.1 Source Available

I was referred here by Digg.com earlier today, but the Linux kernel version 0.1 is available for download from kernel.org:

Download

They say it's around 10,000 lines of code so it wouldn't be as daunting to read through and get familiar with as the latest kernel.

I downloaded the source and took a look at the filesystem code to find the following listing of files:


lu003 linux # pwd
/root/kernel-0.1/linux
lu003 linux # ll fs/
total 108
-rw-r--r-- 1 12041 12005 4735 Sep 17 1991 Makefile
-rw-r--r-- 1 12041 12005 3884 Sep 9 1991 bitmap.c
-rw-r--r-- 1 12041 12005 1786 Sep 13 1991 block_dev.c
-rw-r--r-- 1 12041 12005 6162 Sep 17 1991 buffer.c
-rw-r--r-- 1 12041 12005 1269 Sep 8 1991 char_dev.c
-rw-r--r-- 1 12041 12005 7535 Sep 13 1991 exec.c
-rw-r--r-- 1 12041 12005 1394 Aug 30 1991 fcntl.c
-rw-r--r-- 1 12041 12005 1788 Aug 30 1991 file_dev.c
-rw-r--r-- 1 12041 12005 56 Aug 18 1991 file_table.c
-rw-r--r-- 1 12041 12005 5917 Sep 9 1991 inode.c
-rw-r--r-- 1 12041 12005 935 Aug 30 1991 ioctl.c
-rw-r--r-- 1 12041 12005 14493 Sep 12 1991 namei.c
-rw-r--r-- 1 12041 12005 3846 Sep 8 1991 open.c
-rw-r--r-- 1 12041 12005 1973 Sep 13 1991 pipe.c
-rw-r--r-- 1 12041 12005 2693 Sep 13 1991 read_write.c
-rw-r--r-- 1 12041 12005 1134 Sep 11 1991 stat.c
-rw-r--r-- 1 12041 12005 2421 Sep 17 1991 super.c
-rw-r--r-- 1 12041 12005 1084 Sep 7 1991 truncate.c
-rw-r--r-- 1 12041 12005 4186 Sep 8 1991 tty_ioctl.c
lu003 linux #


That's an incredibly small number of files compared to the current kernel which has many filesystems! Also, look at the dates on these files. I'm considering creating a filesystem of my own so this find is a goldmine and will provide me with some great resources without having to dig through the current code and the numerous filesystems that come with it.

1 comment:

amith said...

Can you please give the link of good and complete Documentation or reading material for Linux Kernel 0.1