Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id BC6C2431FAE for ; Thu, 26 Nov 2009 10:38:29 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lzzwsllODf5j for ; Thu, 26 Nov 2009 10:38:29 -0800 (PST) Received: from mail-bw0-f224.google.com (mail-bw0-f224.google.com [209.85.218.224]) by olra.theworths.org (Postfix) with ESMTP id 63634431FBC for ; Thu, 26 Nov 2009 10:38:29 -0800 (PST) Received: by bwz24 with SMTP id 24so756517bwz.30 for ; Thu, 26 Nov 2009 10:38:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:cc:subject :in-reply-to:references:date:message-id:mime-version:content-type; bh=Zgx9rQtzFOntmw7D8+mZMpFzs0r2/5O740A+/yPUMcU=; b=mW/h7WpxaOMPeNFI08c5Pxn2ZcN2DvKp5fNvpaQM/IFRQq3T0/UrwO5yMT7ICy8xT0 rJeR1+vSBlM7+2AHmW7uMVXOw1wPfbuqJGZ8TWWWe1nHKVRXyGQ+fmp7m4KvZoDFGHZJ 5L6/HE96cR09c7zkM4x6h6CtlWh+Z4880A3MU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; b=PDx8aZW/qVHaAcDduaFfWQ7XgCQ7LwdTfy0JDfhuE52fSkgKPKqyek5uA1CDmaWyNJ cDqKDjNSF4U2cNZvHkeSvZR4sqN9jyJM02jMVaFsr5wIrggoT2QfWoG0kjVkpyJtS93x uyvQAdpMdwRUwLOcDTElu4yiWAmP9us7o2wbY= Received: by 10.204.162.143 with SMTP id v15mr103223bkx.50.1259260707565; Thu, 26 Nov 2009 10:38:27 -0800 (PST) Received: from kunyang (vawpc43.ethz.ch [129.132.59.11]) by mx.google.com with ESMTPS id h2sm1278825fkh.2.2009.11.26.10.38.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 26 Nov 2009 10:38:26 -0800 (PST) Sender: Jed Brown From: Jed Brown To: Carl Worth , Tassilo Horn , Mikhail Gusarov In-Reply-To: <871vjlrv8b.fsf@yoom.home.cworth.org> References: <87ws1hldmu.fsf@thinkpad.tsdh.de> <87einpl50j.fsf@thinkpad.tsdh.de> <87ljhxjq5i.fsf@vertex.dottedmag> <876391l2si.fsf@thinkpad.tsdh.de> <87vdh1472z.fsf@59A2.org> <871vjlrv8b.fsf@yoom.home.cworth.org> Date: Thu, 26 Nov 2009 19:39:01 +0100 Message-ID: <873a41dtbu.fsf@59A2.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: notmuch@notmuchmail.org Subject: Re: [notmuch] Notmuch doesn't index new mails when mail location contains symlinks X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Nov 2009 18:38:29 -0000 On Thu, 26 Nov 2009 10:34:12 -0800, Carl Worth wrote: > I'm a little confused here. Notmuch only uses stat, so it should be > looking at the target's mtime already. It actually takes special effort > (via lstat) to get at the mtime of the link itself. > > So why aren't things just working? Because mtime doesn't change on the directory *above* the symlinks. I think. Jed