[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wrong filesystem logged in mtab and reported running df
From: |
Paul Eggert |
Subject: |
Re: wrong filesystem logged in mtab and reported running df |
Date: |
Sun, 24 Sep 2006 22:25:53 -0700 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
Lee Powell <address@hidden> writes:
> It looks like 'df' is reporting the wrong filesystem name for / and
> /boot. These are showing as /dev/sda when they should probably be
> /dev/sdb.
> ...
> address@hidden ~]$ cat /etc/mtab
> /dev/sda5 / ext3 rw 0 0
> ...
> /dev/sda6 /boot ext3 rw 0 0
This indicates that / and /boot are /dev/sda, no? Perhaps the problem
is with whatever set up /etc/mtab, not with 'df' itself?
Assuming the problem is in 'df', you didn't mention which version of
coreutils you're using. You might try coreutils 6.2
<ftp://alpha.gnu.org/gnu/coreutils/coreutils-6.2.tar.gz>.
Also, you might use 'strace' to see whether the system calls
are reporting information consistent with what 'df' reports.