View | Details | Raw Unified | Return to bug 41049
Collapse All | Expand All

(-)books/faq/book.sgml (-2 / +2 lines)
Lines 4984-4990 Link Here
4984
            that will update installed ports to the latest version in
4984
            that will update installed ports to the latest version in
4985
            the ports tree.</para>
4985
            the ports tree.</para>
4986
4986
4987
          <screen>&prompt.root; <userinput>pkg_version <option>-c</option> > <replaceable>/tmp/myscript</replaceable></userinput></screen>
4987
          <screen>&prompt.root; <userinput>pkg_version -c &gt; <replaceable>/tmp/myscript</replaceable></userinput></screen>
4988
4988
4989
          <para>The output script <emphasis>must</emphasis> be edited by
4989
          <para>The output script <emphasis>must</emphasis> be edited by
4990
            hand before you use it. Current versions of
4990
            hand before you use it. Current versions of
Lines 6075-6081 Link Here
6075
6075
6076
          <para>Unmounting the device is simple:</para>
6076
          <para>Unmounting the device is simple:</para>
6077
6077
6078
          <screen>&prompt.user; <userinput>umount <filename>~/my-mount-point</></userinput></screen>
6078
          <screen>&prompt.user; <userinput>umount ~/my-mount-point</userinput></screen>
6079
6079
6080
          <para>Enabling <varname>vfs.usermount</varname>, however, has
6080
          <para>Enabling <varname>vfs.usermount</varname>, however, has
6081
            negative security implications.  A better way to access MSDOS
6081
            negative security implications.  A better way to access MSDOS
(-)books/handbook/cutting-edge/chapter.sgml (-1 / +1 lines)
Lines 867-873 Link Here
867
	<para>The general format of the command line you will type is as
867
	<para>The general format of the command line you will type is as
868
	  follows:</para>
868
	  follows:</para>
869
869
870
	<screen>&prompt.root; <userinput>make <option>-<replaceable/x/</option> <option>-D<replaceable>VARIABLE</replaceable></option> <replaceable>target</replaceable></userinput></screen>
870
	<screen>&prompt.root; <userinput>make -<replaceable/x/ -D<replaceable>VARIABLE</replaceable> <replaceable>target</replaceable></userinput></screen>
871
871
872
	<para>In this example, <option>-<replaceable>x</replaceable></option>
872
	<para>In this example, <option>-<replaceable>x</replaceable></option>
873
	  is an option that you would pass to &man.make.1;.  See the
873
	  is an option that you would pass to &man.make.1;.  See the
(-)books/handbook/disks/chapter.sgml (-5 / +5 lines)
Lines 850-856 Link Here
850
	that is an image of a directory tree in the Unix filesystem name
850
	that is an image of a directory tree in the Unix filesystem name
851
	space. The simplest usage is:</para>
851
	space. The simplest usage is:</para>
852
    
852
    
853
      <screen>&prompt.root; <userinput>mkisofs <option>-o</option> <replaceable>imagefile.iso</replaceable> <replaceable>/path/to/tree</replaceable></userinput></screen>
853
      <screen>&prompt.root; <userinput>mkisofs -o <replaceable>imagefile.iso</replaceable> <replaceable>/path/to/tree</replaceable></userinput></screen>
854
854
855
      <indexterm>
855
      <indexterm>
856
        <primary>filesystems</primary>
856
        <primary>filesystems</primary>
Lines 929-935 Link Here
929
	as <filename>/usr/sbin/burncd</filename>.  Usage is very simple, as
929
	as <filename>/usr/sbin/burncd</filename>.  Usage is very simple, as
930
	it has few options:</para>
930
	it has few options:</para>
931
      
931
      
932
      <screen>&prompt.root; <userinput>burncd <option>-f</option> <replaceable>cddevice</replaceable> data <replaceable>imagefile.iso</replaceable> fixate</userinput></screen>
932
      <screen>&prompt.root; <userinput>burncd -f <replaceable>cddevice</replaceable> data <replaceable>imagefile.iso</replaceable> fixate</userinput></screen>
933
933
934
      <para>Will burn a copy of <replaceable>imagefile.iso</replaceable> on
934
      <para>Will burn a copy of <replaceable>imagefile.iso</replaceable> on
935
	<replaceable>cddevice</replaceable>. The default device is
935
	<replaceable>cddevice</replaceable>. The default device is
