Subject: Re: Very strange behaviour of LFS and TMPFS
To: Patrick Welche <prlw1@newn.cam.ac.uk>
From: Aleksey Cheusov <cheusov@tut.by>
List: netbsd-help
Date: 11/18/2007 21:59:28
> On Sat, Nov 17, 2007 at 10:05:35PM +0200, Aleksey Cheusov wrote:
>> > On Wed, Nov 14, 2007 at 08:30:25PM +0200, Aleksey Cheusov wrote:
>> > ...
>> >> 0 trtr>touch file0
>> >> 0 trtr>make file3
>> > ...
>> >> After toching file0, file3 is rebuilt NOT ALWAYS. Why?
>>
>> > How long do you wait between the "touch" and the "make"?
>> You mix message from testing LFS/TMPFS and "after touching..." message
>> that concerns EXT2FS only.
> Actually, I mixed up touch and make... Does
> make file3; sleep 5; touch file0; make file3
> always work?
It always doesn't.
0 trtr>make file3; sleep 5; touch file0; make file3
cat file1 > file2
`file3' is up to date.
cat file0 > file1
cat file1 > file2
`file3' is up to date.
0 trtr>make file3; sleep 5; touch file0; make file3
cat file0 > file1
cat file1 > file2
`file3' is up to date.
cat file0 > file1
cat file1 > file2
`file3' is up to date.
0 trtr>make file3; sleep 5; touch file0; make file3
cat file0 > file1
cat file1 > file2
`file3' is up to date.
cat file0 > file1
cat file1 > file2
`file3' is up to date.
0 trtr>
Makefile:
file1 : file0
cat file0 > $@
file2 : file1
cat file1 > $@
file3 : file2
cat file2 > $@
--
Best regards, Aleksey Cheusov.