From owner-freebsd-questions@FreeBSD.ORG Tue Apr 15 17:07:58 2003 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 88DDA37B401 for ; Tue, 15 Apr 2003 17:07:58 -0700 (PDT) Received: from joloxbox.joshualokken.com (12-225-249-250.client.attbi.com [12.225.249.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 964CE43F93 for ; Tue, 15 Apr 2003 17:07:55 -0700 (PDT) (envelope-from jolok@joshualokken.com) Received: from joloxbox.joshualokken.com (localhost.joshualokken.com [127.0.0.1])h3G08Wmh073676; Tue, 15 Apr 2003 17:08:34 -0700 (PDT) (envelope-from jolok@joshualokken.com) Received: (from jolok@localhost) by joloxbox.joshualokken.com (8.12.9/8.12.9/Submit) id h3G08VOT073675; Tue, 15 Apr 2003 17:08:31 -0700 (PDT) Date: Tue, 15 Apr 2003 17:08:31 -0700 From: Joshua Lokken To: Joshua Oreman Message-ID: <20030416000831.GA73640@joloxbox.joshualokken.com> References: <200304141536.05035.a.carter@intrasoft.lu> <200304150900.59043.epbox@yandex.ru> <200304151058.41895.epbox@yandex.ru> <200304150931.24484.a.carter@intrasoft.lu> <20030415180113.GA72565@joloxbox.joshualokken.com> <20030415224444.GA60386@webserver.get-linux.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030415224444.GA60386@webserver.get-linux.org> User-Agent: Mutt/1.4i Organization: little to none X-OS: FreeBSD joloxbox.joshualokken.com 4.8-STABLE i386 cc: freebsd-questions@freebsd.org Subject: Re: /dev/... 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: Wed, 16 Apr 2003 00:07:58 -0000 * Joshua Oreman (oremanj@www.get-linux.org) wrote: ==> On Tue, Apr 15, 2003 at 11:01:13AM -0700 or thereabouts, Joshua Lokken seemed to write: ==> > ==> > ==> > ==> > Of course I checked the FAQ & did everything as said there. Specifically: ==> > ==> > #su ==> > ==> > # sysctl -w vfs.usermount=1 ==> > ==> > # chmod 666 /dev/fd0 ==> > ==> > #mkdir -m 755 /mnt/floppy ==> > ==> > bash$ mount -t msdos /dev/fd0 /mnt/floppy ==> > mount: vfsload(msdos): Operation not permitted ==> > ==> > OK, we've seen the faq section on this, and two clear, plain examples of the ==> > exact procedure there not working properly. Does anyone have any new, not ==> > rehashed, ideas of why this is? Thanks. ==> > ==> ==> Since it's erroring on the vfsload(whatever), I think it is trying to load the ==> msdosfs kld and failing. Try: ==> # kldload msdosfs ==> as root before you mount the FD as user. ==> ==> This is a wild guess, take with a grain of salt. ==> YMMV. ==> -- Joshua (hee hee, same name :-) A wild, but brilliant and insightful guess! Yes that's it. So, if I understand correctly, since I always strip msdos support out of the kernel, that the msdos kernel module needs to be loaded dynamically to mount /dev/fd0. It would seem that only root is allowed (by default) to load kernel mods, thus the vfsload error when normal users try to mount /dev/fd0, am I right? Thank you very much! -- Joshua