/dev/...

John Murphy jfm at blueyonder.co.uk
Tue Apr 15 05:27:25 PDT 2003


Joshua Lokken <joshua at joshualokken.com> wrote:

>==> 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?

Seems to work for me, though I'm not running Stable.

> uname -a
FreeBSD wall.my.domain 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Sun Apr  6 12:52:12 BST 2003     root@:/usr/src/sys/compile/WALL  i386
>whoami
john
> sysctl vfs.usermount
vfs.usermount: 1
> ll /dev/fd0
crw-rw-rw-  18 root  operator    9,   0 Apr  5 20:40 /dev/fd0
> ll | grep floppy
drwxr-xr-x  2 john  john   512 Apr 15 12:50 floppy
> mount -t msdos /dev/fd0 floppy
> ls floppy
aspi2dos.sys    autoexec.bat    country.sys     ega.cpi
<etc>

John.


More information about the freebsd-questions mailing list