smbfs module + securelevel
Stefan Bethke
stb at lassitu.de
Sun Jan 2 11:26:21 PST 2005
Am 02.01.2005 um 20:04 schrieb Gregor Mosheh:
> I am trying to mount a SMB share in the usual fashion:
> mount -t smbfs //user at host/share /mnt
>
> And in response I get this:
> smbfs: vfsload(smbfs): Operation not permitted
>
> I am running at securelevel 1, so it would make sense
> if that were why I'm not allowed to load the module.
> My question is: How do I have this module loaded
> during the boot process, before the securelevel is
> set? Is there a rc.conf variable to set? Or is
> mentioning this smbfs share in the fstab sufficient?
To make sure a module is loaded, add a line to /boot/loader.conf:
smbfs_load="YES"
I believe that you also might need to load libiconf.ko, if it isn't
pulled in automatically when loading smbfs:
libiconf_load="YES"
HTH,
Stefan
--
Stefan Bethke <stb at lassitu.de> Fon +49 170 346 0140
More information about the freebsd-questions
mailing list