Re: About /etc/mtab and /proc/mounts

From: Gabriel Paubert (paubert@iram.es)
Date: Thu Feb 27 2003 - 07:26:51 EST


On Thu, Feb 27, 2003 at 06:58:59PM +0900, Miles Bader wrote:
> Kasper Dupont <kasperd@daimi.au.dk> writes:
> > > > But AFAIK fsck uses mtab.
> > >
> > > It uses /etc/fstab.
> >
> > [kasperd:pts/0:~] grep /etc/mtab /sbin/fsck*
> > Binary file /sbin/fsck.ext2 matches
> > Binary file /sbin/fsck.ext3 matches
> > Binary file /sbin/fsck.minix matches
> > [kasperd:pts/0:~]
>
> God know why; the versions (e2fsprogs 1.32) on my system don't, so it's
> probably not something very important. fsck should still work fine.

Do you have a statically or dynamically linked e2fsck? On my system
/etc/mtab is not in /sbin/e2fsck but it is in /lib/libext2fs.so.2 and
also in the statically linked version of e2fsck.

        Gabriel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 28 2003 - 22:00:43 EST