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