Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!tut.cis.ohio-state.edu!iguana.cis.ohio-state.edu!meranda From: meranda@iguana.cis.ohio-state.edu (deron meranda) Newsgroups: comp.sys.amiga.programmer Subject: ramdrive repacking Message-ID: <88002@tut.cis.ohio-state.edu> Date: 5 Feb 91 02:50:02 GMT Sender: news@tut.cis.ohio-state.edu Reply-To: Organization: Ohio State University Computer and Information Science Lines: 24 Does anyone know about any programs which can "repack" a ramdrive? I use my RAM: rather heavily and have noticed that my main memory becomes fragmented. I have determined that most of the time this is caused by the ram device itself as files are created and later deleted. This is not much of a surprise to me and appears to be an expected behavior with the lack of virtual memory. However, it also seems quite possible for the files in the ram drive to be repacked (perhaps by user request) after more memory has been freed by other processes. Since the ramdrive.device is not a "real" disk device, I have no idea of its storage format. If a program does not already exist and no one else would like to tackle writing a ramdrive repacker, I might attempt one myself. But, I would like any hints, documentation, etc. that anyone might have about the ramdrive. ( The largest problem I foresee is dealing with outstanding locks. I would think that locks due to assigns could be easily remaped. What about the others? Any advice from DOS experts? ) Thanks! Deron E. Meranda ( meranda@cis.ohio-state.edu )