Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!rochester!ken From: ken@rochester.arpa (Ken Yap) Newsgroups: comp.unix.wizards Subject: Re: stupidity in directory management? Message-ID: <705@sol.ARPA> Date: Wed, 22-Jul-87 12:57:59 EDT Article-I.D.: sol.705 Posted: Wed Jul 22 12:57:59 1987 Date-Received: Fri, 24-Jul-87 04:52:40 EDT References: <603@nonvon.UUCP> <27300013@ccvaxa> Reply-To: ken@rochester.UUCP (Ken Yap) Organization: U of Rochester, CS Dept, Rochester, NY Lines: 16 |Not equivalent. Renaming to an invisible prefix leaves the file around; |the intent was to actually remove the file, so that the kernel can reuse |the blocks, but to leave enough information so that you can go and reconstruct |the file immediately after deletion. Yes, but how long is long enough? If the filesystem is under heavy use the freed blocks may be put to use again right away and this recovery scheme won't work some of the time, probably just when you *really* need it. Unless you want to implement a delete-purge scheme like in some other operating systems, my preference would be to leave such schemes out of the kernel. If one wants a file badly enough one should be willing to pay for the storage until one is sure it isn't needed anymore. Ken