Hi, everybody!

I've spent my fair share of time trying to mount a shared folder from Win98
on (Caldera) Linux box. Search showed that decent amount of people were
having the same problem and solutions suggested in the replies simply didn't
work. So, when I finally figured it out I decided to share this (tiny) piece
of information with other newbies.

In order for

smbmount "\\\\W98Server\\Public" -c 'mount /mnt/W98/Public' -U guest -N (you
might want to specify uid & guid as well)

to work, smbfs module should be loaded during the install. To check whether
it is loaded or not, you could use either
lsmod, or
cat /proc/filesystems
If they show smbfs among other rmodules/filesystems, smbmount is supposed to
work.

If they don't, check that smbfs.o is in your /lib/modules/XXXXX/fs, where
XXXXX is what uname -r gives you, i.e. kernel release number.
If smbfs.o is in the right place, add smbfs to your module list. Normally it
could be done like that:
vi /etc/modules/`uname -r`/"`uname -v`.default", if this doesn't open the
file, check your /etc/rc.d/rc.modules script and figure out where it takes
the list from.

For some reason I was unable to load smbfs using /sbin/modprobe. If it won't
work for you either, you will need to reboot before you can use smbmount.

And, of course, smbmount now (starting from 2.05?) is using more bearable
syntax:
smbmount //W98/Public /mnt/W98/Public ...

All of this and a lot of other useful info on the subject could be found on:

http://www.linux-consulting.com/Amd_AutoFS/autofs-4.html#ss4.3


Serge



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to