Document the use of devfs.conf on FreeBSD 5.X.

PR:		docs/76942
Submitted by:	David Adam <zanchey@ucc.gu.uwa.edu.au>
Approved by:	trhodes (mentor)
This commit is contained in:
Jesus R. Camou 2005-03-10 09:06:56 +00:00
parent a04465a2c8
commit 59e667c7aa
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=24047

View file

@ -6153,6 +6153,27 @@ C:\="DOS"</programlisting>
&prompt.root; <userinput>chmod 640 /dev/cd0c</userinput></screen>
</step>
<step>
<para>If you are running &os; 5.X, you will need to alter
<filename>/etc/devfs.conf</filename> to make these changes
permanent across reboots.</para>
<para>As <username>root</username>, add the necessary lines to
<filename>/etc/devfs.conf</filename>. For example, to allow
users to mount the first floppy drive add:</para>
<programlisting># Allow all users to mount the floppy disk.
own /dev/fd0 root:operator
perm /dev/fd0 0666</programlisting>
<para>To allow users in the group <groupname>operator</groupname>
to mount the CD-ROM drive add:</para>
<programlisting># Allow members of the group operator to mount CD-ROMs.
own /dev/acd0 root:operator
perm /dev/acd0 0660</programlisting>
</step>
<step>
<para>Finally, add the line
<literal><varname>vfs.usermount</varname>=1</literal>