From: Tanaka Akira <akr@jaist.ac.jp>
To: zsh-workers@sunsite.auc.dk
Subject: atime (Re: PATCH: prompt escape tests)
Date: 03 Feb 2000 02:33:02 +0900 [thread overview]
Message-ID: <rsq3drbzf01.fsf_-_@crane.jaist.ac.jp> (raw)
In-Reply-To: Dan Nelson's message of "Wed, 2 Feb 2000 10:51:04 -0600"
In article <20000202105104.D31919@dan.emsphone.com>,
Dan Nelson <dnelson@emsphone.com> 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
prev parent reply other threads:[~2000-02-02 17:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-02-02 8:34 PATCH: prompt escape tests Sven Wischnowsky
2000-02-02 16:21 ` Tanaka Akira
2000-02-02 16:51 ` Dan Nelson
2000-02-02 17:33 ` Tanaka Akira [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=rsq3drbzf01.fsf_-_@crane.jaist.ac.jp \
--to=akr@jaist.ac.jp \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).