Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Mar 1997 23:46:32 -0800
From:      David Greenman <dg@root.com>
To:        Andrew <andrew@ugh.net.au>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: File access times and filetest -A 
Message-ID:  <199703080746.XAA09883@root.com>
In-Reply-To: Your message of "Sat, 08 Mar 1997 17:57:03 %2B1100." <Pine.NEB.3.93.970308174938.14519A-100000@cottontail.hobart.tased.edu.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
>This probably isnt very FreeBSD specific but:
>
>In tcsh I type:
>
>mopsy~>filetest -A fred
>857803867
>mopsy~>more fred
>sdsfss
>mopsy~>filetest -A fred
>857803867
>
>
>The access time hasn't gone up despite the fact that I mored the file. man
>stat (I assume it is stat that is being used) says:
>
>st_atime     Time when file data last accessed.  Changed by the mknod(2),
>                   utimes(2) and read(2) system calls.
>
>Does more not use read? Is this jsut a bug? The real reason I'm asking is

   more [less] probably uses mmap() to read the file. Mmap (actually page
fault) doesn't update the access time on the file.

-DG

David Greenman
Core-team/Principal Architect, The FreeBSD Project



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