Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!gatech!rayssd!unisec!dpw From: dpw@unisec.UUCP Newsgroups: comp.unix.wizards Subject: Re: rm with a block scrub Message-ID: <520@unisec.usi.com> Date: Tue, 19-May-87 21:01:46 EDT Article-I.D.: unisec.520 Posted: Tue May 19 21:01:46 1987 Date-Received: Thu, 21-May-87 04:36:42 EDT References: <7421@brl-adm.ARPA> <6899@alice.UUCP> Reply-To: dpw@unisec.USI.COM (Darryl P. Wagoner) Organization: UniSecure Systems, Inc. Newport, RI Lines: 19 Summary: Check the number of links first In article <6899@alice.UUCP> ark@alice.UUCP writes: In article <7421@brl-adm.ARPA>, evins@nrl-radar.arpa writes: >> Does anyone know of a version of rm that allows you to scrub blocks >> clean before making them available, for BSD VAXes and Suns. >Before you unlink the file, open it for output and write a block >of zeroes over every block of the file. Then sync() and unlink it. Before you go out "scrubbing" the file with zeros make sure it is the last link or you will find yourself with a file that has been wiped clean. Could have some very bad results if it was say, ptmp. -- Darryl Wagoner UniSecure Systems, Inc.; dpw@unisec.usi.com Newport, RI; (401)-849-0857 UUCP: {gatech|mirror|cbosgd|uiucdcs|ihnp4}!rayssd!unisec!dpw