*BSD News Article 75996


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!fu-berlin.de!irz401!not-for-mail
From: uk1@irz.inf.tu-dresden.de (Ulf Kieber)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: can we clear SWAP?
Date: 12 Aug 1996 20:48:56 +0200
Organization: Dept. of Computer Science, TU Dresden, Germany
Lines: 22
Distribution: world
Message-ID: <4unuao$cng@irz201.inf.tu-dresden.de>
References: <4ujp1c$dbm@metro.usyd.edu.au> <4ul7a6$nk@uriah.heep.sax.de>
Reply-To: uk1@irz.inf.tu-dresden.de (Ulf Kieber)
NNTP-Posting-Host: irz201.inf.tu-dresden.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit


In article <4ul7a6$nk@uriah.heep.sax.de>, j@uriah.heep.sax.de (J Wunsch)
writes:
>mbouhaid@extro.ucc.su.oz.au wrote:
>
>> Can we clear the swap?
>> or in other words is it possible to format the swap drive?
>
>You can dd /dev/zero all over it, but obviously, only while it is not
>yet in use (i.e., in single-user mode before swapon has been run).

Well, actually dd seek=<a 64k worth of blocks> if=/dev/zero ...

Joerg, SCNR.  :)

-- 
Ulf Kieber

     <{uk1, news}@irz.inf.tu-dresden.de>;
     <kieber@sax.sax.de>; <ulf@maria.wustl.edu>

Don't expect me to be a breeder, and I won't assume you're a fag.