Re: After the copy, there is a directory size mismatch.

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

 



That is great.

Thanx Cameron, I never know :
----------------------
An active directory (which is a special type of file with name/inode
information in it, underneath) will acquire gaps in its data (eg
suppose you remove a file - it is more efficient to leave an "empty"
slot in the directory file data than to rewrite the whole directory).
So the physical sized of the directories themselves may differ even
though they contain the same filenames; the new directory from your copy
will often be smaller because is has only ever had stuff added to it,
and so probably has the most compact internal data structure.

It is also possible, though unlikely, that there were "sparse" files in
your original directory; they may not be sparse in the new copy.
----------------------
In that case can we compare the word count or charactor count ??

Thanx

--
Nilesh Vaghela
ElectroMech
Redhat Channel Partner and Training Partner
74, Nalanda Complex, Satellite Rd, Ahmedabad
25, The Emperor, Fatehgunj, Baroda.
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux