[smbfs] Timing problems with kernel 2.2.x?
Michael H. Warfield
mhw at wittsend.com
Thu Nov 11 16:18:05 GMT 1999
On Fri, Nov 12, 1999 at 01:33:42AM +1100, Giulio Orsero wrote:
> On Fri, 12 Nov 1999 00:58:14 +1100, hai scritto:
> >[Note: This has been posted to linux-kernel and was ignored. Since
> >smbfs is maintained by the samba team, I am retrying here]
> >I now suspect that the 2.2 series smbfs needs some time after the
> >mount call returned to actually attach the mounted share to the mount
> I had the same problem with my nightly backup (smbmount win9x and copy
> stuff onto linux), I had to add a "sleep x" between smbmount and "cd" to
> the smbmounted dir.
> I have 2.2.13, samba-2.0.6
> test1 is a dir with some stuff inside (on linux side)
> mount -t smb -o guest //GO/C test1
> cd test1
> sleep 1
> The first ls shows the linux content of test1, the second ls shows the
> win9x stuff (smbmounted).
> So smbmount returns before having mounted the Win9x dir.
Oh, I gotta a bad feeling about this... This sounds like the
return of the old timing window / race condition...
> giulioo at tiscalinet.it
Michael H. Warfield | (770) 985-6132 | mhw at WittsEnd.com
(The Mad Wizard) | (770) 331-2437 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0xDF1DD471 | possible worlds. A pessimist is sure of it!
More information about the samba