Mailinglist Archive: opensuse (3100 mails)
| < Previous | Next > |
Re: [SLE] Is the hard disk full? Cause found
- From: James Wright <jwright01@xxxxxxx>
- Date: Thu, 02 Mar 2006 23:43:18 -0500
- Message-id: <4407C966.70600@xxxxxxx>
Carlos E. R. wrote:
james@linux:~> cat > test_tar
Test File
james@linux:~> ls -l test_tar
-rw-r--r-- 1 james users 10 2006-03-02 23:41 test_tar
james@linux:~> tar -cf testit.tar test_tar
james@linux:~> ls -l testit.tar
-rw-r--r-- 1 james users 10240 2006-03-02 23:42 testit.tar
- James W.
-----BEGIN PGP SIGNED MESSAGE-----Yes, untaring an archive can result in smaller bytes. tar a simple text/ascii file and the resulting file will use more bytes.
Hash: SHA1
The Thursday 2006-03-02 at 23:40 +0100, Istvan Gabor wrote:
I understand that du counts the sizes incorrectly.
But there is another strangeness here:
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda4 9.4G 2.2G 7.2G 23% /home/user/sda4
Before untaring the archive its size was 3.2 GB. Is it possible that after untaring its size became smaller? Or df also reports false values?
I would have to study that one to know for certain.
You can also measure the space used with "mc". I think it calculates size summing up all files found.
james@linux:~> cat > test_tar
Test File
james@linux:~> ls -l test_tar
-rw-r--r-- 1 james users 10 2006-03-02 23:41 test_tar
james@linux:~> tar -cf testit.tar test_tar
james@linux:~> ls -l testit.tar
-rw-r--r-- 1 james users 10240 2006-03-02 23:42 testit.tar
- James W.
| < Previous | Next > |