Package: rsync
Version: 3.0.7-2
Severity: normal

Hi,

I make local partition backups using rsync, and rsync is the best!

I also run a filesystem meta-data script to validate the backup
partition against its original source.

Since I started using ext4 instead of ext3, the meta-data validation
step now fails because rsync truncates the time fraction to zero on the
destination filesystem.

Here is a simple typescript that illustrates the problem,

    $ find srcd -printf '%y %04m %3n %6U %6G %10s %T@ %p\n'
    d 0755   2   1001   1001       4096 1312323863.5645407420 srcd
    f 0644   1   1001   1001         15 1312307519.8524697750 srcd/s-file

    $ rsync -rlptgoDH -x --delete-before srcd/ ddir

    $ find srcd -printf '%y %04m %3n %6U %6G %10s %T@ %p\n'
    d 0755   2   1001   1001       4096 1312323863.5645407420 srcd
    f 0644   1   1001   1001         15 1312307519.8524697750 srcd/s-file

    $ find ddir -printf '%y %04m %3n %6U %6G %10s %T@ %p\n'
    d 0755   2   1001   1001       4096 1312323863.0000000000 ddir
    f 0644   1   1001   1001         15 1312307519.0000000000 ddir/s-file

    $ diff -r srcd/ ddir/ ; echo $?
    0

As one can see, the contents of srcd/ and ddir/ are identical, however, the
timestamps for all files in ddir/ have had their fractional part set to zero.

Thanks,
Jeffrey Sheinberg


-- System Information:
Debian Release: 6.0.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 
'stable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.38-bpo.2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages rsync depends on:
ii  base-files              6.0squeeze2      Debian base system miscellaneous f
ii  libacl1                 2.2.49-4         Access control list shared library
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  libpopt0                1.16-1           lib for parsing cmdline parameters
ii  lsb-base                3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip

rsync recommends no packages.

Versions of packages rsync suggests:
ii  openssh-client        1:5.5p1-6+squeeze1 secure shell (SSH) client, for sec
ii  openssh-server        1:5.5p1-6+squeeze1 secure shell (SSH) server, for sec

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to