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

Gabriel Paubert
2003-02-27T12:17:41Z

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