Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!usc!apple!portal!cup.portal.com!ts From: ts@cup.portal.com (Tim W Smith) Newsgroups: comp.sys.mac.programmer Subject: Re: SCSI Help Message-ID: <33184@cup.portal.com> Date: 25 Aug 90 02:35:25 GMT References: <917@beguine.UUCP> <9927@goofy.Apple.COM> Organization: The Portal System (TM) Lines: 18 What do you mean by "completely erase"? Do you want to wipe out the partition table and the driver descriptor map and the driver? If so, you (probably) have to issue SCSI commands, since the driver will (probably) only let you write in the HFS partition. I say "probably" because I know of at least one driver that accepts negative block addresses. Block -1 is the block just before the partition, etc. A loop of the form for ( i = -1; ; --i ) { write over block i, stop when errorr } will allow you to erase these parts of the disk. This is probably a bug in the driver, however. Tim Smith