Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!rochester!pt.cs.cmu.edu!andrew.cmu.edu!mp1u+ From: mp1u+@andrew.cmu.edu (Michael Portuesi) Newsgroups: comp.sys.amiga Subject: Re: What I'd like to see in 1.4 Message-ID: Date: 12 Feb 89 20:16:32 GMT References: Organization: Mathematics, Carnegie Mellon, Pittsburgh, PA Lines: 41 In-Reply-To: armhold@topaz.rutgers.edu (George Armhold) writes: > I'd like to see a menu item in Workbench 1.4 that lets you remove old > disk icons from the screen after you're done with them. I'm usually > stuck with a few lying around, cluttering up my screen even after the > disks have been removed from the drives a long time ago. Workbench already removes disk icons when the system is done with them. AmigaDOS has the concept of a "lock" on a file. When you have made a directory current with CD, for example, a lock is placed on that directory. If you remove the disk that you have CD'ed to, it's icon will remain on the display. If you run a program that accesses files on a particular disk, the icon for that disk will remain on the display whether or not the disk is in the drive, because your application has locks on files on that disk. What this all boils down to is that even though *you* may done with the disk, the system may not. The icons for disks that the system is done with will go away. If there is still a reason for that disk to be needed again, the icon will not go away. Sometimes poorly written programs will not release locks on files they access. In that case, you can wind up with icons on your workbench display even though there are no programs around using files off that disk. There are programs around that can remove locks on files, mostly to deal with these poorly-written programs, but they should be used carefully. You don't want to wipe out a legitimate file lock. --M -- Michael Portuesi / Information Technology Center / Carnegie Mellon University INET: mp1u+@andrew.cmu.edu / BITNET: mp1u+@andrew UUCP: ...harvard!andrew.cmu.edu!mp1u+ "I'm very sorry, Master, but that WAS the backup system" -- Slave