unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Filesystem functionality used by notmuch
@ 2016-01-13 22:53 Erik Quaeghebeur
  2016-01-14 10:33 ` Tomi Ollila
  0 siblings, 1 reply; 2+ messages in thread
From: Erik Quaeghebeur @ 2016-01-13 22:53 UTC (permalink / raw)
  To: notmuch

Dear group,


Context: FUSE filesystem for accessing data in a database.

I understand that notmuch needs to be able to read a file given a filename (including its path). Are there any more requirements on the filesystem. For example, I assume that filename modification is optional (maildir flag changes). But perhaps notmuch makes use of times stored with files or some other file property?


Best,

Erik

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Filesystem functionality used by notmuch
  2016-01-13 22:53 Filesystem functionality used by notmuch Erik Quaeghebeur
@ 2016-01-14 10:33 ` Tomi Ollila
  0 siblings, 0 replies; 2+ messages in thread
From: Tomi Ollila @ 2016-01-14 10:33 UTC (permalink / raw)
  To: Erik Quaeghebeur, notmuch

On Thu, Jan 14 2016, Erik Quaeghebeur <notmuch@equaeghe.nospammail.net> wrote:

> Dear group,
>
>
> Context: FUSE filesystem for accessing data in a database.
>
> I understand that notmuch needs to be able to read a file given a
> filename (including its path). Are there any more requirements on the
> filesystem. For example, I assume that filename modification is optional
> (maildir flag changes). But perhaps notmuch makes use of times stored
> with files or some other file property?

notmuch new uses directory (and may, or may not (did not check) file) times
to figure out new files appearing in fs.

https://github.com/domo141/nottoomuch/blob/master/mboxviewfs.c is a FUSE 
filesystem which shows files in one mbox file as separate files; it uses
the Date: header for the times of individual files and last per month
for a directory times (files are shown in .../yyyy-mm/ directory hierarchy).

Tomi

>
> Best,
>
> Erik

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-14 10:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-13 22:53 Filesystem functionality used by notmuch Erik Quaeghebeur
2016-01-14 10:33 ` Tomi Ollila

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).