View previous topic :: View next topic |
Author |
Message |
gerni Tux's lil' helper
Joined: 14 Jul 2002 Posts: 107 Location: Austria
|
Posted: Wed Aug 28, 2002 7:33 pm Post subject: error when i do "df" |
|
|
after the installation i wanted to look how much diskspace is used:
df returned the following error-msg:
"df: cannot read table of mounted filesystems"
does anybody know what's the problem?
thanx, Gernot |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20054
|
Posted: Wed Aug 28, 2002 7:36 pm Post subject: |
|
|
OK, rac showed me this new 'toy', so I'm curious to see how helpful it is. What is the output from 'strace -eopen -f df'? You probably need to emerge strace first. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Wed Aug 28, 2002 7:42 pm Post subject: |
|
|
Are you booted from your newly compiled kernel, or still inside a chroot jail? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
gerni Tux's lil' helper
Joined: 14 Jul 2002 Posts: 107 Location: Austria
|
Posted: Wed Aug 28, 2002 8:22 pm Post subject: |
|
|
i already booted my system without an error
strace -eopen -f df:
open("/etc/ld.so.preload", O_RDONLY) = 3
open("/lib/libsandbox.so", O_RDONLY) = 3
open("/etc/ld.so.cache", O_RDONLY) = 3
open("/lib/libc.so.6", O_RDONLY) = 3
open("/lib/libdl.so.2", O_RDONLY) = 3
open("/etc/mtab", O_RDONLY) = 3
df: cannot read table of mounted filesystems
---
my system is a new installed gentoo 1.4 stage 1 (booted from an 1.2iso)
used compiler: 3.2 final, CFLAGS="-march=i686 -O3 -pipe"
---
what i probably should mention:
on the first reboots the checkroot init-script faild (and scripts that depend on checkroot). Then i added an echo "" at the end of the checkroot-script (before the last "fi") and all scrips started without an error at the next reboot (i don't know why, but it works).
i don't know exactly what for this checkroot-script is, but propably it don't start correctly. i don't know if this is a problem... |
|
Back to top |
|
|
gerni Tux's lil' helper
Joined: 14 Jul 2002 Posts: 107 Location: Austria
|
Posted: Wed Aug 28, 2002 8:33 pm Post subject: |
|
|
i see that mtab is an empty file! |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Wed Aug 28, 2002 8:36 pm Post subject: |
|
|
gerni wrote: | i don't know exactly what for this checkroot-script is, but propably it don't start correctly. i don't know if this is a problem... |
This is definitely related.../etc/init.d/checkroot makes /etc/mtab. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
gerni Tux's lil' helper
Joined: 14 Jul 2002 Posts: 107 Location: Austria
|
Posted: Thu Aug 29, 2002 8:35 am Post subject: |
|
|
ohh, i see....
then i'll try to get checkroot to work
thanks for your help!
gernot |
|
Back to top |
|
|
|