From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,88d31e8359fbcea8 X-Google-Attributes: gid1164f8,public X-Google-Thread: 1020c6,88d31e8359fbcea8 X-Google-Attributes: gid1020c6,public From: Casper.Dik@Holland.Sun.COM (Casper H.S. Dik - Network Security Engineer) Subject: Re: st_atime not being updated over NFS mount Date: 1996/09/20 Message-ID: <51u8oh$hph@flonk.uk.sun.com>#1/1 X-Deja-AN: 184185596 references: organization: Sun Microsystems, Netherlands newsgroups: comp.unix.admin,comp.sys.dec Gary Wong writes: >changed; if I read the file several times in a row over an interval of >several minutes, the first read would update the timestamp, but subsequent >ones wouldn't. Is there some caching effect getting in the way here?) >Both the server and client machines in question are running Digital UNIX >4.0, and the filesystem is an advfs. Has anybody got any ideas what's >causing this problem, or what I might try to fix it? The cause is client side caching, since most if not all NFS clients leave atime updates to the server, client side reads satisfied from the client's cache will not cause atime updates on the server as there are no server side reads. You can get the result you want by disabling client side caching, but I think you'll agree that the cure is worse than the ailment. Casper -- Expressed in this posting are my opinions. They are in no way related to opinions held by my employer, Sun Microsystems. Unsolicited e-mail advertisements sent to my address will be proofread for a $250 flat fee.