[Dirvish] Small question on the use of hardlinks in dirvish

Johannes Kastl bierkastl at freenet.de
Sun Jul 9 20:09:46 UTC 2006

Hi everyone,

I encountered on little thing, that puzzles me:

At the moment I try dirvish, and use it to backup a directory
Adminstration in my home. Inside it there is a file called
VMware-server-1.0.0-27828.i386.rpm, specifically in
Administration/9_3/RPMs/installiert/. It is backup and hardlinked with
dirvish to /mnt/BACKUP/DIRVISH_TEST/home/:

> ojkastl at RobinLinux:/mnt/BACKUP/DIRVISH_TEST/home> ll 20060709-2145/tree/9_3/RPMs/installiert/
> insgesamt 112M
> [...]
> -rw-r--r--  22 ojkastl users 100M 2006-07-07 20:17 VMware-server-1.0.0-27828.i386.rpm
> ojkastl at RobinLinux:/mnt/BACKUP/DIRVISH_TEST/home> 

So it has 22 hardlinks on it, if I read that corectly.

If I now copy the file to Administration/, and wait til dirvish is run
again, I would expect that it will get hardlinked, as it is on the
bank already. But:

> ojkastl at RobinLinux:/mnt/BACKUP/DIRVISH_TEST/home> ll 20060709-2145/tree/
> insgesamt 123M
> [...]
> -rw-r--r--   1 ojkastl users 100M 2006-07-06 15:34 VMware-server-1.0.0-27828.i386.rpm
> ojkastl at RobinLinux:/mnt/BACKUP/DIRVISH_TEST/home> 

And then I tried if it is the same file, or one of them is corrupted:

> ojkastl at RobinLinux:~/Administration> md5sum VMware-server-1.0.0-27828.i386.rpm
> b0be939d8e5375f98b16c8e49dc7cdbf  VMware-server-1.0.0-27828.i386.rpm
> ojkastl at RobinLinux:~/Administration> md5sum 9_3/RPMs/installiert/VMware-server-1.0.0-27828.i386.rpm
> b0be939d8e5375f98b16c8e49dc7cdbf  9_3/RPMs/installiert/VMware-server-1.0.0-27828.i386.rpm
> ojkastl at RobinLinux:~/Administration>

Is there something wrong with my installation or usage of dirvish, or
is this intented behaviour?

I love deadlines. I like the whooshing sound they make as they fly by.
(Douglas Adams)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://lists.dirvish.org/pipermail/dirvish/attachments/20060709/dda7c870/attachment.sig>

More information about the Dirvish mailing list