From owner-freebsd-questions@FreeBSD.ORG Sun Jan 2 19:26:21 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 829FB16A4CE for ; Sun, 2 Jan 2005 19:26:21 +0000 (GMT) Received: from schlepper.zs64.net (schlepper.zs64.net [212.12.50.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EA7C43D2F for ; Sun, 2 Jan 2005 19:26:20 +0000 (GMT) (envelope-from stb@lassitu.de) Received: from [IPv6:::1] (schlepper [212.12.50.230]) by schlepper.zs64.net (8.13.1/8.11.1) with ESMTP id j02JQG5Q086540; Sun, 2 Jan 2005 20:26:16 +0100 (CET) (envelope-from stb@lassitu.de) In-Reply-To: <20050102190451.739.qmail@web53803.mail.yahoo.com> References: <20050102190451.739.qmail@web53803.mail.yahoo.com> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <2B9804D8-5CF4-11D9-8D31-000A95C893E4@lassitu.de> Content-Transfer-Encoding: 7bit From: Stefan Bethke Date: Sun, 2 Jan 2005 20:26:15 +0100 To: Gregor Mosheh X-Mailer: Apple Mail (2.619) cc: freebsd-questions@freebsd.org Subject: Re: smbfs module + securelevel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jan 2005 19:26:21 -0000 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@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 Fon +49 170 346 0140