[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [debian-knoppix] 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@itm.tu-clausthal.de
Grunaer Str. 31                      http://www.itm.tu-clausthal.de/~perle/
01069 Dresden                   LinuxGuitarKitesBicyclesBeerPizzaRaytracing
_______________________________________________
debian-knoppix mailing list
debian-knoppix@linuxtag.org
http://mailman.linuxtag.org/mailman/listinfo/debian-knoppix


Reply to: