Update Question 9.23:
- Remove version numbers - Capitalize Ports Collection - Add <replaceable> elements Reviewed by: trhodes, danger, remko Approved by: gabor (mentor)
This commit is contained in:
parent
72ff5ef6a2
commit
201b9c4af4
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=32261
1 changed files with 7 additions and 7 deletions
|
|
@ -5566,7 +5566,7 @@ C:\="DOS"</programlisting>
|
|||
</step>
|
||||
|
||||
<step>
|
||||
<para>If you are running &os; 5.X or later, you will need to alter
|
||||
<para>You will need to alter
|
||||
<filename>/etc/devfs.conf</filename> to make these changes
|
||||
permanent across reboots.</para>
|
||||
|
||||
|
|
@ -5598,25 +5598,25 @@ perm /dev/acd0 0660</programlisting>
|
|||
<devicename>/dev/fd0</devicename> onto a directory that they
|
||||
own:</para>
|
||||
|
||||
<screen>&prompt.user; <userinput>mkdir ~/my-mount-point</userinput>
|
||||
&prompt.user; <userinput>mount -t msdos /dev/fd0 ~/my-mount-point</userinput></screen>
|
||||
<screen>&prompt.user; <userinput>mkdir <replaceable>~/my-mount-point</replaceable></userinput>
|
||||
&prompt.user; <userinput>mount -t msdos /dev/fd0 <replaceable>~/my-mount-point</replaceable></userinput></screen>
|
||||
|
||||
<para>Users in group <groupname>operator</groupname> can now
|
||||
mount the CDROM <devicename>/dev/acd0c</devicename> onto a
|
||||
directory that they own:</para>
|
||||
|
||||
<screen>&prompt.user; <userinput>mkdir ~/my-mount-point</userinput>
|
||||
&prompt.user; <userinput>mount -t cd9660 /dev/acd0c ~/my-mount-point</userinput></screen>
|
||||
<screen>&prompt.user; <userinput>mkdir <replaceable>~/my-mount-point</replaceable></userinput>
|
||||
&prompt.user; <userinput>mount -t cd9660 /dev/acd0c <replaceable>~/my-mount-point</replaceable></userinput></screen>
|
||||
|
||||
<para>Unmounting the device is simple:</para>
|
||||
|
||||
<screen>&prompt.user; <userinput>umount ~/my-mount-point</userinput></screen>
|
||||
<screen>&prompt.user; <userinput>umount <replaceable>~/my-mount-point</replaceable></userinput></screen>
|
||||
|
||||
<para>Enabling <varname>vfs.usermount</varname>, however,
|
||||
has negative security implications. A better way to
|
||||
access &ms-dos; formatted media is to use the
|
||||
<filename role="package">emulators/mtools</filename>
|
||||
package in the ports collection.</para>
|
||||
package in the Ports Collection.</para>
|
||||
|
||||
<note>
|
||||
<para>The device name used in the previous examples must be
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue