From owner-freebsd-questions Sat Apr 15 2:30:49 2000 Delivered-To: freebsd-questions@freebsd.org Received: from skaarup.org (skaarup.org [130.228.230.140]) by hub.freebsd.org (Postfix) with ESMTP id 45F7437C006 for ; Sat, 15 Apr 2000 02:30:44 -0700 (PDT) (envelope-from rasmus@gal.dk) Received: from localhost (skaarup@localhost) by skaarup.org (8.9.3/8.9.3) with ESMTP id LAA60442; Sat, 15 Apr 2000 11:30:22 +0200 (CEST) (envelope-from rasmus@gal.dk) Date: Sat, 15 Apr 2000 11:30:22 +0200 (CEST) From: Rasmus Skaarup X-Sender: skaarup@skaarup.org To: Scott Blachowicz Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Erasing an IDE disk In-Reply-To: <20000414161657.A35142@sabami.seaslug.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 14 Apr 2000, Scott Blachowicz wrote: > Hi- > > I'm fixing to remove a disk from my system and give it to someone else. I want > to erase it to try to make sure that no personal or sensitive data can be > recovered from it. So, my first attempt was to install FreeBSD 4.0 on it, then > try to do this kind of stuff: > > dd if=/dev/zero of=/dev/ad0s2c > > but it complained about /dev/ad0s2c being a read-only file system. I can do > installs of DOS, Windoze, etc or various FreeBSD releases, if necessary to do > it. Actually I never tried it, but what about this: dd if=/dev/urandom of=/dev/ad0s2c Maybe you should give some kind of block kind along aswell (corresponding to the length of the drive, unless you're satisfied with only trashing the partitioning informatino?).. 'man dd' You are sure that your drives are mounted read-writeable? Best regards Rasmus To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message