home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / programm / 12880 < prev    next >
Encoding:
Text File  |  1992-07-22  |  2.0 KB  |  46 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!paladin.american.edu!darwin.sura.net!mips!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uxa.cso.uiuc.edu!bts39313
  3. From: bts39313@uxa.cso.uiuc.edu (Benjamin T Sander)
  4. Subject: Re: Does mac exec code on disk when mounting it?
  5. References: <1992Jul20.223225.25800@random.ccs.northeastern.edu> <1992Jul22.070932.22863@metropolis.com>
  6. Message-ID: <Brt8uA.It7@news.cso.uiuc.edu>
  7. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  8. Organization: University of Illinois at Urbana
  9. Date: Wed, 22 Jul 1992 21:54:08 GMT
  10. Lines: 34
  11.  
  12. robert@metropolis.com (Robert Munyer) writes:
  13.  
  14.  
  15. >In article <1992Jul20.223225.25800@random.ccs.northeastern.edu>
  16. >mharm@ccs.northeastern.edu (Michael Harm) writes:
  17.  
  18. >> [...] on a mac, is there any code in the mount partition of a disk that is
  19. >> executed when the disk is mounted?  I'm concerned that mounting the hard disk
  20. >> may introduce something into the ram.  Or, is the act of mounting a drive
  21. >> simply reading numbers (number of cyls, sectors) from some area of the disk?
  22. >>
  23.  
  24. The driver for the hard drive is stored on a partition on the hard drive.
  25. It gets loaded when the Mac is first powered on (before the shining face
  26. appears) regardless of whether you actually boot off that drive.  The
  27. mac ROM loads the driver code and blindly jumps to it: THIS CODE COULD
  28. THEORETICALLY DO ANYTHING.  Thus it is technically possible to 
  29. have a virus which resides in the driver partition of your hardr
  30. drive; however, I have never heard of such a beast.
  31.  
  32. Incidentally, if you screw up the driver on your internal disk (not
  33. that I have ever, say, done this), you are confronted with a machine
  34. that crashes 5 seconds after you turn it on no matter what you do.
  35. All this from software!  I had to pop the case on my machine, unplug
  36. the drive cable from the motherboard, reboot the machine, plug the 
  37. cable back in while the power was up, and then reformat the drive.
  38.  
  39. Ben Sander
  40. University of Illinois
  41. bts39313@uxa.cso.uiuc.edu
  42.  
  43.  
  44.  
  45. t
  46.