Slashdot Mirror


Minix from Scratch Project Established

decuser writes "The MFS - Minix from Scratch project was established in the wake of the Brown-Tannenbaum controversy. MFS aims to be to the Minix community what LFS is to the Linux community, a recipe for building an alternative OS from 'scratch.'" See the project's website at mfs.sunsite.dk or minixfromscratch.org.

26 of 229 comments (clear)

  1. Horray! by Billly+Gates · · Score: 5, Funny
    All six of us are happy. :-)

  2. I always wanted to get Minix .. by WarlockD · · Score: 4, Interesting

    The problem was that it cost money :P I always wanted to mess around the code on a simple, yet an operating system you could DO something with. Don't say "Linux!". Have you SEEN how many lines of code that is? I just a lowly hobbyist.

    1. Re:I always wanted to get Minix .. by Richard_L_James · · Score: 4, Informative
      I always wanted to mess around the code on a simple, yet an operating system you could DO something with.

      Have you looked at FreeDOS? Under the hood DOS is simple, heavily documented, reliable and capable of doing many tasks, it can also be very well secured with the right tools or modifications. For example many people forget that COMMAND.COM can be replaced with other programs and there are many tools around designed to block actions or commands from being executed (hint for security look at BBS SYSOP security tools that many people like myself used to write).

    2. Re:I always wanted to get Minix .. by IrresponsibleUseOfFr · · Score: 5, Interesting

      Well, now you can download it for free.

      Minix

      If you don't like the licensing terms, then choose Linux. Since that was like kinda of the whole point.

      Linux is a lot of code. But, LOC isn't the most valuable measure of complexity. Although, it can be overwhelming at first. A lot of Linux code won't be of much interest since it will deal with archaic devices and such. But, Linux as an overall system is well-organized. Which will mean as a hobbiest, after you find the parts of system you want to play around with, it should be easy to modify.

      The only real part that will screw you is the fact that as a monolithic kernel, if what you modify has a bug, it can potentially affect every part of the system (but usually it isn't so bad). And, this is usually no worse than any C-type coding unless you are playing around with the file-system.

      More on-topic, I don't see any reason why you'd want to rewrite Minix. There is always this type of bully-ing going on. It doesn't mean that 3rd parties should run off like a bunch of chicken littles. Plus there are other projects like xBSD's or Linux that are not necessarily easy to contribute to, but nevertheless you will affect a lot more people and gain their accolades if successful. Meh, I guess it is their time to waste and there are certainly other less productive things they could be doing.

      --
      Facts are meaningless. You could use facts to prove anything that's even remotely true! -Homer Simpson
    3. Re:I always wanted to get Minix .. by Richard_L_James · · Score: 4, Informative
      I replaced the command.com with some other shell, that gave you all sorts of colors, as well as a nicer 'dir' command.

      Hmmm sounds like 4DOS. Personally I was never a huge fan. I did write a couple of real and joke shells. Ahh those were the days when you could fake an entire DOS application in a few minutes in front of a compiler. I remember one of our programming teachers used to suddendly appear and start scrolling up and down to read our code as we were busy typing away (very annoying) so one day I wrote the program we were asked to write and another program which displayed the first program and looked just like the programming editor. Imagine his surprise when he hit the down arrow to be greated with a personal message being typed up on the screen.... ;-)

      I wonder if there are any explorer.exe replacements?

      Yes. How to is documented in both official and unofficial programmers guides. Miles's useful site TinyApps links to a few (as well as some other useful OS distributions and other OS tools of interest). However at a really simple level:

      SYSTEM.INI
      [boot]
      shell=explorer.exe / progman.exe / taskman.exe / myprog.exe

      Even possible to start DOS.... better stop there :)

  3. My god people by Timesprout · · Score: 5, Funny

    This could lead to the second coming of Linus !!! Let us rejoice and sacrafice junior VB coders to the Gods of Code.

    --
    Do not try to read the dupe, thats impossible. Instead, only try to realize the truth
    What truth?
    There is no dupe
  4. Isn't Minix intentionally incomplete? by Anonymous Coward · · Score: 5, Insightful
    It is my understanding that Tannenbaum never wanted Minix to be feature complete because it is a teaching OS, not a production OS. He often rejected submitted patches on these very grounds. The idea was to use Minix in a teaching environment. By keeping Minix simple and incomplete, instructors could tailor lab assignments to provide missing features and extensions.

    Minix is great for teacher and student, but it shouldn't be the first choice for general purpose operating systems. At one time it didn't even have networking (but maybe that has changed).

    1. Re:Isn't Minix intentionally incomplete? by steveha · · Score: 4, Interesting

      Linus took Minix and evolved it to a state where Linux is today.

      No. Linus used Minix as the OS for his computer, and used it to run his text editor and compiler and so on to build Linux.

      No doubt he read the Minix book. But he didn't "evolve" Minix -- he did something else, on his own.

      Then legions of coders around the world used the Internet to contribute improvements to Linux, and Linus managed the whole project. He has really shined as a manager and as a system architect, even more than as a coder.

      if as many man-hours were spent improving Minix as were spent improving Linux, who is to say which would be the best today.

      I have always heard that microkernel is supposed to make things better. The system is easier to get right, easier to debug. Sure it runs a bit slower with the overhead, but it will be rock solid stable and secure.

      What makes me wonder about all this good PR is that the Hurd existed as a project before Linux, and it's still alpha code. Why? And why is the Hurd only available for 32-bit x86? Is the hype surrounding microkernel false, or was there some other factor that has slowed down the Hurd despite its microkernel superiority? (And if so, what is that other factor -- human factors among the the Hurd development leads perhaps?)

      Note that I am not implying anything with these questions; they are honest questions from someone who doesn't know, and wonders.

      I say support the MFS project, diversity is better than stagnation.

      If by "support" you mean "don't spend any time criticising and complaining", I'm right there with you. I'll even go so far as to say "Minix from Scratch guys: good luck, have fun!" But I'm not going to spend any of my own time working on this project.

      And I do wonder why they chose to work on Minix instead of the Hurd.

      steveha

      --
      lf(1): it's like ls(1) but sorts filenames by extension, tersely
  5. Re:Just to be jerks.... by oO+Peeping+Tom+Oo · · Score: 5, Informative

    Umm.....freedos?

  6. missing the point by fred+fleenblat · · Score: 4, Insightful

    The tempest in a teacup is over whether an OS could be written from scratch by a single person. Making a shared project out of it fails to prove that a single person can do it. Worse yet, Ken Brown's sense of logic will lead him to cry that it's proof that a single person cannot do it.

    It's probably a fun project, but it isn't really going to prove anything new that reasonable people don't already know. And it will fail to convince unreasonable people of anything.

  7. Agree. Better places to put in effort by EmbeddedJanitor · · Score: 4, Insightful
    How about contributing to GNU/Hurd instead? At least Hurd intends to oneday be a real OS and has a microkernel architecture.

    I guess though it is also worth noting that while Minix was only designed for teaching OS concepts it has been used for RealWork. The same happened to Pascal. Nobody was ever supposed to write any RealCode in Pascal - it was also intended only as a teaching tool.

    --
    Engineering is the art of compromise.
    1. Re:Agree. Better places to put in effort by EvilAlien · · Score: 5, Funny
      Do you seriously think Hurd will ever actually achieve "real OS" status? The project started in bloody 1990 after 7 years of RMS flailing around in his attempts to build a free OS.

      I expect Microsoft to move towards a BSD-ish source license and that I will be playing Duke Nukem Forever on the Phantom console or Linux before Hurd becomes a real OS ;)

      --
      perl -e 'print $i=pack(c5, (41*2), sqrt(7056), (unpack(c,H)-2), oct(115), 10)'
    2. Re:Agree. Better places to put in effort by The_Dougster · · Score: 5, Informative

      Actually, I just got it booting on my Asus A7N8X with Western Digital WD1200JB and NVidia GeForce FX 5900. Turns out there is a newly discovered bug in gnumach which barfs when you have lots of RAM installed. Add the command uppermem 523648 to Grub's boot entry and magically it all works.

      For the more adventurous, you can check out Hurd on L4. The link is to a wiki page that I have been working on recently. But while you can actually run the Hurd and do things in the X-Window system with Gnumach, the L4 variant is just getting off the ground. Some recent crucial code porting has recently occured and we may soon see a libc0 for Hurd on L4 with any luck. If you want to spend about an hour making a bootable debugger then check out the link :-P

      --
      Clickety Click ...
  8. Some background info by MisterLawyer · · Score: 4, Informative
    Will Senn had been publicly contemplating this for at least about a month now. I first read about it from his listserv post here ("Hi all, I am considering beginning a Minix from Scratch project...")

    It's interesting to see Tannenbaum's influence on Senn:
    "I have to be upfront with you, I am a fair newbie at Minix. I have been using Linux since the 0.9 kernel (downloaded via ftp on VMS in 90s) and have a fairly decent background in Unix - solaris, sco, bsd, etc. I got interested in Minix back around the same time too, but I had success with Linux and stayed with it. I got reminded of Minix the other day when Andrew Tanenbaum posted his response to the 'Brown' book - pure enlightenment - http://www.cs.vu.nl/~ast/brown/."[emphasis added]

    Here is some more background infoon the genesis of the project.

  9. A microkernel by the community? by chemstar · · Score: 4, Funny



    Hasn't HURD been trying this for 15 years?

  10. I mistook Linux for Minix... by appleLaserWriter · · Score: 4, Interesting

    Back in 1992 or 1993, a unix admin suggested that I check out a PC unix called "minix." Back then, "googling" consisted of connecting a ftp clinet to ftp.wustl.edu and manually traversing the directory structure looking for something interesting. I don't remember if it was at ftp.wustl.edu or sunsite.unc.edu, or even on usenet, but I eventually stumbled across this PC unix called "linux." It sounded right, so I went with it.

    Months later, I spoke to the admin again, and found that I was mistaken. Rather than type in thousands of lines of code for an 8086 unix kernel, I had a fully functional linux workstation with X11, ethernet and all the rest of the good stuff that we take for granted today but were PC fantasies in the Windows 3.0 days.

  11. Show me the code! (er, documentation) by Wesley+Felter · · Score: 4, Informative

    Slashdot should stop promoting projects that have nothing more than a Web page.

    MFS looks like it's trying to write a manual for installing Minix. That's fine, but will it really teach "operating system design concepts"? Wouldn't Tanenbaum's textbook be better for that? Linux From Scratch teaches you a lot about Linux, but it doesn't teach you how the kernel works.

  12. This is for real, folks. by commodoresloat · · Score: 5, Funny

    Just look at all the valuable information available on the MFS Wiki. Lots of useful information suggesting hours and hours of labor by Minix users everywhere. I predict this will be the Next Big Thing. Minix installations everywhere, sweeping the nation, sweeping the world, while Linux fades into obscurity. With BSD dying and Apple beleaguered, Minix will become the next major competitor to Windows.

    1. Re:This is for real, folks. by Brandybuck · · Score: 4, Funny

      Linux becomes mainstream and the cranky hackers move on to BSD. Then BSD becomes mainstream and the cranky hackers move on to MFS. But where do they go when MFS becomes mainstream?

      --
      Don't blame me, I didn't vote for either of them!
    2. Re:This is for real, folks. by aardvarkjoe · · Score: 4, Funny

      My guess is that they'll take a well-deserved vacation, and go cross-country skiing in Hell.

      --

      How can we continue to believe in a just universe and freedom to eat crackers if we have no ale?
  13. Re:I mistook Lindows for Windows... by Anonymous Coward · · Score: 4, Funny

    Back in 2002 or 2003, a Windows admin suggested that I check out a PC operating system called "Windows." Back then, "googling" consisted of pointing a browser at http://www.google.com/ and manually traversing all the porn pages returned looking for something interesting. I don't remember if it was at http://www.google.com/ or http://www.google.de/, or even on http://labs.google.com/, but I eventually stumbled across this PC Windows clone called "Lindows." It sounded right, so I went with it.

    Months later, I spoke to the admin again, and found that I was mistaken. Rather than downling thousands of MegaBytes of files for an unreliable operating system, I had a fairly functional Linux workstation which ran Windows programs, ethernet and all the rest of the good stuff that Linux users take for granted today like reliability and security but are PC fantasies for Windows XP users.

  14. Getting Hurd working by EmbeddedJanitor · · Score: 5, Interesting
    One of the biggest issues with Hurd does not seem to be the basic OS architecture, but rather the lack of support for various file systems, devices, PPP etc.

    This could potentially be rectified by building a "File System Manager" and "Device Manager" that support the Linux device and file system models. Then, all Linux device drivers and file systems etc could be plugged into Hurd and used with little/no modification.

    The benefit of an exercise like this is that it would push Hurd into "useful" space so that it would become worth putting effort into, and there would then be a microkernel OS with a rich set of code.

    For all Linus' comments about "computer science masturbation", there is still a place for microkernels and they can be pretty damn efficient. Having a solid microkernel OS in OpenSource land is of significant value.

    --
    Engineering is the art of compromise.
    1. Re:Getting Hurd working by EmbeddedJanitor · · Score: 4, Informative
      QNX is a micro-kernel OS. I promise you it is very practical. Microkernels have certain benefits over monolythics. A lot of the cool stuff in Linux didn't get there because of what Linus did, but because someone "scratched an itch". If more people start "scratching their itch" while using Hurd, it will make advances. If you pulled the drivers out of Linux there would just be some boring CS stuff too.

      The biggest problem with drivers etc is that nobody wants to duplicate work for many OSs. Having a "Linux driver comapatability environment" could make Hurd a viable place for experimenters to play in.

      --
      Engineering is the art of compromise.
  15. Re:Gentoo... by mrchaotica · · Score: 4, Funny

    Package management is for sissies!

    (just kidding)

    --

    "[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz

  16. But really ... by gstoddart · · Score: 4, Interesting

    When I left Microsoft it wasn't pre-emptive or very useful. WTF would I want to look at the code, or play with DOS for?

    In my operating systems class I was learning how to implement stuff that Windows wouldn't have for another three years (yes, I implemented pre-emptive multi-tasking in '92 on x86 hardware, and it wasn't bloody well rocket science).

    Hell, I was reading Tanenbaum for my Operating Systems course. I used his definitions for a bunch of system calls to implement a UNIX layer in another OS. (Uh oh, now SCO will sue me and my professor. =)

    Quite frankly I think implementing Minix from scratch is a hell of a lot more interesting than anything DOS ever did. [ And I have the course notes to prove it ;-]

    Now, don't get me wrong, BBS Sysop has street cred in my book, but DOS isn't exactly what I'd call a sophisticated system to want to play with that much as compared to a real multi-tasking OS, which Minix most definitely was.

    --
    Lost at C:>. Found at C.
  17. Re:Gah. by The_Dougster · · Score: 4, Interesting
    Please remember that at the time, neither Minix nor BSD was free. If there was a free and open *x out there, Linus would not have needed to write Linux.

    If fact, back in 1991 I was toying around with both Minix and Linux. Minix was pretty cool but it did cost money and it was pretty basic in what it could do. It was pretty much text only. Linux, on the otherhand was something of a baby huey, born on the gigantic side. I remember ftp'ing disk images for days on my 2400 baud modem and then creating a humongous pile of disks.

    Minix, on the other hand, was like 2 disks AFAIK, but it wasn't nearly as groovy as Linux was with all that GNU software that was immediately ported over to run on it. I even struggled to get X running on my Debian 0.9 system but never pulled it off with my EGA card that weighed about ten pounds and was covered with hundreds of chips. A VGA card and monitor cost a king's ransom back in those days was way out of my price range.

    But compared to MS-DOS and DesqView, which I used to run my old BBS system on back then, Linux was pretty darned cool! You could put a getty on your comport and it kind of was a bbs already, and you could actually do meaningfull things with your computer while it ran the bbs since it had virtual consoles and awesome multitasking even back then, whereas with DesqView you sort of had a poorly performing kind of multitasking system that barely ran anything usefull without taking up so many cycles that nothing really worked well at all. I don't think that Minix was able to do anything like this back then, but then I only really messed around with it for a couple of days.

    --
    Clickety Click ...