From owner-freebsd-bugs Fri Sep 28 1:20: 9 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3A8A037B40D for ; Fri, 28 Sep 2001 01:20:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f8S8K1h03759; Fri, 28 Sep 2001 01:20:01 -0700 (PDT) (envelope-from gnats) Received: from mailout04.sul.t-online.de (mailout04.sul.t-online.com [194.25.134.18]) by hub.freebsd.org (Postfix) with ESMTP id CD1DC37B409 for ; Fri, 28 Sep 2001 01:14:07 -0700 (PDT) Received: from fwd02.sul.t-online.de by mailout04.sul.t-online.de with smtp id 15msmY-0004EV-04; Fri, 28 Sep 2001 10:14:02 +0200 Received: from alvman.Haakh.de (320092418718-0001@[217.80.77.170]) by fmrl02.sul.t-online.com with esmtp id 15msmT-2Hx5KSC; Fri, 28 Sep 2001 10:13:57 +0200 Received: (from ah@localhost) by alvman.Haakh.de (8.11.6/8.11.5) id f8S8DuF62730; Fri, 28 Sep 2001 10:13:56 +0200 (CEST) (envelope-from ah) Message-Id: <200109280813.f8S8DuF62730@alvman.Haakh.de> Date: Fri, 28 Sep 2001 10:13:56 +0200 (CEST) From: Andreas Haakh Reply-To: Andreas Haakh To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: bin/30887: dump allways saves files with modified c-time Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 30887 >Category: bin >Synopsis: dump allways saves files with modified c-time >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Sep 28 01:20:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Andreas Haakh >Release: FreeBSD 4.4-STABLE i386 >Organization: Ingenieurbüro für Baustatik >Environment: System: FreeBSD alvman.Haakh.de 4.4-STABLE FreeBSD 4.4-STABLE #0: Thu Sep 20 15:47:07 CEST 2001 root@alvman.Haakh.de:/usr/src/sys/compile/ALVMAN i386 >Description: dump saves all files with changend m-time or changed c-time. Large files, where only c-time is changed, e.g. mailfolders, databases etc. will be saved day after day allthough the content of the files did not change. >How-To-Repeat: >Fix: ignore c-time anyway because there is no need to save files where only the status has changed or add another flag to dump and ignore c-time, based on this flag. A solution/workaround is to ignore c-time in the CHANGEDSINCE-macro in /usr/src/sbin/dump/traverse.c /* Auxiliary macro to pick up files changed since previous dump. */ #define CHANGEDSINCE(dp, t) \ - ((dp)->di_mtime >= (t) || (dp)->di_ctime >= (t)) + ((dp)->di_mtime >= (t)) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message