【问题标题】:inotify error on WSL在 WSL 上通知错误
【发布时间】:2018-03-21 14:42:35
【问题描述】:

我正在运行以下命令:

echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

并收到此错误:

sysctl: cannot stat /proc/sys/fs/inotify/max_user_watches: No such file or directory

我不知道该怎么办。我在 Windows 10 Build 1709、OS Build 16299.309 上运行 WSL

【问题讨论】:

    标签: windows-subsystem-for-linux inotify


    【解决方案1】:

    max_user_watches 在 1709 中没有实现。它似乎在 1803 中被修复。更多细节你可以参考这个 bug: https://github.com/Microsoft/WSL/issues/1705

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-04-13
      • 2020-07-06
      • 1970-01-01
      • 2019-06-21
      • 1970-01-01
      • 1970-01-01
      • 2018-09-22
      • 1970-01-01
      相关资源
      最近更新 更多