2012-01-22, 19:49
Quote:error 22 detected on close of mtab
I also get that error but was told not to worry about it. My shares work perfectly, one is set up on my netbook over wireless and I had the same issue as you, it was mounted too quickly and the wireless had not came up. The other one is on my HTPC and that is cabled. However, I use CIFS and my share is on a NAS. I would of thought the type of share did not matter especially as yours works from terminal, as in theory, when the network is up, a terminal like command is issued by the script.
I don't know tbh, maybe you using smbfs makes a difference ? Sorry but I can't help you there. Maybe you can try CIFS ?
EDIT*
By the way, for your reference, this is my fstab entry:
//192.168.2.9/Share /home/xbmc/share/ cifs nounix,uid=xbmc,gid=xbmc,file_mode=0777,dir_mode=0777 0 0