Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!bcm!dimacs.rutgers.edu!aramis.rutgers.edu!paul.rutgers.edu!njin!njitgw!mars.njit.edu!cd5340 From: cd5340@mars.njit.edu (Charlap) Newsgroups: comp.os.msdos.misc Subject: Re: Warm or cold boot? Keywords: reboot, boot Message-ID: <2187@njitgw.njit.edu> Date: 31 Jan 91 03:09:14 GMT References: <1991Jan30.194640.10997@pa.dec.com> <20816@hydra.gatech.EDU> Sender: news@njitgw.njit.edu Organization: New Jersey Institute of Technology Lines: 11 In article <20816@hydra.gatech.EDU> np4@prism.gatech.EDU (POMPONIO,NICHOLAS A) writes: >How can a program determine whether the latest boot was warm or cold? > > Well, mine can. When the mouse driver is loaded, my modem dies completely, requiring a hard-reset to fix it. So, I can just try to communicate with the modem. If it fails, it wasn't a coldboot. (of course, if I load the mouse driver after a coldboot, the modem is still dead...) --- David Charlap (cd5340@mars.njit.edu)