rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] File change detection using hashes


From: Wiebe Cazemier
Subject: Re: [rdiff-backup-users] File change detection using hashes
Date: Sat, 11 Feb 2006 00:23:39 +0100
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051026)

On 02/10/06 18:00, Vadim Kouzmine wrote:

>
>I did the same and mtime has changed for me:
>
>dd if=/dev/urandom of=a count=1
>dd if=/dev/urandom of=b count=1
>
>stat a b
>  File: `a'
>  Size: 512             Blocks: 8          IO Block: 131072 regular file
>Device: 806h/2054d      Inode: 2094563     Links: 1
>Access: (0664/-rw-rw-r--)  Uid: ( 1001/kouzminv)   Gid: (  440/  vadiki)
>Access: 2006-02-10 11:49:56.000000000 -0500
>Modify: 2006-02-10 11:49:56.000000000 -0500
>Change: 2006-02-10 11:49:56.000000000 -0500
>  File: `b'
>  Size: 512             Blocks: 8          IO Block: 131072 regular file
>Device: 806h/2054d      Inode: 2094711     Links: 1
>Access: (0664/-rw-rw-r--)  Uid: ( 1001/kouzminv)   Gid: (  440/  vadiki)
>Access: 2006-02-10 11:50:01.000000000 -0500
>Modify: 2006-02-10 11:50:01.000000000 -0500
>Change: 2006-02-10 11:50:01.000000000 -0500
>
>cp a b
>
>stat a b
>  File: `a'
>  Size: 512             Blocks: 8          IO Block: 131072 regular file
>Device: 806h/2054d      Inode: 2094563     Links: 1
>Access: (0664/-rw-rw-r--)  Uid: ( 1001/kouzminv)   Gid: (  440/  vadiki)
>Access: 2006-02-10 11:51:20.000000000 -0500
>Modify: 2006-02-10 11:49:56.000000000 -0500
>Change: 2006-02-10 11:49:56.000000000 -0500
>  File: `b'
>  Size: 512             Blocks: 8          IO Block: 131072 regular file
>Device: 806h/2054d      Inode: 2094711     Links: 1
>Access: (0664/-rw-rw-r--)  Uid: ( 1001/kouzminv)   Gid: (  440/  vadiki)
>Access: 2006-02-10 11:50:01.000000000 -0500
>Modify: 2006-02-10 11:51:20.000000000 -0500
>Change: 2006-02-10 11:51:20.000000000 -0500
>
>Notice *** Modify: 2006-02-10 11:51:20.000000000 -0500 ***
>
>I think you miss SECONDS in your lh listing. Looks like "b" was created
>15:47 and then you copied a -> b at 15:47.
>
>Vadim
>
Sorry, me stupid :)

But, the problem still exists, use "mv" instead "cp". I remembered
incorrectly which command it was.

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]