Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Nov 2004 19:29:57 +0100 (CET)
From:      Mats Dufberg <mats@dufberg.se>
To:        doc@FreeBSD.org
Subject:   FAQ 9.22
Message-ID:  <20041107191241.H92349@kafka.home.narnia.pp.se>

next in thread | raw e-mail | index | archive | help
FAQ 9.22 in 
<http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html>; ("How do 
I let ordinary users mount floppies, CDROMs and other removable media?") 
is not up to date with FreeBSD 5.x.

In the answer it is mentioned that one has to update /etc/sysctl.conf make 
the update survive reboot, but the same is true for the change of owner 
and permission of the device entry. It says

    3. Finally, add the line vfs.usermount=1 to the file /etc/sysctl.conf
       so that it is reset at system boot time.


I suggest the following update:

    3. Finally, update /etc/sysctl.conf and /etc/devfs.conf so that it is
       reset at system boot time:

       a. Add the line "vfs.usermount=1" to /etc/sysctl.conf.

       b. Depending on chosen solution above add the following line to
          /etc/devfs.conf:

          perm    fd0     0666

          or the follwing two lines:

          own     fd0     root:operator
          perm    fd0     0660





Yours
Mats

-----------------------------------------------------------------
Mats Dufberg                                      mats@dufberg.se
Blaoarvsgraend 42                                  +46-8-38 48 59
SE-162 45 Vaellingby, Sweden                      +46-70-258 2588



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