Date: Thu, 13 Mar 1997 02:18:20 -0500 (EST) From: "Mike A. Harris" Reply-To: "Mike A. Harris" To: evand AT scn DOT org cc: OpenDOS Mailing List Subject: Re: [opendos] BAD Filesystems In-Reply-To: Message-ID: Organization: Total disorganization. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-opendos AT mail DOT tacoma DOT net Precedence: bulk On Wed, 12 Mar 1997, Evan Dickinson wrote: > > > > On Tue, 11 Mar 1997, Mike A. Harris wrote: > > > On Tue, 11 Mar 1997, Evan Dickinson wrote: > > > > > > [Plan for using shared libraries snipped] > > > > > > This sounds good, but a stand-alone program that can update these files > > > would help. Something that would look for programs that were deleted but > > > not removed from the database, and delete their entries. Mabey it could > > > even act as a universal uninstaller. There'll still be allot of people > > > who use del *.* to remove programs, and most DOS programs don't have > > > uninstall routines. > > > > Perhaps a port of "file, locate, update, binstat, etc." and other > > utilities could simplify this. > > Would you care to tell us non-Unix people what these do? file - tells you what type a given file is. ie: JPEG, WAV, executable, shared library, AVI movie, C source file, etc... update - A utility that you run every now and then (twice a week on my system) which updates a database of every single file on your entire hard disk, and all mounted disks. This database is used by the locate command. Any time a new package is installed somewhere, update should be run manually. locate - A filefind program that works IMMEDIATELY!!!!!! Since uses the lightening fast database created by update, it doesn't need to scan your whole hard drive looking for files. binstat - a bash script that scans all of the directories in your path looking for executable files of any type, as well as shared libraries. It gives a statistics report telling you how many executables you have, what type they are, what libraries are ACTUALLY USED by a currently installed program. A port of binstat to DOS would allow you to find out what windows DLL's are NOT being used by any existing installed software for example. Then you could delete them, or automate such a task. These utilities were just a few that came off of the top of my head. There are others too. Mike A. Harris | http://blackwidow.saultc.on.ca/~mharris Computer Consultant | Coming soon: dynamic-IP-freedom... My dynamic address: http://blackwidow.saultc.on.ca/~mharris/ip-address.html mailto:mharris AT blackwidow DOT saultc DOT on DOT ca DJGPP: Free 32 bit DOS C compiler.