/dev/...

Joshua Lokken joshua at joshualokken.com
Tue Apr 15 00:04:34 PDT 2003


* Johnson David (DavidJohnson at Siemens.com) wrote:
==> On Monday 14 April 2003 06:36 am, CARTER Anthony wrote:
==> > How do I allow users to mount devices from /dev/* (eg /dev/fd0). Do I
==> > just need to change the permissions etc, or is there a "better" way
==> > by adding a flag or something?
==> 
==> There's an answer to this in the FAQ! See question 9.22 in the FAQ, 
==> either on your system at /usr/share/doc/faq/disks.html if you installed 
==> the docs, or at http://www.freebsd.org/doc/faq/disks.html.

The procedure in the handbook simply does not work on my 
4.8-stable.  Sample output attached.  I've always used sudo
to mount filesystems as a user, but now that I've tried this
and it doesn't work, I'd like to know why.  Are there any 
other ideas?

--
Joshua 



==> David
==> _______________________________________________
==> freebsd-newbies at freebsd.org mailing list
==> http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
==> To unsubscribe, send any mail to "freebsd-newbies-unsubscribe at freebsd.org"
-------------- next part --------------
/home/jolok >> ls -l /dev/fd0
crw-rw-rw-  18 root  operator    9,   0 Mar  9 21:19 /dev/fd0

/home/jolok >> ls -l | grep floppy
drwxrwxr-x  2 jolok  jolok      512 Apr 14 22:22 floppy

/home/jolok >> sysctl -a | grep "vfs.usermount"
<118>vfs.usermount: 
<118>vfs.usermount: 
<118>vfs.usermount: 
<118>vfs.usermount: 
vfs.usermount: 1
<118>vfs.usermount: 
<118>vfs.usermount: 
<118>vfs.usermount: 
<118>vfs.usermount: 

Hmmm...

/home/jolok >> whoami
jolok

/home/jolok >> mount -t msdos /dev/fd0 floppy
msdos: vfsload(msdos): Operation not permitted


More information about the freebsd-questions mailing list