LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Help with df command (https://www.linuxquestions.org/questions/linux-software-2/help-with-df-command-300391/)

Happy5 03-11-2005 08:35 AM

Help with df command
 
Hello,

I am having a problem with df command :
Code:

root@linux [/var]# df
Filesystem          1K-blocks      Used Available Use% Mounted on
/dev/hda3            78012484  24921856  49127796  34% /
/dev/hda1              101089    18869    77001  20% /boot
none                    509696        0    509696  0% /dev/shm
/dev/tmpMnt            193687    37712    145975  21% /tmp
/tmp                    193687    37712    145975  21% /var/tmp
/tmp                    193687    37712    145975  21% /var/tmp
/tmp                    193687    37712    145975  21% /var/tmp
/tmp                    193687    37712    145975  21% /var/tmp
/tmp                    193687    37712    145975  21% /var/tmp
/tmp                    193687    37712    145975  21% /var/tmp
/tmp                    193687    37712    145975  21% /var/tmp
/tmp                    193687    37712    145975  21% /var/tmp
/tmp                    193687    37712    145975  21% /var/tmp
/tmp                    193687    37712    145975  21% /var/tmp
/tmp                    193687    37712    145975  21% /var/tmp
/tmp                    193687    37712    145975  21% /var/tmp
/tmp                    193687    37712    145975  21% /var/tmp
/tmp                    193687    37712    145975  21% /var/tmp
/tmp                    193687    37712    145975  21% /var/tmp
/tmp                    193687    37712    145975  21% /var/tmp
/tmp                    193687    37712    145975  21% /var/tmp
/tmp                    193687    37712    145975  21% /var/tmp

i have got no clue why it is repeatng the tmp this way

Kdr Kane 03-11-2005 09:52 AM

You have /dev/tmpMnt mounted on /tmp and /tmp mounted on /var/tmp.

You think that's what you want?

Happy5 03-11-2005 09:58 AM

is there way to take off those repeatitions ?

kees-jan 03-15-2005 07:42 AM

Hi,

The correct answer kind of depends on what you want. As Kdr Kane has pointed out (although not very verbose), your output is very unusual, not only because of the repetitions. You have /tmp listed in the first column, which means that it is treated as a hard-disk or similar device. This is bad, because it isn't it is a directory.

I do not know of any distribution that organises things this way, so my first guess would be to suspect a human error. Please reboot and see if the situation improves. Basically, /tmp should not be mounted on /var/tmp. That is the problem you should go after. Not the repetition issue. (if you issue the "mount" command, you'll see that it also repeats, so it isn't even df specific.

Groetjes,

Kees-Jan


All times are GMT -5. The time now is 12:10 AM.