LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-11-2008, 08:12 PM   #1
dmsynck
LQ Newbie
 
Registered: Apr 2005
Location: "Big D" - Dallas, Texas
Distribution: Linux Mint 8 - "Helena"
Posts: 24

Rep: Reputation: 15
Minix, Linux 0.01 or other


Hi all,

I am teaching myself C(from K&R2), and am also interested in learning about unix-like operating systems in general, and how kernels really work internally. I currently have two OS books, "Operating Systems: Design and Implementation Second Edition" by Andrew Tanenbaum and also a general college level operating systems fundamentals book entitled "Operating System Concepts" by Silberschatz, Galvin, and Gagne (I think this series is known as the "dinosaur" books because the cover has dinosaurs on it). My question is, would I be better served by jumping right off into studying either Minix or Linux 0.01, or do I need to concentrate on fundamentals first and leave the source code study for sometime in the future ? Of the two source code pools(Minix or Linux), which do you think would be the better choice and why ?

Thanks in advance,

dmsynck
 
Old 01-11-2008, 09:38 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Quote:
Originally Posted by dmsynck View Post

My question is, would I be better served by jumping right off into studying either Minix or Linux 0.01, or do I need to concentrate on fundamentals first and leave the source code study for sometime in the future ? Of the two source code pools(Minix or Linux), which do you think would be the better choice and why ?
That depends very much on the level of your programming expertise. If you are a novice then the answer is to learn to program before you attempt to learn the internals of an operating system. If you are an experienced programmer then learning C while studying an operating systems' source code is doable.


Quote:
Originally Posted by dmsynck View Post

Of the two source code pools(Minix or Linux), which do you think would be the better choice and why ?
Minix is the better choice hands down. First of all you have a textbook on Minix and Minix was specifically written by Tannenbaum to be the example OS for his operating system course. Reading the book and following the examples in Minix is far easier than trying to decipher the logic in any version of Linux.

-------------------------
Steve Stites
 
Old 01-11-2008, 10:03 PM   #3
dmsynck
LQ Newbie
 
Registered: Apr 2005
Location: "Big D" - Dallas, Texas
Distribution: Linux Mint 8 - "Helena"
Posts: 24

Original Poster
Rep: Reputation: 15
Thanks for the advice. I will concentrate on becoming proficient with C first, then decide where to go from there. The reasoning behind asking about the choice of either Minix or the original Linux kernel is that Linux 0.01 is supposedly about 10,000 lines of code. Even though this is classified as "small", it still seems a rather daunting amount of code to make sense of. I don't know the approximate number of lines of code in Minix 2.0, but I would be willing to bet that it is considerably less. If anyone knows, I would be interested in knowing the approximate number.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Minix V3 filesystem now supported by Linux kernel pistachio Other *NIX 0 01-15-2006 04:34 AM
is Linux based on Minix MaaSTaaR General 8 09-08-2005 02:13 PM
Linux is a clone of Minix kernel ?? purpleburple General 2 10-20-2002 12:53 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration