9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: arisawa <arisawa@ar.aichi-u.ac.jp>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] curious mtime of cwfs
Date: Mon, 25 Feb 2013 19:17:36 +0900	[thread overview]
Message-ID: <294978A8-CF01-4A47-ADD4-42EA2A28D90B@ar.aichi-u.ac.jp> (raw)
In-Reply-To: <6b8af56ccf29a8e293aefcc39c79576f@rei2.9hal>

the role of directory mtime of plan9 is ambiguous for me.
that need not be same as that of unix because plan9 does not have ctime.
is there the specification?

by the way, directory atime is also difficult to understand.
the time is really useful?
readdir() returns 0 although cwfs has the value.

Kenji Arisawa

On 2013/02/25, at 17:23, cinap_lenrek@gmx.de wrote:

> i'm not sure. if you touch an existing file, then it makes sense
> that the files mtime gets updated, not the whole directory.
>
> wstat() and write() on a file only update the files mtime, not
> the parent directory.
>
> however creating a new file or deleting a file from a directory
> does change the directories mtime. (the dump change makes it
> consistent with that).
>
> --
> cinap
>




  reply	other threads:[~2013-02-25 10:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-25  1:04 arisawa
2013-02-25  1:17 ` arisawa
2013-02-25  5:55   ` cinap_lenrek
2013-02-25  7:24     ` arisawa
2013-02-25  8:23       ` cinap_lenrek
2013-02-25 10:17         ` arisawa [this message]
2013-02-25 10:34         ` Anthony Martin
2013-02-25 11:27           ` cinap_lenrek
2013-02-25 11:39           ` arisawa
2013-03-02 21:08           ` erik quanstrom
2013-03-03  3:30             ` arisawa

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=294978A8-CF01-4A47-ADD4-42EA2A28D90B@ar.aichi-u.ac.jp \
    --to=arisawa@ar.aichi-u.ac.jp \
    --cc=9fans@9fans.net \
    /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.
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).