On Fri, 28 May 2004, Ian Kent wrote:

> On Thu, 27 May 2004 [EMAIL PROTECTED] wrote:
> 
> > 
> > Sorry about the latency in my reply.
> > 
> > I first noticed this problem on the autofs distributed
> > with FC2 (4.1.2).  I tested 4.1.3 and it didn't appear to
> > fix it (I had noticed the patch).  Version 3.1.7 worked okay,
> > probably because it didn't attempt an fsck before mounting
> > ext2/3 file systems.  You can easily test it by creating
> > a map like such...
> > 
> > cat > /etc/auto.local << EOF
> > root      -fstype=ext3          :/dev/<root partition>
> > EOF
> > 
> > automount /local file /etc/auto.local
> > 
> > Attempting to access /local/root will fail because the
> > fsck failed since the file system is already mounted.
> 
> I can see how this happens.
> 
> I'll see what I can do.

Had a brief look at this.

So far all I can see is that, when using the above it uses the 
mount_generic module which doesn't do an fsck and mounts the fs. 
This is probably not what we want but is what happens now.

If ext2 is specified, with appropriate changes to allow for fsck failures, 
then after passing the mount fails with an already mounted message?

Anymore thoughts.

Ian

_______________________________________________
autofs mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to