home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / mac / programm / 19868 < prev    next >
Encoding:
Internet Message Format  |  1992-12-15  |  2.4 KB

  1. Path: sparky!uunet!enterpoop.mit.edu!eru.mt.luth.se!kth.se!dront.nada.kth.se!d88-jwa
  2. From: d88-jwa@dront.nada.kth.se (Jon Wtte)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: Testing System Extensions - REBOOTING
  5. Message-ID: <1992Dec15.121533.22929@kth.se>
  6. Date: 15 Dec 92 12:15:33 GMT
  7. References: <1992Dec8.141823.14614@nrtpa038.bnr.ca> <Bz9qxE.H3D@oceania.com>
  8. Sender: usenet@kth.se (Usenet)
  9. Organization: Royal Institute of Technology, Stockholm, Sweden
  10. Lines: 53
  11. Nntp-Posting-Host: dront.nada.kth.se
  12.  
  13. In <Bz9qxE.H3D@oceania.com> steve@oceania.com writes:
  14.  
  15. >Ted Lowery <tbl@rock.concert.net> writes
  16.  
  17. >> ... rebooting ...
  18. >> Seems to me this is quite hard on the machine
  19.  
  20. >As long as you soft-boot (I use my programmer's switch almost as much as  
  21. >the return key - OK, so I'm exaggerating a little), I don't think it's too  
  22. >hard on your machine.  Mine has shown no ill effects of repeated reboots.  
  23.  
  24. Well, the file system may be somewhat less happy. You should
  25. really check two things before attempting either Exit-to-shell
  26. or reboot:
  27.  
  28.     - That the lo-mem global FSBusy is 0
  29.     - That the interrupt level is 0
  30.  
  31. You also should reboot using MacsBugs "rs" command which flushes
  32. and unmounts volumes before rebooting. This preserves the file
  33. system...
  34.  
  35. Disk First Aid and Norton Utilities for the Mac should be run
  36. regularly to check that your FS didn't get corrupted by the crashes.
  37. UNIX systems regularly run fsck before mounting SNY file system.
  38.  
  39. >> not to mention all the time wasted waiting for the machine to boot.
  40.  
  41. Well, pop out those extra 40 MB of memory, and turn off INITs using
  42. Extensions manager, and reboots won't take more than 10 seconds.
  43. Putting a minimal system on RAM disk when developing is another sure
  44. tip!
  45.  
  46. >Sorry, I didn't have info specific to testing inits...
  47.  
  48. Well, what I have done on occasion is test the INIT code from
  49. within an application shell; patching traps within an application
  50. only affects that application so you have to make sure the application
  51. shell actually has the beaviour you want to change...
  52.  
  53. Then testing a new version is only a matter of quitting the application,
  54. rebuilding it and running it again. You can even use a source debugger
  55. on your INIT code!
  56.  
  57. Cheers,
  58.  
  59.                             / h+
  60.  
  61. -- 
  62.  -- Jon W{tte, h+@nada.kth.se, Mac Hacker Deluxe --
  63.    The word "politics" is derived from the word "poly", meaning
  64.    "many", and the word "ticks", meaning "blood sucking parasites".
  65.                      -- Larry Hardiman
  66.