Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Sep 2001 10:13:56 +0200 (CEST)
From:      Andreas Haakh <ah@Haakh.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/30887: dump allways saves files with modified c-time
Message-ID:  <200109280813.f8S8DuF62730@alvman.Haakh.de>

next in thread | raw e-mail | index | archive | help


>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109280813.f8S8DuF62730>