From: Jeff Kuehn (kuehn@citadel.scd.ucar.edu)
Date: 04/29/93


From: kuehn@citadel.scd.ucar.edu (Jeff Kuehn)
Subject:  0.99pl9 weirdness with mount/df
Date: Thu, 29 Apr 1993 22:31:47 GMT

I'm having some weirdness with df and mount. I'm sure that the problem is
something simple, but I haven't tracked it down yet and I thought I'd ask
before spending any more time on it.

It all started with "df" printing the following message:

        # df
        df: cannot read table of mounted filesystems

Next I try:

        # mount

which prints nothing. this worries me because there's a mount -a in rc
and the filesystems are infact mounted.

I checked fstab and mtab, both appear okay permissions were "rw" for root
(the login I was using at the time) and "r" for everyone else.

Next I thought I'd remount all the fs's and see if that changed things, so:

        # umount -a

no error messages printed, exit status was zero, BUT the filesystems were
not umounted. So next I try:

        # umount /dev/sda5
        # umount /dev/sda7
        # umount /dev/sda8

This manages to umount the filesystems and:

        # mount -a

mounts them back on and correctly updates mtab. Now, df works for those
three filesystems (usr, X, home respectively), but it still doesn't report
for the other filesystems. Mount is still a loss.

Anybody have a clue for me?

Thanks for any help you can offer.
--jeff

===============================config======================================
Hardware:
        486dx2/66
        16mb ram
        16mb swap
        aha1742 scsi host adapter
        toshiba fast scsi-2 harddrive
        archive viper tape drive (dc6150/6250)
        orchid f1280 va/vlb
        2serial/1parallel card
        3.5" & 5.25" floppies
Software:
        linux 0.99pl9
        ext2fsprogs 0.3
        gcc libs 4.3.3
        gcc 2.3.3
        XFree86 1.2B beta
        mount/umount/df came from HJ's current (yesterday) basedisks
=============================end config====================================