Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 1999 02:11:51 -0700 (PDT)
From:      <jkoshy@FreeBSD.org>
To:        freebsd-doc@freebsd.org
Subject:   New FAQ entry
Message-ID:  <199908240911.CAA76582@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help


Comments solicited on the following FAQ entry:

----------------------------------------------------------------
Q: Can ordinary users mount floppies and other removable media?

A: Yes, they can, but this feature is not enabled by default in FreeBSD.
   Here is how to allow non-root users to mount devices:

   1.   As `root' assign the appropriate permissions to the block 
        device associated with the removable media.  For example,
        for floppies:

        # chmod 777 /dev/fd0

   2.   As 'root' set the sysctl variable 'vfs.usermount' to '1'.

        # sysctl -w vfs.usermount=1

   Users can now mount '/dev/fd0' onto any directory that they own:

   3.   $ mkdir ~/my-mount-point
        $ mount -t msdos /dev/fd0 ~/my-mount-point

   Unmounting the device is simple:

   4.   $ umount ~/my-mount-point

----------------------------------------------------------------

Regards,
Koshy
<jkoshy@freebsd.org>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908240911.CAA76582>