Re: autofs/smbfs - delayed mounting?

Bradley Baetz (bbaetz@uuscss.cs.su.oz.au)
Sun, 29 Nov 1998 23:04:34 +1100


> > cola:~>d /smbfs/studio/Database/
> > ls: /smbfs/studio/Database/: Input/output error
> > cola:~>d /smbfs/studio/Database/
> > total 8108
> > drwxr-xr-x 1 urban root 512 Oct 28 10:20 ./
> > drwxr-xr-x 1 urban root 512 Nov 27 12:26 ../
> > ...
> >
> > cola:~>mount
> > ...
> > //DAVINCI/STUDIO on /smbfs/studio type smbfs (0)
> >
> > The first ls waits for something (the mounting I assume) to complete. But
> > for some reason the process can continue before the mount has completed.
> > Can anyone else see this?
> > bug, feature or configuration error?
> >
>
> This implies smbmount returns before the mount is complete (does it
> try to do it in the background?) This is bad.
This sort of error also happens with DOSEMU. My automounted lredir'd dos
drive (/dev/hda1;/mnt/dos) and my automounted cdrom get error messages
if they aren't currently "mounted". When lredir tries to access them,
the automounter mounts them (ie ls /mnt shows them), and they work fine
the second time. They also work if I do cd /mnt/dos; cd /mnt/cdrom;
[x]dos

Linux 2.1.130, automount 3.1.3, dosemu 0.99.4.0

Bradley

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