Directory transfer oddness..
kplug at thebucks.net
Mon Jun 6 02:29:07 PDT 2005
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.
$ 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
sprocket:~/Maildir$ du -s
doc:~/Maildir$ du -s
So I figured something didn't copy, but:
sprocket:~/Maildir$ find | wc -l
doc:~/Maildir$ find | wc -l
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?
More information about the KPLUG-List