9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Steven Stallion <sstallion@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Odd dirwstat behavior
Date: Sun, 22 Feb 2015 15:31:38 -0600	[thread overview]
Message-ID: <CAGGHmKFK+DZ407Hs_QSTO9tm=82baHJmOFCF_DPwa=_YW6Ao0g@mail.gmail.com> (raw)
In-Reply-To: <CAGGHmKGr7huGsbCzjpDf=J2b9DAVH-mHHjsuJ=ZMHeLD2=7P5A@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1038 bytes --]

On Sun, Feb 22, 2015 at 2:53 PM, Steven Stallion <sstallion@gmail.com>
wrote:

> 9fans,
>
> Somewhat recently I've been doing some work to preserve older fs
> hierarchies. When running replica/pull I'm seeing something quite strange.
> Both the log and database are reporting the original (and correct) mtime
> for directories, however for some reason replica/applylog (or the
> filesystem) is setting the mtime to time(0). After digging through the
> applylog source, I found a couple of conditions that could cause this,
> however my modifications have been for naught. This is annoying as hell
> given the fact I'm going through this rigamarole to preserve permissions
> and dates.
>
> FWIW, replica/applylog is running against a fossil filesystem served out
> of devmnt with the following configuration:
>
> fsys main config
> fsys main open -APVW
>
> Any ideas?
>

Ugh. I see the problem - a second pass is not made by applylog to update
the mtime after files have been applied. Patch forthcoming.

Steve

[-- Attachment #2: Type: text/html, Size: 1450 bytes --]

  reply	other threads:[~2015-02-22 21:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-22 20:53 Steven Stallion
2015-02-22 21:31 ` Steven Stallion [this message]
2015-02-23  3:22   ` erik quanstrom

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='CAGGHmKFK+DZ407Hs_QSTO9tm=82baHJmOFCF_DPwa=_YW6Ao0g@mail.gmail.com' \
    --to=sstallion@gmail.com \
    --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).