🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cu.decstation.managers
Article #1180

SUMMARY: cleaning up files in /var/adm

#1180
From: Lucio Chiappetti
Date: Fri, 08 Sep 1995 00:00
17 lines
1342 bytes
I've asked whether the ever-growing log files in /var/adm can be deleted
or truncated. Common consensus was that deleting the files even if 
recreating them at zero size with touch is NOT the right thing because 
the system may still thinlkthey're open and write into nowhere.

The correct way to get rid of such files is :

    cat /dev/null > file

Thanks to :

"Michael A. Crowley" <mcrowley@mhc.mtholyoke.edu>
Can Baysal <baysalc@boun.edu.tr>
"Marcel A. Bernards" <bernards@ecn.nl>
Herve DEMARTHE <demarthe@alpha.cad.cea.fr>
Tim Cantin <tim@dorothy.wellesley.edu>
case@vax1.tristate.edu
Technical Details
Message-ID: <810577764.6543@news.Colorado.EDU>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1065d6,bcd4b0595fcd63ed,start
X-Google-Attributes: gid1065d6,public
From: Lucio Chiappetti <lucio@ifctr.mi.cnr.it>
Subject: SUMMARY: cleaning up files in /var/adm
Date: 1995/09/08
Message-ID: <810577764.6543@news.Colorado.EDU>
X-Deja-AN: 110019001
distribution: cu
sender: daemon@lace.Colorado.EDU
followup-to: poster
content-type: TEXT/PLAIN; charset=US-ASCII
x-note1: message-id generated by recnews
x-note2: mail msgid was   <Pine.3.89.9509081856.g14185-0100000@poseidon.ifctr.mi.cnr.it>
organization: Istituto di Fisica Cosmica e Tecnologie Relative
mime-version: 1.0
reply-to: Lucio Chiappetti <lucio@ifctr.mi.cnr.it>
newsgroups: cu.decstation.managers