Path: utzoo!censor!geac!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!netnews.upenn.edu!vax1.cc.lehigh.edu!cert.sei.cmu.edu!krvw From: PFKLAMMER@CUDENVER.BITNET (Pete Klammer/303-556-3915) Newsgroups: comp.virus Subject: Re: SCAN program for IBM's (PC) Message-ID: <0001.9101111559.AA00331@ubu.cert.sei.cmu.edu> Date: 10 Jan 91 18:56:00 GMT Sender: Virus Discussion List Lines: 24 Approved: krvw@sei.cmu.edu >> From: Mr Gordon S Byron >> >> I am interested in finding a DOS antivirus program which would >> automatically scan disks as they are inserted. ideally, something like >> SAM II on the Mac. I noticed a reference to a program called McAfee's >> scan. Is that an auto-scan antivirus program? > >Only one problem with that idea: How can the machine tell when a disk >is inserted? There isn't any type of sensor in IBM floppy drives like >in the Mac. > >Doug Barlow Isn't the write-protect sensor status available for polling? If you constantly (once per clock tick) check the write-protect detector, you could see the "shadow" of the diskette sleeve (write protected or not) as the disk is inserted or removed. I.e., if the detector toggles in any way, a diskette has been either inserted or removed. - --poko "Eesti vabaks/free Estonia!" Pete Klammer (303)556-3915 FAX(303)556-4822 CU-Denver Computing Services, AHEC Box#169 / PKLAMMER@CUDENVER.bitnet 1200 Larimer St, NC2506, Denver CO 80204 / {uucp...}!boulder!pikes!pklammer P.O. Box 173364, Denver CO 80217-3364 / pklammer@cudnvr.Denver.Colorado.EDU