Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jun 1998 17:33:24 -0400 (EDT)
From:      Mikhail Teterin <mi@video-collage.com>
To:        questions@FreeBSD.ORG
Subject:   file size confusion
Message-ID:  <199806182133.RAA16419@xxx.video-collage.com>

next in thread | raw e-mail | index | archive | help
Can someone, please, explain to me how is this possible?

According to `ls', the file is ~680Mb, but takes 99Mb:

mi@xxx:/var/tmp (1288) ls -ls TexturemationsVol1v1.1cdrPub.img 
99624 -rwxrw-rw-  1 mark  bin  681244672  6 อมส  1997 TexturemationsVol1v1.1cdrPub.img

According to `du' it takes only 99Mb too:
mi@xxx:/var/tmp (1289) du -k TexturemationsVol1v1.1cdrPub.img
99624   TexturemationsVol1v1.1cdrPub.img

Indeed, the entire /var partition only uses 266Mb:

mi@xxx:/var/tmp (1290) df -k
Filesystem        1K-blocks     Used    Avail Capacity  Mounted on
/dev/sd0s1a         1970964  1750362    62925    97%    /
/dev/sd1s1f         1374132   849279   414923    67%    /home
/dev/sd2s1a         1970964   431492  1381795    24%    /home/mi
/dev/sd1s1e          595839   266995   281177    49%    /var
procfs                    4        4        0   100%    /proc
silicon:/dumpling   1016685   277662   739022    27%    /dumpling
silicon:/claude     1887177   696774  1190403    37%    /claude

Thanks!

	-mi

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806182133.RAA16419>