Subject: misc/13781: LFS directory update times
To: None <gnats-bugs@gnats.netbsd.org>
From: None <grant@grunta.com>
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
>Closed-Date:
>Last-Modified:
>Originator: grant beattie
>Release: 1.5
>Organization:
>Environment:
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
>Description:
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.
>How-To-Repeat:
modify a file, note the mtime .. then note the mtime after lfs_cleanered cleans up.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: