From owner-freebsd-questions Tue Mar 30 11:31: 8 1999 Delivered-To: freebsd-questions@freebsd.org Received: from alpha.comkey.com.au (alpha.comkey.com.au [203.9.152.215]) by hub.freebsd.org (Postfix) with SMTP id 61CE514C3A for ; Tue, 30 Mar 1999 11:31:01 -0800 (PST) (envelope-from gjb@comkey.com.au) Received: (qmail 25639 invoked by uid 1001); 30 Mar 1999 10:46:50 -0000 Message-ID: <19990330104650.25638.qmail@alpha.comkey.com.au> X-Posted-By: GBA-Post 1.04 06-Feb-1999 X-PGP-Fingerprint: 5A91 6942 8CEA 9DAB B95B C249 1CE1 493B 2B5A CE30 Date: Tue, 30 Mar 1999 20:46:50 +1000 From: Greg Black To: Kevin Weiss Cc: freebsd-questions@FreeBSD.ORG Subject: Re: a full /var system...thank you all References: <3.0.5.32.19990327161941.009052b0@mail.utexas.edu> In-reply-to: <3.0.5.32.19990327161941.009052b0@mail.utexas.edu> of Sat, 27 Mar 1999 16:19:41 CST Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 5) make sure it is safe to delete the file (I did "vi mgetty.cuaa1", > and noticed it was a bunch of calls to my serial port from > modem, and vice versa) Using vi or any other program that likes to read whole files into memory and/or make temporary working copies of files may not be the smartest thing to do when you have a space problem. If you do want to look at such a file, use something that just reads it a chunk at a time like less or more or head or tail or cat ... > 6) delete the file (the file in my case was 28MB!!!) > > MENTAL NOTE: FreeBSD took next to NO TIME deleting this file...I'm > impressed :-) There's nothing much to it, so it should be quick. It's not as though the actual data is removed. -- Greg Black To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message