Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
atime (Re: PATCH: prompt escape tests)
- X-seq: zsh-workers 9537
- From: Tanaka Akira <akr@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: atime (Re: PATCH: prompt escape tests)
- Date: 03 Feb 2000 02:33:02 +0900
- In-reply-to: Dan Nelson's message of "Wed, 2 Feb 2000 10:51:04 -0600"
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <200002020834.JAA09905@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <rsq66w7zib1.fsf@xxxxxxxxxxxxxxxxx> <20000202105104.D31919@xxxxxxxxxxxxxxxx>
In article <20000202105104.D31919@xxxxxxxxxxxxxxxx>,
Dan Nelson <dnelson@xxxxxxxxxxxx> writes:
> I think it's a POSIX requirement that atime must be updated.
Hm.
> Lots of unixes do let let you disable atime updates though (usually by
> mount -o noatime). It's useful for news servers or FTP archives that
> do a lot of reading and don't really care about the atime field. I
> looked on my Solaris 2.6 box and there doesn't seem to be a way to
> disable atime updates. 7 or 8 might very well be able to, though.
It's server side config and not related to this problem.
Linux produces NFS requests by `touch t':
02:26:54.406581 thorax.jaist.ac.jp.1258203975 > crane.nfs: 112 lookup fh 32,10/568960 "t" (ttl 62, id 8982)
02:26:54.408238 thorax.jaist.ac.jp.1258203976 > crane.nfs: 144 create fh 32,10/568960 "t" (ttl 62, id 8983)
02:26:54.437421 thorax.jaist.ac.jp.1258203977 > crane.nfs: 136 setattr fh 32,10/569010 (ttl 62, id 8986)
and by `cat t':
02:27:08.065326 thorax.jaist.ac.jp.1258203978 > crane.nfs: 112 lookup fh 32,10/568960 "t" (ttl 62, id 9002)
02:27:08.067635 thorax.jaist.ac.jp.1258203979 > crane.nfs: 104 getattr fh 32,10/569010 (ttl 62, id 9003)
Some requests (especialy requests by `cat t') are omitted by cache.
Anyway, the server cannot updates atime since the client doesn't send
read requests.
--
Tanaka Akira
Messages sorted by:
Reverse Date,
Date,
Thread,
Author