According to the man page for mount on my RedHat and slackware systems, yup, they're
using /etc/mtab

Richard Ems wrote:

> Thanks Frank, but I 'm not sure if it's a nfs problem ...
> Does mount and umount use really /etc/mtab and not /proc/mounts or are they using
> both?
> Who is responsible of maintaining /etc/mtab up to date?
> How do you actualize /etc/mtab with cron?
>
> Richard
>
> Frank Schafer wrote:
>
> > Hi Richard,
> >
> > we had such a problem (mount/unmount) too, and it seems to us, this is a NFS
> > related problem.
> > I tried to mount some nfs share via automount for test purpose but didn't have
> > success.
> > After that I realized, that I couldn't mount this share even explicitly.
> > ``showmount'' says <<Hey man, this share is MOUNTED>>, and nothing. I found
> > this share in ``/etc/mtab'' too -- of course.
> > Then we realized, that mountd don't actualize ``/etc/mtab'', if a machine goes
> > down (evtl a crash).
> > We solved this by ``cron''-icle actualizing mtab. There doesnt be to be a
> > solution for NFS. At least we didn't find anything about this on the WEB.
> > Another solution could be to explicitly unmount the share, before the machine
> > goes down.
> >
> > Hope this helps
> > Frank
> >
> > On Fri, 02 Feb 2001, you wrote:
> > > Hi all!
> > >
> > > What happened with this thread? Is it resolved? Where's the solution?
> > > Any new patches?
> > > I'm having also tremendous problems with autofs.
> > > We are running 2.2.18 + autofsV4 patch (why doesn't autofsV4 get into
> > > the 2.2.x tree??? it would be really nice not to have to patch every
> > > time a new kernel comes out!), autofs-4.0.0pre9 and util-linux-2.10r on
> > > a SuSE 7.0 distro on 4 Pc's, 2 of them UP, the other 2 SMP. Only using
> > > ext2, nfs vesion 3.
> > >
> > > One problem is when we plug a laptop to our net and mount using autofs
> > > the /home directory from this laptop. The mounting works without any
> > > problems, but when the laptop goes down the automounter doesn't manage
> > > to umount the previously mounted directories, so when the laptop some
> > > time later comes up again it's impossible to get the laptop's exported
> > > directories mounted again.
> > >
> > > I'm also getting this message when autofs starts:
> > > automount[7646]: >> mount: fs type none not supported by kernel
> > > but I think this is a problem in the /etc/auto.net file from the SuSE
> > > 7.0 distro, or am I wrong in my assumption?
> > >
> > > Comments? Suggestions? Solutions? Patches? Autofs Version 4 into 2.2.x?
> > > Is autofs in 2.4.x working better?
> > >
> > > Richard
> > >
> > > --
> > >    Richard Ems
> > >    ... e-mail: [EMAIL PROTECTED]
> > >    ... Fachbereich Informatik, Universität Hamburg
> > >
> > >    Unix IS user friendly. It's just selective about who its friends are.
>
> --
>    Richard Ems
>    ... e-mail: [EMAIL PROTECTED]
>    ... Fachbereich Informatik, Universität Hamburg
>
>    Unix IS user friendly. It's just selective about who its friends are.

Reply via email to