File size discrepancies

Matthew Seaman m.seaman at infracaninophile.co.uk
Fri Sep 28 11:41:17 PDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Modulok wrote:
> I have a file hierarchy of about 18GiB which was copied from a UFS 2
> file system one hard disk to a UFS 2 file system on a gmirror array.
> The size of the two hierarchies differ by 12 bytes according to du(1).
> No errors were reported by cp(1) during the copy operation.
> 
> Is this normal, or should I start hunting for corruption?

Hmmm... 12 bytes out of 18GiB is pretty good going.  A 12 byte
discrepancy could be due to something as simple as a changed path
name in a sym-link or two.  Most other reasonable explanations for a
size difference I can think of would probably result in a bigger
discrepancy.

	Cheers,

	Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG/UrG8Mjk52CukIwRCC8yAJwJfgq5bRiUxL0FmTJx0KRTSEl4iQCfR0LD
kgdxWwDRQCoGeCTOS0ANDGk=
=7DnR
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list