[tahoe-lafs-trac-stream] [tahoe-lafs] #1432: drop-upload on Mac OS X and other BSDs

tahoe-lafs trac at tahoe-lafs.org
Thu Nov 15 06:08:13 UTC 2012


#1432: drop-upload 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
   Resolution:                 |   Keywords:  drop-upload fsevents mac bsd
Launchpad Bug:                 |
-------------------------------+------------------------------------------

Old description:

> The drop-upload feature (#1429) uses inotify to detect filesystem
> changes, and therefore works only on Linux. 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; see #1430.)

New description:

 The drop-upload feature (#1429) uses inotify to detect filesystem changes,
 and therefore works only on Linux. 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; see #1430.)

--

Comment (by malaparte):

 I thought I'd just save this thought here, because I don't know if I have
 time to look at it closely. Have you considered 'watchdog'
 [http://packages.python.org/watchdog/] to watch for changes on a folder
 across platforms?

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


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