logo       

Re: df command shows nothing on HD install?: msg#00096

Subject: Re: df command shows nothing on HD install?
Hi,

On Mon, Jan 27, 2003 at 17:40:21 -0600, shawnmer wrote:

> After doing a HD install, I ran the df command and nothing shows.  Any 
> ideas?

Yes, the init script /etc/init.d/checkroot.sh is buggy. Klaus fixed it
in Knoppix release 3.1 2003-01-20.

As a workaround on your installed system, you can create a separate
script /etc/init.d/syncmtab and symlink from the /etc/rc5.d directory:

---------------------------cut-here--------------------------------
#!/bin/sh
# /etc/init.d/syncmtab -- synchronize /etc/mtab with /proc/mounts
#
cat /proc/mounts > /etc/mtab
exit 0
---------------------------cut-here--------------------------------

chmod 755 /etc/init.d/syncmtab

cd /etc/rc5.d
ln -s ../init.d/syncmtab S10syncmtab

bye,
  Chris
-- 
Christian Perle                                   
perle-/GjsaUzyF6HtpPz3XlvenxvVK+yQ3ZXh@xxxxxxxxxxxxxxxx
Grunaer Str. 31                      http://www.itm.tu-clausthal.de/~perle/
01069 Dresden                   LinuxGuitarKitesBicyclesBeerPizzaRaytracing


<Prev in Thread] Current Thread [Next in Thread>