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

Re: proc mount, but acts like it isn't.



On Mon, Mar 04, 2002 at 03:57:25PM -0500, Jeff Licquia wrote:
>  - /etc/mtab is out of sync or isn't being updated.

Wouldn't this fix that problem?

    > /etc/mtab
    mount -n -t proc none /proc
    cat /proc/mounts > /etc/mtab

> I believe mount is responsible for /etc/mtab.  Can you confirm that it's
> getting written to at boot time?

Is it getting *cleared* at boot time?  If not, it could screw up
mount...  Red Hat's rc.sysinit contains the following:

    # Clear mtab
    >/etc/mtab

    # Remove stale backups
    rm -f /etc/mtab~ /etc/mtab~~

Make sure your system is running something similar on boot.

Steve
-- 
steve@silug.org           | Southern Illinois Linux Users Group
(618)398-7360             | See web site for meeting details.
Steven Pritchard          | http://www.silug.org/

-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.