On Fri, Sep 21, 2007 at 11:21:43AM +0200, Iñaki Baz Castillo wrote: [...] > --------------------------------------------------------------------------- > -x, --one-file-system > This tells rsync to avoid crossing a filesystem boundary when recursing. > This > does not limit the user's ability to specify items to copy from multiple > filesystems, just rsync's recursion through the hierarchy of each directory > that the user specified, and also the analogous recursion on the receiving > side during deletion. Also keep in mind that rsync treats a “bind” mount to > the same device as being on the same filesystem. > > If this option is repeated, rsync omits all mount-point directories from the > copy. Otherwise, it includes an empty directory at each mount-point it > encounters (using the attributes of the mounted directory because those of > the underlying mount-point directory are inaccessible). > --------------------------------------------------------------------------- > > Parece lo que quiero, es decir, copiaría /home pero como recursivamente > encuentra /home/nfs_mount que es un punto de montaje lo omitiría (otra cosa > es que yo indique específicamente que copie /home/nfs_mount, ¿es así?). > > No entiendo muy bien lo de "If this option is repeated, rsync omits all > mount-point directories from the copy", ¿significa que si pongo "-x -x" no me > copia NINGUN punto de montaje ni siquiera aunque lo especifique en > el "--include"?
No sé lo que pasará con un --include, pero lo que dice ahí es que -x copia los puntos de montaje como directorios vacíos, mientras que -x -x simplemente omite los puntos de montaje. -- Blu, -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

