Having recently unpacked and come across a newly unused box, I decided
to retire my crufty old Debian and install a fresh new Debian.
After mucking around with rsync to transfer my Maildir, I gave up on
that and went with the old standby tar.
I used:
$ tar vSczpf /tmp/maildir.tar Maildir/
to make the .tar, transfered it over to the new box and used:
$ tar Sxvzpf maildir.tar
to untar it.
So far, so good, but in checking the transfer, I noticed something odd.
When I check the size of the directory, I get different sizes on the
different machines:
sprocket:~/Maildir$ du -s
1349688 .
doc:~/Maildir$ du -s
1349528 .
So I figured something didn't copy, but:
sprocket:~/Maildir$ find | wc -l
83123
doc:~/Maildir$ find | wc -l
83123
Doesn't that suggest everything copied correctly?
I should note that sprocket is ext2, and doc is ext3. Would that account
for the difference? I figured du was reporting actual bits taken up, but
maybe it's counting blocks or somesuch?
-ajb
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list