Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!rex!vax.anes.tulane.edu!MANDEL From: mandel@vax.anes.tulane.edu (Jeff E Mandel MD MS) Newsgroups: comp.sys.mac.programmer Subject: Re: trapping for floppy disk Message-ID: <6765@rex.cs.tulane.edu> Date: 25 Mar 91 14:19:35 GMT References: <1CE00001.bcochit@tbomb.ice.com> Sender: news@rex.cs.tulane.edu Reply-To: mandel@vax.anes.tulane.edu Organization: Tulane University School of Medicine Lines: 18 In article <1CE00001.bcochit@tbomb.ice.com>, time@ice.com (Tim Endres) writes: > > >And won't the driver's Status call { PBStatus(drvStsCode) } give you >the same information? > Actually, better. I wrote my code a long time ago, possibly before Inside Mac V. 5. In any event, calling the disk driver PBControl with csCode 23 seems to be what you want, as it tells you everything about the physical properties of the drive. Of course, you still have to look in the VCB to get the driver reference number. See IM vol. V p470-1. Jeff E Mandel MD MS Asst. Professor of Anesthesiology Tulane University School of Medicine New Orleans, LA mandel@vax.anes.tulane.edu