folder size mis-match


Subject: folder size mis-match
From: Robert Fout (rfout@mahi.damien.edu)
Date: Thu Feb 17 2000 - 19:08:32 MST


Hey all,

I serve my own website on an internal home network, to preview my pages
before I publish them on the net for all to see. Since my MkLinux server's
only task is to do this, I have a separate partition set aside to backup the
/home/httpd/html directory. I wanted to make sure that everything was backed
up perfectly, and I used du to determine how much data was in each directory
(both the backup directory, and the original directory). After checking
several times, the backup directory seems to be greater in size than the
original directory (see below). Can anyone explain why this is?

I use this command to back stuff up: cp -r /home/httpd/html /webpage_backup

The reason ".AppleDouble" shows up everywhere is because I am running atalkd
on the system

This is what df shows (to see if partitions might be the cause of the
discrepancy)

Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/sda4 1081376 289298 736208 28% /
/dev/sda5 198299 29108 158951 15% /webpage_backup

This is the du of the original directory (the size of ./html is what I'm
referring to)

1 ./cgi-bin
6 ./html/8100/.AppleDouble
233 ./html/8100
5 ./html/G3/.AppleDouble
232 ./html/G3
12 ./html/backgrounds/previews/.AppleDouble
141 ./html/backgrounds/previews
14 ./html/backgrounds/.AppleDouble
2585 ./html/backgrounds
5 ./html/bryce2/previews/.AppleDouble
59 ./html/bryce2/previews
9 ./html/bryce2/.AppleDouble
1858 ./html/bryce2
53 ./html/dacc/.AppleDouble
1924 ./html/dacc
5 ./html/me/Bio/.AppleDouble
29 ./html/me/Bio
4 ./html/me/previews/.AppleDouble
23 ./html/me/previews
7 ./html/me/.AppleDouble
1111 ./html/me
11 ./html/mklinux/MIX/previews/.AppleDouble
37 ./html/mklinux/MIX/previews
12 ./html/mklinux/MIX/.AppleDouble
325 ./html/mklinux/MIX
3 ./html/mklinux/previews/.AppleDouble
55 ./html/mklinux/previews
7 ./html/mklinux/.AppleDouble
4097 ./html/mklinux
20 ./html/pov-ray/3.1/previews/.AppleDouble
282 ./html/pov-ray/3.1/previews
20 ./html/pov-ray/3.1/.AppleDouble
2441 ./html/pov-ray/3.1
85 ./html/pov-ray/previews/.AppleDouble
1380 ./html/pov-ray/previews
98 ./html/pov-ray/.AppleDouble
16710 ./html/pov-ray
31 ./html/.AppleDouble
28837 ./html
96 ./icons
28935 .

And this is what du shows for the backup (again, the size of ./html is what
I'm looking at)

12 ./lost+found
6 ./html/8100/.AppleDouble
233 ./html/8100
5 ./html/G3/.AppleDouble
232 ./html/G3
12 ./html/backgrounds/previews/.AppleDouble
141 ./html/backgrounds/previews
14 ./html/backgrounds/.AppleDouble
2585 ./html/backgrounds
5 ./html/bryce2/previews/.AppleDouble
59 ./html/bryce2/previews
9 ./html/bryce2/.AppleDouble
1858 ./html/bryce2
53 ./html/dacc/.AppleDouble
1924 ./html/dacc
5 ./html/me/Bio/.AppleDouble
29 ./html/me/Bio
4 ./html/me/previews/.AppleDouble
23 ./html/me/previews
7 ./html/me/.AppleDouble
1318 ./html/me
11 ./html/mklinux/MIX/previews/.AppleDouble
37 ./html/mklinux/MIX/previews
12 ./html/mklinux/MIX/.AppleDouble
325 ./html/mklinux/MIX
3 ./html/mklinux/previews/.AppleDouble
55 ./html/mklinux/previews
7 ./html/mklinux/.AppleDouble
4097 ./html/mklinux
20 ./html/pov-ray/3.1/previews/.AppleDouble
282 ./html/pov-ray/3.1/previews
20 ./html/pov-ray/3.1/.AppleDouble
2441 ./html/pov-ray/3.1
85 ./html/pov-ray/previews/.AppleDouble
1380 ./html/pov-ray/previews
98 ./html/pov-ray/.AppleDouble
16710 ./html/pov-ray
36 ./html/.AppleDouble
29095 ./html
29108 .

Thanks for the help folks,
Bob

---------------------------------------
"The knack to flying is learning how to
throw yourself at the ground and miss."

>From "Life the Universe and Everything"
by Douglas Adams

Robert Fout
MacOS Guru and MkLinux User
rfout@damien.edu
http://osx.damien.edu/rfout/
ICQ# 48433406



This archive was generated by hypermail 2a24 : Wed Mar 01 2000 - 00:07:11 MST