使用inotify
出现Failed to watch /mnt/;
upper limit on inotify watches reached!
Please increase the amount of inotify watches allowed per user via `/proc/sys/fs/inotify/max_user_watches’.、
不能直接cat vi进入文件修改,使用下面的方法
echo 8192000 > /proc/sys/fs/inotify/max_user_watches