From owner-cvs-src Sun Mar 2 15:23:13 2003 Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 69F0337B401; Sun, 2 Mar 2003 15:23:12 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2023943F75; Sun, 2 Mar 2003 15:23:12 -0800 (PST) (envelope-from gad@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h22NNB0U098241; Sun, 2 Mar 2003 15:23:11 -0800 (PST) (envelope-from gad@repoman.freebsd.org) Received: (from gad@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h22NNBdr098240; Sun, 2 Mar 2003 15:23:11 -0800 (PST) Message-Id: <200303022323.h22NNBdr098240@repoman.freebsd.org> From: Garance A Drosehn Date: Sun, 2 Mar 2003 15:23:11 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/newsyslog newsyslog.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-src@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG gad 2003/03/02 15:23:11 PST FreeBSD src repository Modified files: usr.sbin/newsyslog newsyslog.c Log: Add a command-line option of '-R somename', which indicates that newsyslog should rotate all files given on the command, even if they don't seem to need to be rotated. This would be used by some other command that decides the given log file(s) should be rotated, but wants the "how" of that rotation to be determined by entries to newsyslog. Wes expects to change syslogd to take advantage of this. Man page will be updated after we're sure this is all working the way we want it to. Reviewed by: no objections on freebsd-arch MFC after: 3 weeks MFC addendum: (or after the code-freeze of 4.x is lifted) Revision Changes Path 1.56 +77 -9 src/usr.sbin/newsyslog/newsyslog.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message