[comp.sys.mac.misc] What's going on after reboot?

dcw@cunixa.cc.columbia.edu (David C. Worenklein) (11/27/90)

  After I hit the little reboot switch on the side of my Mac, or upon turning
on the computer after not having issued a "shutdown", it takes a long time for
the Finder to come up.  It seems like the desktop on my hard drive is being
rebuilt after having been corrupted by the last session, but this even happens
if I turn off the computer before it has finished booting!
  I'm just curious as to what is going on that tiny little head of it's?

				Thanx,
					Dave

Greg@AppleLink.apple.com (Greg Marriott) (11/27/90)

In article <1990Nov26.164508.19238@cunixf.cc.columbia.edu> 
dcw@cunixa.cc.columbia.edu (David C. Worenklein) writes:
>   After I hit the little reboot switch on the side of my Mac, or
> upon turning on the computer after not having issued a "shutdown",
> it takes a long time for the Finder to come up.
>   I'm just curious as to what is going on that tiny little head of it's?

The "dirty" bit on your hard disk(s) is set, and hasn't been cleared by a 
proper shutdown.  When the computer starts up and sees the dirty bit set, 
it does a verification of the file system data structures (since something 
"bad" happened and the computer was not able to shut down properly).  This 
is what is taking so long.

Greg Marriott
Just Some Guy
Apple Computer, Inc.

aland@chaos.cs.brandeis.edu (Alan D Danziger) (11/28/90)

In article <1990Nov26.164508.19238@cunixf.cc.columbia.edu> dcw@cunixa.cc.columbia.edu (David C. Worenklein) writes:

 After I hit the little reboot switch on the side of my Mac, or upon turning
 on the computer after not having issued a "shutdown", it takes a long time for
 the Finder to come up.  It seems like the desktop on my hard drive is being
 rebuilt after having been corrupted by the last session, but this even happens
 if I turn off the computer before it has finished booting!

When you reboot the Mac without it being 'properly shut down' it does
some error-checking upon the reboot.  It does this because it 'thinks'
that it crashed, no matter what the actual cause of the shut-off was.

It does this because (I think) the last thing the 'shutdown manager'
does is set a bit which tells the mac whether that it was properly
shut down.  Otherwise, the Mac thinks it was crashed, and does its check.
--
---=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=---
Alan D. Danziger,           | 753 South St,Waltham MA 02154 | "Licensed
aland@chaos.cs.brandeis.edu | MB 3130 / Brandeis University |   to
(617) 894-6859              | PO Box 9110 Waltham MA 02254  |     Program"
---=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=---