Re: folder size mis-match


Subject: Re: folder size mis-match
From: Robert Fout (rfout@mahi.damien.edu)
Date: Thu Feb 17 2000 - 21:16:14 MST


nope, don't have any sym links, and du -L didn't show anything different

---------------------------------------
"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

> From: Jim Cole <greyleaf@yggdrasill.net>
> Reply-To: yellowdog-general@lists.yellowdoglinux.com
> Date: Thu, 17 Feb 2000 21:11:27 -0700 (MST)
> To: yellowdog-general@lists.yellowdoglinux.com
> Subject: Re: folder size mis-match
>
> Hi. Do you by chance have any symbolic links in the original directory?
> I believe cp -r will follow links and copy what is pointed to while, by
> default, du will only count the size of the link, not the file it points
> to. What happens if you give du the -L option?
>
> Jim
>
> Robert Fout's bits of Thu, 17 Feb 2000 translated to:
>
>> 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
>



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