On Thu, Aug 31, 2000 at 03:43:56PM +0200, L. AHMADI wrote:
> Hi,
>
> I use rsync to mirror users directories from a Dec Unix box to a Linux
> box. Rsync has a nice feature : the remote-update protocol to make
> transfer very fast. Unfortunately, I discover that the size of
> directories are always 4096 in Linux (?)
Linux (more accurately, ext2fs) allocates directories in whole blocks,
so they start at 4096 and go up. They never shrink. This obviously
counts only the length of the directory entries (inum + name) and not
the files in the directory.
> and are of different sizes in DecUnix. So, even with no changes in
> directories, rsync can't skip any file to transfer because of the
> mentioned problem . I see any rsync option which can help me.
rsync recurses down through the directories and compares the size &
timestamp of the files. If they're the same, and you didn't specify
--ignore-times, then the file is skipped. I don't see any problem.
--
Martin Pool, Linuxcare, Inc.
+61 2 6262 8990
[EMAIL PROTECTED], http://www.linuxcare.com/
Linuxcare. Support for the revolution.
PGP signature