TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

A quick review of file watchers

38 pointsby vincebowdren3 months ago

7 comments

jbreckmckye3 months ago
Fun fact, chokidar is a Sanskrit word meaning watchman.<p>It has an interesting root, it comes from the Proto Indo-European word for &quot;four&quot;, because he must watch any enclosure of four walls. This ancient word is the source of the Latin &quot;quartus&quot; which comes into English as &quot;quarter&quot;<p>The PIE sense is echoed a little in phrases like &quot;living quarters&quot;, &quot;give no quarters&quot; etc
评论 #43024469 未加载
bjconlan3 months ago
It&#x27;s a shame that fanotify[0] wasn&#x27;t pointed out in this document also.<p>Only since seeing it used in &#x27;zigs --watch&#x27; impl on Linux[1] (and the fact that I need to enable admin capabilities to run this in a container) has informed me of it&#x27;s existence.<p>0. <a href="https:&#x2F;&#x2F;docs.kernel.org&#x2F;admin-guide&#x2F;filesystem-monitoring.html" rel="nofollow">https:&#x2F;&#x2F;docs.kernel.org&#x2F;admin-guide&#x2F;filesystem-monitoring.ht...</a><p>1. <a href="https:&#x2F;&#x2F;ziggit.dev&#x2F;t&#x2F;initial-implementation-of-zig-build-watch-just-landed-in-master-branch&#x2F;5117&#x2F;8" rel="nofollow">https:&#x2F;&#x2F;ziggit.dev&#x2F;t&#x2F;initial-implementation-of-zig-build-wat...</a>
kragen3 months ago
This is very timely!<p>Linux still doesn&#x27;t have a networked file watching protocol, does it? Like SGI fam, which gamin is based on. I understand SMB&#x2F;CIFS supports this in the protocol, but Linux clients don&#x27;t, and I don&#x27;t remember if Samba does as a server.<p>inotify is still an ugly and error-prone interface but it does basically work.<p>What does the situation look like on other free OSes?<p>A common related requirement is to access a given version of a file, for example so that you know it&#x27;s consistent with itself. Linux does support so-called &quot;reflinks&quot; for this... but ext4 doesn&#x27;t. Sad trombone.
vincebowdren3 months ago
Listing 33 different file watcher programs for linux, with strengths and weaknesses
simonmic3 months ago
A very useful list, thanks! I hope you&#x27;ll keep updating it.<p>I guessed the date(s) indicated the tool&#x27;s approximate period of active development, but apparently not ? Eg watchexec says &quot;2016-2019&quot; but had a major release a few days ago.<p>[Ah. Because this post is from 2019, and wasn&#x27;t flagged as such on HN, and the list needs updating.]
gorbachev3 months ago
From 2019
fitsumbelay3 months ago
`entr` is the homie
评论 #43040213 未加载
评论 #43024134 未加载