Lines 957-963 Link Here
957
	is even simpler than <command>burncd</command>. Burning an ISO 9660
957
	is even simpler than <command>burncd</command>. Burning an ISO 9660
958
	image is done with:</para>
958
	image is done with:</para>
959
      
959
      
960
      <screen>&prompt.root; <userinput>cdrecord <option>dev=</option><replaceable>device</replaceable> <replaceable>imagefile.iso</replaceable></userinput></screen>
960
      <screen>&prompt.root; <userinput>cdrecord dev=<replaceable>device</replaceable> <replaceable>imagefile.iso</replaceable></userinput></screen>
961
      
961
      
962
      <para>The tricky part of using <command>cdrecord</command> is finding
962
      <para>The tricky part of using <command>cdrecord</command> is finding
963
	the <option>dev</option> to use. To find the proper setting, use
963
	the <option>dev</option> to use. To find the proper setting, use
Lines 967-973 Link Here
967
        <primary>CDROMs</primary>
967
        <primary>CDROMs</primary>
968
        <secondary>burning</secondary>
968
        <secondary>burning</secondary>
969
      </indexterm>          
969
      </indexterm>          
970
      <screen>&prompt.root; <userinput>cdrecord <option>-scanbus</option></userinput>
970
      <screen>&prompt.root; <userinput>cdrecord -scanbus</userinput>
971
Cdrecord 1.9 (i386-unknown-freebsd4.2) Copyright (C) 1995-2000 J&ouml;rg Schilling
971
Cdrecord 1.9 (i386-unknown-freebsd4.2) Copyright (C) 1995-2000 J&ouml;rg Schilling
972
Using libscg version 'schily-0.1'
972
Using libscg version 'schily-0.1'
973
scsibus0:
973
scsibus0:
Lines 994-1000 Link Here
994
	numbers separated by commas as the value for
994
	numbers separated by commas as the value for
995
	<option>dev</option>. In this case, the CRW device is 1,5,0, so the
995
	<option>dev</option>. In this case, the CRW device is 1,5,0, so the
996
	appropriate input would be
996
	appropriate input would be
997
	<userinput><option>dev</option>=1,5,0</userinput>. There are easier
997
	<option>dev=1,5,0</option>. There are easier
998
	ways to specify this value; see &man.cdrecord.1; for
998
	ways to specify this value; see &man.cdrecord.1; for
999
	details. That is also the place to look for information on writing
999
	details. That is also the place to look for information on writing
1000
	audio tracks, controlling the speed, and other things.</para>
1000
	audio tracks, controlling the speed, and other things.</para>
(-)books/handbook/kernelconfig/chapter.sgml (-3 / +3 lines)
Lines 164-172 Link Here
164
	you have access to an <quote>official</quote> FreeBSD CDROM, then
164
	you have access to an <quote>official</quote> FreeBSD CDROM, then
165
	you can also install the source from the command line:</para>
165
	you can also install the source from the command line:</para>
166
166
167
      <screen>&prompt.root; <userinput>mount</userinput> /cdrom
167
      <screen>&prompt.root; <userinput>mount /cdrom</userinput>
168
&prompt.root; <userinput>mkdir -p</userinput> <filename>/usr/src/sys</filename>
168
&prompt.root; <userinput>mkdir -p /usr/src/sys</userinput>
169
&prompt.root; <userinput>ln -s</userinput> /usr/src/sys /sys
169
&prompt.root; <userinput>ln -s /usr/src/sys /sys</userinput>
170
&prompt.root; <userinput>cat /cdrom/sys/ssys.[a-d]* | tar -xzvf</userinput></screen>
170
&prompt.root; <userinput>cat /cdrom/sys/ssys.[a-d]* | tar -xzvf</userinput></screen>
171
    </note>
171
    </note>
172
172
(-)books/handbook/ppp-and-slip/chapter.sgml (-1 / +1 lines)
Lines 2255-2261 Link Here
2255
	 manuals pages for &man.chmod.1; and &man.chown.8; for further
2255
	 manuals pages for &man.chmod.1; and &man.chown.8; for further
2256
	 information.</para>
2256
	 information.</para>
2257
	 <screen>&prompt.root; <userinput>chown root:wheel /etc/ppp/ppp.conf</userinput>
2257
	 <screen>&prompt.root; <userinput>chown root:wheel /etc/ppp/ppp.conf</userinput>
