From: hpa@merle.acns.nwu.edu (H. Peter Anvin N9ITP) Subject: Re: Problems with 'df' and 'mount' with libc-4.3.3 and SLS Date: Wed, 7 Apr 1993 07:18:02 GMT
In article <AJT.93Apr7110307@peregrin.resmel.bhp.com.au> of comp.os.linux,
ajt@resmel.bhp.com.au (Andrew Telford) writes:
>
> Now 'df' reports:
> df: cannot read table of mounted filesystems
> and 'mount' does not print the list of mount file systems.
>
> Everything else, including networking, nfs mounts, and compiling seems
> fine. The 'mtab' file is also being updated and is readable by anyone.
>
> Is the libc.4.3.3 getmntent library call incompatible with the the linux.9pl6
> kernel?
>
No, but with the old mount. Get the lastest version of mount
("mount-0.99.6" or something like that) from tsx-11
(/pub/linux/sources/sbin), and make sure there is *not* a statement
such as:
rdev > /etc/mtab
in /etc/rc or /etc/rc.local (if there is, remove it or replace by
rm -f /etc/mtab); futhermore, make sure that there is a line for your
root partition in /etc/fstab such as:
/dev/hda1 / filesystemtype defaults
Finally, if your mount, umount, swapon and swapoff binaries are in
/bin, you need to manually install the mount package, since "make
install" puts them in /etc, and you don't want the old version to
stick around.
/hpa
-- INTERNET: hpa@nwu.edu FINGER: hpa@eecs.nwu.edu BITNET: HPA@NUACC IBM MAIL: 36073 at IBMX400 HAM RADIO: N9ITP, SM4TKN NeXTMAIL: hpa@speedy.acns.nwu.edu "Kissing a smoker is like licking an ashtray." -- R. Heinlein