oremanj at webserver.get-linux.org
Tue Apr 15 17:45:52 PDT 2003
On Tue, Apr 15, 2003 at 05:08:31PM -0700 or thereabouts, Joshua Lokken seemed to write:
> * Joshua Oreman (oremanj at 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!
If you want to do this every boot, put that command on an empty line at the end of
[BTW, SpamArrest doesn't work too well with mailing lists.]
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions