On 2016-03-07 13:54, John Lewis wrote:
> Hi Dave,
>
> On Mon, Mar 7, 2016 at 8:42 PM, Dave Howorth <dhowo...@mrc-lmb.cam.ac.uk>
> wrote:
>
>> Just do an ls -l of each and check the link count (i.e. second field) is
>> the same on the source and destination.
>>
>
>
> Linux:
>
> # ls -l sshd_config
> -rw-r--r-- 2 root root 2508 Mar  4 08:02 sshd_config
>
> FreeBSD:
>
> $ ls -l sshd_config
> -rw-r--r--  2 john  john  2508 Mar  4 01:02 sshd_config
>
>
> Linux:
> # ls -i sshd_config
> 42468355 sshd_config
>
> # find /backup/dirvish/adm -inum 42468355
> /backup/dirvish/adm/2016-03-07/tree/etc/ssh/sshd_config
> /backup/dirvish/adm/2016-03-06/tree/etc/ssh/sshd_config
>
>
> FreeBSD:
>
> $ ls -i sshd_config
> 148413 sshd_config
>
> $ find ~/dirvish -inum 148413
> /home/john/dirvish/dirvish/adm/2016-03-07/tree/etc/ssh/sshd_config
> /home/john/dirvish/dirvish/adm/2016-03-06/tree/etc/ssh/sshd_config
>
> Is this mean this is not a hard link issue?

Probably, as long as all the other files are hard-linked as they should 
be :)

Do an ls -lR of each system and then edit the results if necessary to 
get identical results that you can check with diff to see if they are 
the same. That should confirm that you have exactly the same files and 
that they are linked in the same way.


Filesystems vary in how much metadata they keep for each file, and how 
much space they 'waste' at the end of every file and so forth, so if you 
care you could investigate the BSD system and then compare against ext2/4.

[Crossed with Paul]

Cheers, Dave
_______________________________________________
Dirvish mailing list
Dirvish@dirvish.org
http://www.dirvish.org/mailman/listinfo/dirvish

Reply via email to