[tahoe-lafs-trac-stream] [Tahoe-LAFS] #1432: Magic Folder on Mac OS X and other BSDs

Tahoe-LAFS trac at tahoe-lafs.org
Wed Oct 28 23:19:17 UTC 2015


#1432: Magic Folder on Mac OS X and other BSDs
-------------------------------------+-------------------------------------
     Reporter:  davidsarah           |      Owner:
         Type:  enhancement          |     Status:  new
     Priority:  normal               |  Milestone:  undecided
    Component:  code-frontend-       |    Version:  1.8.2
  magic-folder                       |   Keywords:  fsevents mac bsd magic-
   Resolution:                       |  folder
Launchpad Bug:                       |
-------------------------------------+-------------------------------------
Description changed by daira:

Old description:

> The Magic Folder feature currently only works on Linux (where it uses
> inotify to detect filesystem changes), and Windows (where it uses
> `ReadDirectoryChangesW`). This ticket is about supporting the same
> feature on Mac OS X and possibly other BSD-based operating systems.
>
> Mac OS X has the [http://en.wikipedia.org/wiki/FSEvents fsevents], and
> all BSDs including Mac OS X have kqueue/kevent. If I understand
> correctly, neither fsevents nor kqueue/kevent give notifications of which
> files have changed, so the implementation will have to scan the directory
> and look at last-modified times to determine that. (This is occasionally
> also necessary for correctness on Linux and Windows; see #1430.)

New description:

 The Magic Folder feature currently only works on Linux (where it uses
 inotify to detect filesystem changes), and Windows (where it uses
 `ReadDirectoryChangesW`). This ticket is about supporting the same feature
 on Mac OS X and possibly other BSD-based operating systems.

 Mac OS X has the [http://en.wikipedia.org/wiki/FSEvents fsevents] API, and
 all BSDs including Mac OS X have kqueue/kevent. If I understand correctly,
 neither fsevents nor kqueue/kevent give notifications of which files have
 changed, so the implementation will have to scan the directory and look at
 last-modified times to determine that. (This is occasionally also
 necessary for correctness on Linux and Windows; see #1430.)

--

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1432#comment:13>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list