Giter Club home page Giter Club logo

Comments (10)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
应该是可以的,这个是递归监控目录与子目录,你是用mkdir 
-p /a/b/c/d的吧,这个我以前听
有些用户反应在有些机器会出现监控路径丢失的现象,比如��
�只监控到b所在目录,c和d的没有。
但在centos下我测试过,即使使用-p参数一次建立多级目录,�
��不会出现监控丢失问题。不知道
您是什么系统,我也非常想重现这个问题,但在我的centos上 
mkdir -p a/b/c/d/e/f/g/ 都不会
丢失监控。
你的问题,如果实际应用就只是一次不建立多级,只是一级��
�级的建立是肯定没有问题的如: 
mkdir a 
cd a 
mkdir b
我很想重现这个错误,希望指出您的系统,和配置信息。

Original comment by [email protected] on 8 May 2010 at 2:15

from sersync.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
-r 
参数是将所有文件整体同步一遍,不存在你说的问题,你说��
�问题只是在实时同步时候有用户
出现过,但我在32位centos没有出现。如果你建立目录是逐层建
立,不是用-p 一次性建立应该也
可以用。很想知道这个问题是怎么出现的,我在自己机器上��
�论同时建立多少层都没问题,希望
您把您详细建立过程及其细节展示出来。

Original comment by [email protected] on 8 May 2010 at 3:29

from sersync.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
Linux localhost.localdomain 2.6.18-164.15.1.el5.centos.plus #1 SMP Wed Mar 17 
19:54:20 
EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

我先用-r 
参数同步到另一台机器的相同目录中去,例如/opt/website,等同�
��完之后,我再在/opt/website/a/这
个目录下新建文件和目录,就不会再自动同步到另一台机器��
�去,说明下,我的/opt/website这个目录有很多文件,容
量在40多G

Original comment by [email protected] on 9 May 2010 at 4:25

from sersync.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
你所说的在我的环境里可以用mkdir -p 
a/b/c/d/建很多层目录都可以同步,但就是不能同步子目录下的
文件,挺奇怪
的

Original comment by [email protected] on 9 May 2010 at 7:13

from sersync.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
在我的测试环境下,无论是新建立的目录和子目录或者子文��
�都可以同步,你可以先不用-r启动
sersync,然后测一下能否同步新建立的子目录和文件。我怀疑�
��能是-r选项造成的。因为我的
测试环境下没有那么多文件,-r瞬间就执行完毕了。还是想�
��道您是什么环境,具体配置方式,
因为在我这里不会出现无法同步子目录或子文件情况。

Original comment by [email protected] on 9 May 2010 at 9:07

from sersync.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
我又测了一下,原先监控目录下假如有a,那么开启sersync后,
在a下建立目录、子目录,并在目
录、子目录下建立文件都可以同步到远程,还是没有出现您��
�问题,我的是centos5.4,以前在
5.3环境下也没有子目录文件监控不了的事情发生。

Original comment by [email protected] on 9 May 2010 at 9:27

from sersync.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
inotify最多监控5千万个文件夹,你的不可能比这个多吧?

Original comment by [email protected] on 9 May 2010 at 9:36

from sersync.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
我也出现了这个问题,同样的东西,在32位CENTOS 
5.4上同步目录及子目录下的文件和目录都没
有问题,但在64位就只能同步当前目录的文件,子目录的不能
同步,作者能不能查一下原因?
急。。。

Original comment by [email protected] on 17 May 2010 at 9:59

from sersync.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
我的也是同步不了子目录以及子目录下的文件
Debian GNU/Linux 5.0 \n \l

Original comment by [email protected] on 22 Jun 2010 at 10:34

from sersync.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
我的也是同步不了子目录以及子目录下的文件
Debian GNU/Linux 5.0 \n \l
补充下我的也是64位

Original comment by [email protected] on 22 Jun 2010 at 11:06

from sersync.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.