-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Botykai Zsolt wrote: | just got some warning about lack of disk space, so I cheched it. | # cd /home | # du --max-depth=0 -m | 3132 | # df -m | grep home | /dev/hda5 6733 5362 1030 84% /home | | Just thaught what hte heck??? | started to worrying, so fired up this mail to ask smart people on this list. | while writing, did the same check (2 minutes later, bcause of some | phone-calls). | | botykai-zsolt home # du --max-depth=0 -m | 3132 . | botykai-zsolt home # df -m | grep home | /dev/hda5 6733 3165 3227 50% /home | | WHAT? | | Here is the konsole in front of me, so I was able to check the commands I | issued. It is as seen above. | | What happened in those minutes? My computer ran xfce4, latest xorg, some apps | (OOo, sylpheed-claws, konsole, torsmo (which showed the disk space as df did), | root-tail, liferea, and xfmedia) the latest gentoo-dev-sources, ext3 | filesystems and 2.6.10-r7. | | Any idea what is it? |
I have no idea what you mean by minutes, but the difference between the sizes reported are do to the fact that df shows the amount of disk space used including what is used by the file system. While the du just reports what is being used by files and such. If you create a new filesystem without anything in it, and then do a df you will find that there is some space already taken. This space is used by the filesystem for inodes and super block backups, etc. There is also space reserved for root.
HTH Mike - -- Mike Noble Email: [EMAIL PROTECTED] Key ID: 0xFFDFC13B Key fingerprint: 8204 1297 B9AD 0CED 2FCE 1FB0 9491 5824 FFDF C13B Keyserver: http://pgpkeys.mit.edu -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFCC+nwlJFYJP/fwTsRArbdAJ9jaZetyCx7oNv24S87MrPChvt1pgCfSe3P wgZeYRpXwHzI7OyHRJHv9Cs= =PAJr -----END PGP SIGNATURE-----
-- [email protected] mailing list
