Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Nicola Sarobba <nicola.sarobba <at> gmail.com>
Subject: mtree checksum differenti
Newsgroups: gmane.os.freebsd.italian.aiuto
Date: Thursday 14th April 2016 13:57:14 UTC (about 1 year ago)
Ciao a tutti,
non capisco perché ricevo due checksum diversi dai comandi:

[email protected]:~/hids % sudo mtree -c -s 12345678 -K cksum,sha256digest -p /etc/ >
./mtree_etc
mtree: /etc checksum: 537704636
[email protected]:~/hids % sudo mtree -s 12345678 -p /etc/ -f mtree_etc
mtree: /etc checksum: 4159200948

in tutti gli esempi che ho visto circa l'uso di mtree i due checksum
coincidono.
Non dovrebbero essere uguali?

% uname -r
10.1-RELEASE-p31

% ls -l /etc
[...]
lrwxr-xr-x  1 root  wheel        14 Nov 11  2014 unbound -> ../var/unbound
drwxr-xr-x  2 root  wheel       512 Nov 11  2014 zfs

allora ho aggiunto il flag -P (Don't follow symbolic links in the file
hierarchy...), ma il risultato non
cambia.

-- 
Nicola Sarobba
 
CD: 4ms