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

Re: /etc/mtab wiped clean after mke2fs is run



On Wed, Jul 05, 2000 at 01:57:08PM -0400, Peter S Galbraith wrote:
> This is weird.
> 
> On potato, running mke2fs wipes out the existing /etc/mtab file
> (it's zero size) such that `df' and `mount' have no record of any
> mounted filesystems.
> 
> Anyone else seen this?

No.

You can copy /proc/mounts to /etc/mtab to restore the data.  It's
possible to create a symlink from /proc/mounts to /etc/mtab, but certain
filesystems, eg:  loopback and RAM, IIRC, don't get freed properly if
this is the case.

-- 
Karsten M. Self <kmself@ix.netcom.com>     http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.                    http://www.opensales.org
  What part of "Gestalt" don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/    K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0

Attachment: pgpq4HVehqEXm.pgp
Description: PGP signature


Reply to: