Jail Duplication and du wierdness
Jan Grant
Jan.Grant at bristol.ac.uk
Wed Apr 30 05:29:54 PDT 2003
On Wed, 30 Apr 2003, iLLfated wrote:
> Lo all,
>
> I wanted to ask if I cp -R or cp -Rp a jail to a new
> path will it work as expected? I tried to copy one
> just recently with both commands, and the resulting
> path seems to report a different du -h size. I
> compared the 2 trees and even diffed the files in the
> trees and they seem to be the same, although du is
> still reporting them as different. Any ideas whats
> going wrong here?
According to the man page,
[[
Files having multiple hard links are counted (and displayed) a
single time per du execution.
]]
Your cp produced multiple instances of filenames that were linked to the
same underlying file in the original jail.
--
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
Ceci n'est pas une pipe |
More information about the freebsd-questions
mailing list