Visit Our UNIX and Linux User Community


Learning OS design, Linux Vs. Minix???


 
Thread Tools Search this Thread
Top Forums Programming Learning OS design, Linux Vs. Minix???
# 1  
Old 02-14-2012
Learning OS design, Linux Vs. Minix???

Hi friends,
I hope everybody is fine. I have been studing operating system concepts at college, and I find this subject very interesting. I've decided that I must go into this field no matter what, hopefully someday I would design my own operating system. I have two choices infront of me, studying the kernel of MINIX or studying the kernel of Linux or one of the bsd's. I have heard that linux is a monolithic kernel consisting of millions of lines of code, I don't think it would suit me. On the other hand, minix3 contains no more than 6000 lines of code. What do you guys think, which route should I follow?
The author of minix, andrew tanenbaum has written a book specifically about the minix3 operating system, so it is also a plus point for minix
Looking forward to your wonderful replies.
Thanks in advance
# 2  
Old 02-14-2012
I think the reason Minix, an obsolete 16-bit kernel, still exists is as educational code. It's the kernel Linus Torvalds learned with.
# 3  
Old 02-14-2012
While certainly a confidential Unix variant, Minix is neither obsolete (last versions were released in October 2010) nor 16 bit (it can be compiled in 16 or 32 bit).

Quoting Andy Tanenbaum:
Please be aware that MINIX 3 is not your grandfather's MINIX ... MINIX 1 was written as an educational tool ... MINIX 3 is that plus a start at building a highly reliable, self-healing, bloat-free operating system ... MINIX 1 and MINIX 3 are related in the same way as Windows 3.1 and Windows XP are: same first name.

Last edited by jlliagre; 02-14-2012 at 05:34 PM.. Reason: typo
# 4  
Old 02-14-2012
Quote:
Originally Posted by gabam
I have heard that linux is a monolithic kernel consisting of millions of lines of code
Linux is not a monolithic kernel. It fully supports loadable kernel modules. And these kernel modules can be unloaded if no longer required.

Yes, it has a huge code base. But this is mainly because of the variety of platforms, devices and options that it supports.
Robert Loves book "Linux Kernel Development" is a good introduction.

Another interesting kernel to consider is the Windows Research Kernel (WRK) which is essentially the NT kernel. This is available as part of the Windows Academic Program.

Last edited by fpmurphy; 02-14-2012 at 12:53 PM..
# 5  
Old 02-14-2012
I get three replies, but none of them solves my confusion. Which one is best for a starter who wants to know how an operating system works? I think linux is very large and complicated, would you agree with me or not? I think Minix3 is very small and manageable as compared to linux. Please through some light and give some guidance!!!
Thanks
# 6  
Old 02-14-2012
It is an individual decision. We cannot solve your confusion for you; we can only point out certain aspects of each choice. You have to make the decision.

However it sounds like you wish to take the option which results in the least amount of work on your part. If this is the case, choice Minix.
# 7  
Old 02-14-2012
Quote:
Originally Posted by fpmurphy
It is an individual decision. We cannot solve your confusion for you; we can only point out certain aspects of each choice. You have to make the decision.

However it sounds like you wish to take the option which results in the least amount of work on your part. If this is the case, choice Minix.

I told you guys that I am a starter in this field. I am not afraid of hard work, I am willing to do hard-work, nobody is forcing me to choose this path, I love operating systems. What I am asking is that which path would suit me the best, I think one should do everything step by step, and should not jump multiple stairs at once, would you agree with me or not?

Previous Thread | Next Thread
Test Your Knowledge in Computers #582
Difficulty: Medium
A buffered input or output stream is one in which data that is read or written is actually stored in memory in a buffer until such a time as the buffer is flushed and the accumulated data is passed to or from the actual file.
True or False?

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Learning to Script in Linux

Hello, I'm trying to branch out and learn Linux, but my comfort zone is PowerShell. I figure the best way to learn it is to do it so I moved my Plex Media Server to Ubuntu Server. What I'm trying to do is build a script that searches a directory and all subdirectories for files with the .ts... (5 Replies)
Discussion started by: Rhysers
5 Replies

2. UNIX for Dummies Questions & Answers

Setting up a home network for learning Linux

I am working on learning Linux, and somebody suggested setting up Linux on a separate computer, and searching for answers to whatever may be needed, on a different computer plugged in to the Internet. I have a Windows 7 PC, plugged in to a cable modem, and an old notebook, Compaq Presario R3000... (5 Replies)
Discussion started by: AdultFoundry
5 Replies

3. Shell Programming and Scripting

Learning abt Linux OS

hi guys, i got job recently in a company which provide a product for data backup and data recovery... as dis product is wrriten in c++ am workin in c++.. now am under training and i want to learn abt Operating System concepts and OS programming using c and c++. i know basic c and c++ programming... (0 Replies)
Discussion started by: senthil.march
0 Replies

4. Linux

which linux is best for learning unix?

I have just installed Ubuntu because I need a linux system asap and Ubuntu seems to be easiest for that. But I plan on installing some other Linux distro's for a while (maybe on virtualBox too) so i can understand the inner workings of linux and especially more about unix. I know that alot of the... (11 Replies)
Discussion started by: fuzzylogic25
11 Replies

5. UNIX for Advanced & Expert Users

AIX, Solaris, Linux Test Environment Design Question

AIX, Solaris, Linux Test Environment Design Question We want to set an AIX, Solaris & Linux test environment. Here are the hardware equipments: (1) A Sunfire v100 (or v120), 1GB memory, two 36GB HDD. (2) An IBM pSeries 7026, 1 GB memory, 4 9GB HDD. (3) Five external HDD with SCSI... (1 Reply)
Discussion started by: aixlover
1 Replies

6. Solaris

AIX, Solaris, Linux Test Environment Design Question

AIX, Solaris, Linux Test Environment Design Question We want to set an AIX, Solaris & Linux test environment. Here are the hardware equipments: (1) A Sunfire v100 (or v120), 1GB memory, two 36GB HDD. (2) An IBM pSeries 7026, 1 GB memory, 4 9GB HDD. (3) Five external HDD with SCSI... (4 Replies)
Discussion started by: aixlover
4 Replies

7. UNIX for Dummies Questions & Answers

Learning Unix/Linux from the Start?

I was wondering if someone could tell me where I could learn everything about Unix/Linux and I was also wondering what the differance between Unix and Linux was :confused: Ive never used it, never seen it.. But Im interested in learning :D (3 Replies)
Discussion started by: Vallzi
3 Replies

8. UNIX for Dummies Questions & Answers

Learning Unix & Linux

I'm new to Unix. I'm just looking for really good unix documents through Internet as pdf format on programming in all shells, and system adminstrator documents, and well as just all around really good documents on unix. Thank you (5 Replies)
Discussion started by: faaarin
5 Replies

Featured Tech Videos