home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / 3b1 / 3188 < prev    next >
Encoding:
Text File  |  1992-08-22  |  2.3 KB  |  54 lines

  1. Newsgroups: comp.sys.3b1
  2. Path: sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbfsb!cbnewsc!looney!cmv
  3. From: cmv@looney.att.com (Craig M. Votava)
  4. Subject: Re: Potential kernel mods...
  5. Organization: AT&T Bell Laboratories
  6. Distribution: usa
  7. Date: Sun, 23 Aug 1992 04:44:46 GMT
  8. Message-ID: <1992Aug23.044446.10281@cbnewsc.cb.att.com>
  9. References: <1992Aug17.162950.883@uts.cc.wayne.edu> <1992Aug18.021335.391@ceilidh.beartrack.com> <1992Aug18.170421.8951@squid.tram.com> <1992Aug19.180032.26153@news2.cis.umn.edu>
  10. Sender: news@cbnewsc.cb.att.com (NetNews Administrator)
  11. Nntp-Posting-Host: looney.ih.att.com
  12. Lines: 40
  13.  
  14. In article <1992Aug19.180032.26153@news2.cis.umn.edu>, scott@pascal.geom.umn.edu (Scott S. Bertilson) writes:
  15. |> 
  16. |>   Well, last night I compared my hard drive UNIX3.51 with my floppy
  17. |> boot "unix" and they are absolutely identical.  This implies that
  18. |> the boot has some mechanism whereby it can pass the boot device
  19. |> along to the kernel for it to patch into "{root,pipe,swap}dev".
  20. |> This is not an uncommon practice and is quite a reasonable
  21. |> thing to expect from the super hackers at Convergent who
  22. |> built this version of UNIX.
  23. |> --
  24.  
  25. Actually, I did some work with this stuff about 2.5 years ago (wow!) and here's
  26. what I remember:
  27.  
  28. As you all know, the EPROM boot code reads the loader off of the hard disk,
  29. from a fixed place. The verbose loader can ask you if you want to boot off of
  30. the floppy or hard disk. Even though it makes sense that this information
  31. should be used by the unix program that the loader starts up (it is actually
  32. stored in memory for unix, but unix simply ignores it) that assumption is
  33. incorrect.
  34.  
  35. Scotts comment is correct, the floppy and hard versions of unix are the
  36. same. When unix wakes up, the first thing it does is to look at the file
  37. name of the device it was read off of. If it's the floppy, then the kernel
  38. prints out the "Put in the floppy filesystem disk" message (and so on)
  39. otherwize it assumes a hard disk, and boots normally.
  40.  
  41. I actually did modify things so that the loader would ask you what drive
  42. to boot unix off of (floppy HD1 or HD2) and then unix would use the info
  43. from the loader to boot the machine. I got this to work, but never did
  44. anything with it.
  45.  
  46. Cheers...
  47.  
  48. -Craig
  49.  
  50.  
  51.     ()_()    Craig Votava
  52.      (_)    AT&T Bell Labs
  53.         cmv@looney.att.com
  54.