I seem to be very confused over how to get a Win98 share mounted via
autofs. I have been through many sources of information, and have even
resorted to looking at the source code on automount.
I have used mount in the past, but having suffered "device busy"
problems as a result of the Win98 machine going off-line and then
on-line, I am looking for a more robust solution. Treating the machine
as removable media seemed to be appropriate.
I am using Samba 2.2.2 and autofs 3.1.3 Linux kernal 2.2.5 (RedHat)
According to the autofs code, there is a module mount_smbfs.so which
should exist in the /usr/lib/autofs. This was not compiled on my
system. I did find one person on the www advocating that this was the
module to use, however, I would have expected this to have been
referenced much more unless there was a better more elegant solution.
Anyway, I hacked the config files and made it compile. No success in
mounting however.
I have seen documentation that seems to be suggesting that smbmount is
the thing to use with autofs, by renaming it to mount.smbfs (or
similar) and placing it in /bin. Based on my understanding of the
autofs documentation and code I don't see how this can be.
I also see reference somtimes to -fstype=smbfs and others -fstype=smb
I assume that things have been changing over the years. Looking at
posts on various groups, I do not beleive I am the only person to be
suffering from confusion.
If someone could shed some light on all this and point me in the right
direction I would be very grateful.
Regards, Martin Hogg