[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Disk usage question
- To: guy keren <choo(at-nospam)actcom.co.il>
- Subject: Re: Disk usage question
- From: Oleg Goldshmidt <ogoldshmidt(at-nospam)computer.org>
- Date: 26 Mar 2001 15:06:39 +0200
- Cc: Ely Levy <elylevy(at-nospam)cs.huji.ac.il>, yevgeny <evgesha_63(at-nospam)chat.ru>, <linux-il(at-nospam)linux.org.il>
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: guy keren's message of "Mon, 26 Mar 2001 14:49:52 +0200 (EET)"
- Organization: Speaking for myself only.
- Original-Sender: ogoldshmidt@computer.org
- References: <Pine.GSU.4.30_heb2.09.0103261446150.15003-100000@actcom.co.il>
- Reply-To: ogoldshmidt(at-nospam)computer.org
- Sender: ogoldshmidt(at-nospam)comgates.co.il
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
- User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Cuyahoga Valley)
guy keren <choo@actcom.co.il> writes:
> what what? are you joking? block size is a singular value per file system,
> not something you can modify with an environment variable, but rather with
> a re-formatting of the file system. i don't assume that UFS works
> differently, does it ?
No, it doesn't. The du command reports the number of 1024-byte blocks
on Berkeley-like systems, of 512-byte blocks on SVR4 systems.
I think that the 30% difference is accounted for by holes on one of
the systems. Use "ls -l" to check that. For normal files "wc -c" and
"cat file > file.copy" would clarify the situation as well. For a
directory tree some tweaking, left as exercise to the inquisitive, is
needed to shed light on the mystery.
--
Oleg Goldshmidt | ogoldshmidt@NOSPAM.computer.org
"I'd rather write programs to write programs than write programs."
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il