> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Carsten Aulbert > Sent: Wednesday, August 13, 2008 12:04 PM > To: [email protected] > Subject: Re: [autofs] Automounter losing track of mounts... > > > > Stephen Biggs wrote: > > > > > This seems to indicate failure to lock /etc/mtab (??) and > then failing > > to retry correctly, but setting its mount table as if it succeeded. > > We had a related issue quite a bit and /etc/mtab and > /proc/mounts went out of sync. Right now we are symlinking > /etc/mtab to /proc/mounts. It works, but I don't know if > that's the best solution for it.
Yes, we could do that and that seems to be a canonical solution that is even talked about in the 'man' pages. But, there may be a problem with that. Have you seen any cases where different processes are specifically writing either to /etc/mtab _or_ /proc/mounts in an asynchronous manner? Since it would now be the same file due to it being symlinked, what would that sort of write access do to the integrity of the mount tables? Would it even matter? > > HTH > > Carsten > ----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ----------------------------------------------------------------------------------- _______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
