Subject: misc/13781: LFS directory update times
To: None <>
From: None <>
List: netbsd-bugs
Date: 08/25/2001 01:19:58
>Number:         13781
>Category:       misc
>Synopsis:       LFS directory update times
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 25 01:16:00 PDT 2001
>Originator:     grant beattie
>Release:        1.5
NetBSD fang 1.5 NetBSD 1.5 (GENERIC) #1: Sun Nov 19 21:42:11 MET 2000     fvdl@sushi:/work/trees/netbsd-1-5/sys/arch/i386/compile/GENERIC i386
After a write() call returns, the mtime on a file/directory is changed. lfs_cleanered also changes the mtime when committing changes to the file system.

Programs which use the mtime get confused because it is updated twice.
modify a file, note the mtime .. then note the mtime after lfs_cleanered cleans up.