Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!ames!oliveb!sun!cmcmanis From: cmcmanis@sun.uucp (Chuck McManis) Newsgroups: comp.sys.amiga Subject: Re: Help w/Disked for hard disks Message-ID: <11186@sun.uucp> Date: Fri, 9-Jan-87 15:03:07 EST Article-I.D.: sun.11186 Posted: Fri Jan 9 15:03:07 1987 Date-Received: Sat, 10-Jan-87 02:04:23 EST References: <159@wlbreng1.UUCP> Organization: Sun Microsystems, Inc. Lines: 40 In article <159@wlbreng1.UUCP>, steve@wlbreng1.UUCP (Steve Childress) writes: > I have a question or two: > 1. DISKED doesn't like the drive name "HD0:" which is what I chose > to put in mountlist. Do I have to have a "resource" of that name? > I find no discussion of this in the RKM. As far as I am able to determine, DISKED should work on anything in the DeviceList with a FileSystem startup message. Did you try using DH0: to see if it was the 'H' throwing it off? It shouldn't be but you can never tell. > 2. DISKDOCTOR, when run on a healthy hard disk, seems to corrupt things. > I don't trust it for other than floppies. I have seen similar problems with DiskDoctor. It may not be able to deal with larger file systems. > 3. I have not found an easy way for my driver to find the in-memory > instances of the information in the /devs/mountlist, eg., no. cylinders, > etc. The driver guide incompletely discusses the convention of passing > something like this in a register in the I/O call to OPEN device. > Anyone know? Or do I have to search the lists myself? Good question, when you search the DeviceList do you find the correct data in the DISKENV array? You should be able cache the pointer to the Device Node since it doesn't move after the disk gets installed as a driver. > 4. To partition a hard disk, you merely make two entries in /devs/mountlist > and issue two mount commands in your startup file. (this question arose > in other discussions here.) > Steve Childress This is indeed what is required, however the driver has to know that you will be partitioning it and thus add the Offset it finds in the DISKENV array to the blocknumber passed. -- --Chuck McManis uucp: {anywhere}!sun!cmcmanis BIX: cmcmanis ARPAnet: cmcmanis@sun.com These opinions are my own and no one elses, but you knew that didn't you.