From: Adrian Perez de Castro <aperez@igalia.com>
To: notmuch@notmuchmail.org
Subject: Re: indexing mail?
Date: Thu, 14 Jan 2010 18:38:54 +0100 [thread overview]
Message-ID: <20100114183854.1d04f111@hikari> (raw)
In-Reply-To: <878wc0623y.fsf@exys.org>
[-- Attachment #1: Type: text/plain, Size: 1257 bytes --]
On Thu, 14 Jan 2010 18:13:53 +0100, Arvid wrote:
> On Thu, 14 Jan 2010 09:38:00 +0100, Arvid Picciani <aep@exys.org> wrote:
>
> > on the first run (when no .notmuch is there yet), it finds some
> > messages, but doesn't index them either.
Yuk! I logged-in via Gmail's web interface and found that I have some new
messages which are not being picked by Notmuch.
> the offending commit is 2c4555f1a56602ff1dd55a63699810522ba4d91e
>
> from readdir (3):
>
> "Currently, only some file systems (among them: Btrfs, ext2, ext3,
> and ext4) have full support returning the file
> type in d_type. All applications must properly handle a return
> of DT_UNKNOWN."
I am using XFS, which always returns DT_UNKNOWN. Taking into account that
there is a good deal of people using filesystems other than the ones you
mention, and that other non-linux filesystems may also return DT_UNKNOWN,
in my opinion there should be a fall-back. I will try to post a patch
Anytime Soon™.
Also, I have the feeling that the "d_type" field from "struct dirent" may
not be available in some OSes because it is a BSD extension.
Cheers,
--
Adrian Perez de Castro <aperez@igalia.com>
Igalia - Free Software Engineering
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2010-01-14 17:47 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-14 8:38 indexing mail? Arvid Picciani
2010-01-14 17:13 ` Arvid Picciani
2010-01-14 17:38 ` Adrian Perez de Castro [this message]
2010-01-14 22:42 ` Carl Worth
2010-01-15 3:28 ` Olly Betts
2010-01-15 6:47 ` Dirk-Jan C. Binnema
2010-01-15 7:27 ` Arvid Picciani
2010-01-23 6:09 ` Carl Worth
2010-01-23 6:28 ` Jesse Rosenthal
2010-01-23 9:47 ` Carl Worth
2010-01-23 14:29 ` Arvid Picciani
2010-01-23 14:34 ` Arvid Picciani
2010-01-15 7:30 ` Olly Betts
2010-01-15 19:57 ` Dirk-Jan C. Binnema
2010-01-15 20:15 ` Carl Worth
2010-01-15 21:41 ` Olly Betts
2010-01-16 15:20 ` Dirk-Jan C. Binnema
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
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100114183854.1d04f111@hikari \
--to=aperez@igalia.com \
--cc=notmuch@notmuchmail.org \
/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://yhetil.org/notmuch.git/
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 read-only IMAP folder(s) and NNTP newsgroup(s).