2258
&prompt.root; <userinput>chmod 600 <filename>/etc/ppp/ppp.conf</filename></userinput></screen>
2258
&prompt.root; <userinput>chmod 600 /etc/ppp/ppp.conf</userinput></screen>
2259
   </warning>
2259
   </warning>
2260
2260
2261
      <para>This will open a tunnel for a PPP session to your DSL router.
2261
      <para>This will open a tunnel for a PPP session to your DSL router.
(-)books/handbook/printing/chapter.sgml (-2 / +2 lines)
Lines 629-635 Link Here
629
	    <step>
629
	    <step>
630
	      <para>Type:</para>
630
	      <para>Type:</para>
631
631
632
	      <screen>&prompt.root; <userinput>lptcontrol -i -d <filename>/dev/lpt<replaceable>N</replaceable></filename></userinput></screen>
632
	      <screen>&prompt.root; <userinput>lptcontrol -i -d /dev/lpt<replaceable>N</replaceable></userinput></screen>
633
633
634
	      <para>to set interrupt-driven mode for
634
	      <para>to set interrupt-driven mode for
635
		<literal>lpt<replaceable>N</replaceable></literal>.</para>
635
		<literal>lpt<replaceable>N</replaceable></literal>.</para>
Lines 638-644 Link Here
638
	    <step>
638
	    <step>
639
	      <para>Type:</para>
639
	      <para>Type:</para>
640
640
641
	      <screen>&prompt.root; <userinput>lptcontrol -p -d <filename>/dev/lpt<replaceable>N</replaceable></filename></userinput></screen>
641
	      <screen>&prompt.root; <userinput>lptcontrol -p -d /dev/lpt<replaceable>N</replaceable></userinput></screen>
642
642
643
	      <para>to set polled-mode for
643
	      <para>to set polled-mode for
644
		<literal>lpt<replaceable>N</replaceable></literal>.</para>
644
		<literal>lpt<replaceable>N</replaceable></literal>.</para>
(-)books/handbook/users/chapter.sgml (-5 / +5 lines)
Lines 1007-1014 Link Here
1007
    <example>
1007
    <example>
1008
      <title>Adding a Group Using &man.pw.8;</title>
1008
      <title>Adding a Group Using &man.pw.8;</title>
1009
1009
1010
      <screen>&prompt.root; <userinput><command>pw</command> groupadd <groupname>teamtwo</groupname></userinput>
1010
      <screen>&prompt.root; <userinput>pw groupadd teamtwo</userinput>
1011
&prompt.root; <userinput><command>pw</command> groupshow <groupname>teamtwo</groupname></userinput>
1011
&prompt.root; <userinput>pw groupshow teamtwo</userinput>
1012
teamtwo:*:1100:</screen>
1012
teamtwo:*:1100:</screen>
1013
    </example>
1013
    </example>
1014
1014
Lines 1021-1028 Link Here
1021
    <example>
1021
    <example>
1022
      <title>Adding Somebody to a Group Using &man.pw.8;</title>
1022
      <title>Adding Somebody to a Group Using &man.pw.8;</title>
1023
1023
1024
      <screen>&prompt.root; <userinput><command>pw</command> groupmod <groupname>teamtwo</groupname> <option>-M</option> <username>jru</username></userinput>
1024
      <screen>&prompt.root; <userinput>pw groupmod teamtwo -M jru</userinput>
1025
&prompt.root; <userinput><command>pw</command> groupshow <groupname>teamtwo</groupname></userinput>
1025
&prompt.root; <userinput>pw groupshow teamtwo</userinput>
1026
teamtwo:*:1100:jru</screen>
1026
teamtwo:*:1100:jru</screen>
1027
    </example>
1027
    </example>
1028
1028
Lines 1040-1046 Link Here
1040
    <example>
1040
    <example>
1041
      <title>Using &man.id.1; to Determine Group Membership</title>
1041
      <title>Using &man.id.1; to Determine Group Membership</title>
1042
1042
1043
      <screen>&prompt.user; <userinput><command>id</command> <username>jru</username></userinput>
1043
      <screen>&prompt.user; <userinput>id jru</userinput>
1044
uid=1001(jru) gid=1001(jru) groups=1001(jru), 1100(teamtwo)</screen>
1044
uid=1001(jru) gid=1001(jru) groups=1001(jru), 1100(teamtwo)</screen>
1045
    </example>
1045
    </example>

Return to bug 41049