Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!bellcore!texbell!uhnix1!sugar!peter From: peter@sugar.hackercorp.com (Peter da Silva) Newsgroups: comp.sys.amiga.tech Subject: Re: Disk Questions for WorkBench replacement project Keywords: multiple disks, format, diskcopy, Shell Message-ID: <3585@sugar.hackercorp.com> Date: 6 Mar 89 01:31:57 GMT References: <21173@agate.BERKELEY.EDU> Organization: Sugar Land Unix - Houston Lines: 36 In article <21173@agate.BERKELEY.EDU>, c60c-1ea@web-4g.berkeley.edu (Yen Yuanchi Hsieh) writes: > 1) How does one go about locking the correct disk if two or more > have the same number. eg. Workbench knows the difference between > SYS1 (disk 1) and SYS1 (disk2). If disk2's icon is clicked on, > disk 1 is NOT loaded, but the user is asked to insert SYS1:. How > does Workbench manage to lock the correct drive? I believe WB maintains a list of locks. When it gets a DISKCHANGE it unlocks them and tries again. If you have an open lock, of course, it gets the same disk from the device list. I don't believe that any other program can do this, because you'd never have workbench and your program releasing its lock list at the same time. For Browser, I just gave up and go by the volume name. If you're replacing Workbench completely, you can of course do it the way they do it. Sigh. > 2) in order to call format or diskcopy correctly, is any special > information passed on to these programs? Good question. I'd like to know this too. > 3) same Question as 2) for format. Ditto. > 5) Is there anyone out there willing to test/buy/write Info/etc? > I had a few people interested at one time, but they are bogged down > by work. William LeFevbre at (phil@rice.edu) did a display-only 'info' program for Browser. You might want to ask him. -- Peter "Have you hugged your wolf today" da Silva `-_-' ...texbell!sugar!peter, or peter@sugar.hackercorp.com 'U`