From fecf40468e2586d365f21130eae10fc8b1522f5c Mon Sep 17 00:00:00 2001 From: Taras Korenko <taras@FreeBSD.org> Date: Mon, 12 Jul 2010 11:13:30 +0000 Subject: [PATCH] - MFen: solid-state/article.sgml 1.13 --> 1.18 - fix a few typos PR: docs/145361 Approved by: maxim (mentor), marck (mentor) --- .../articles/solid-state/article.sgml | 369 +++++------------- 1 file changed, 95 insertions(+), 274 deletions(-) diff --git a/ru_RU.KOI8-R/articles/solid-state/article.sgml b/ru_RU.KOI8-R/articles/solid-state/article.sgml index fb0c399a8a..b8653b6c36 100644 --- a/ru_RU.KOI8-R/articles/solid-state/article.sgml +++ b/ru_RU.KOI8-R/articles/solid-state/article.sgml @@ -33,7 +33,7 @@ $FreeBSD$ $FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/solid-state/article.sgml,v 1.7 2006/03/28 16:20:06 gad Exp $ - Original revision: 1.13 + Original revision: 1.18 --> <!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [ @@ -61,12 +61,12 @@ <copyright> <year>2001</year> + <year>2009</year> <holder>The FreeBSD Documentation Project</holder> </copyright> <legalnotice id="trademarks" role="trademarks"> &tm-attrib.freebsd; - &tm-attrib.m-systems; &tm-attrib.general; </legalnotice> @@ -74,22 +74,22 @@ <abstract> <para>� ���� ������ ����������� ������������� ������������� �������� - ��������� ��� �������� ������������ ������ �� ������ FreeBSD.</para> + ��������� ��� �������� ������������ ������ �� ������ &os;</para> <para>������������ ������� ����� ������������ � ���������� ���������� - �� ������� ���������� � ��� ���������� ������ (������� ������). ������ + �� ������� ���������� � ��� ���������� ������ (������� ������). ������, ������� ������� �� ��������, ��� �������, ��� �������, �������� ����� ����� �������� ������������ � ������������ ����� ������������� ����������.</para> <para>� �������� ��������������� �������� ��������� ���� � �������������� ������������� ���������, ���������� ��� ������������� � �������� ������ - �� FreeBSD, ��������� ����, ������� ������������ ������� � ����� - ��������, ��������� <filename>rc.diskless</filename>, ���������������� + �� &os;, ��������� ����, ������� ������������ ������� � ����� + ��������, ��������� <filename>rc.initdiskless</filename>, ���������������� ������������� ����� ������ � ��������������� ����������� �������� ������, ��������� ������ ��� ������, � ����� ���������� �������� ������ � ����. ������ ������������� ��������� ��������� ����� ��������� ��� - ������� ����� ������ FreeBSD � ����� � ������ ������ ��� ������.</para> + ������� ����� ������ &os; � ����� � ������ ������ ��� ������.</para> </abstract> </articleinfo> @@ -118,23 +118,13 @@ ����� �������� �� ����������� ������� �����.</para> <para>� ���������, �� ������� ���������� ������ ����-������, ����������� �� - ���������� ATA � ������ ����-������ &diskonchip; �������� M-Systems. - ����������� � ATA ���������� ����-����� ������ ��������� � �������� + ���������� ATA, ������� ����� ������ ����������� � �������� �������� ������ ��� �������� �����. ������ ������� ������������ ��� ����, ��� ��� ������������� ���� IDE �� ��������� � ���������� � ������� ������ ATA. ����� �������, ��� ������ ����� �������� � �������� �������� ����� ���������� ����� ������������ ��������������� � ���� IDE - ����������. ���� ��������� ���� �������, �� ����� ������������ �������, - ��� FreeBSD, ���������� ���� ��� ������� ��������� (������ ���������). - ������� M-Systems &diskonchip; ������� �� ��� �� ����� ���������� - ����-������, ��� � ����������� � ATA ���������� ����-�����, �� ���������� - ����-�������� DIP � �� ���������� � ATA. ��� ������������� ������ - ����������, �� �� ������ ������ ���������� ��� �� ����������� ����� � - �������� &diskonchip;, �� ����� �������� ������� `fla` �� ��� ���� - FreeBSD, � �������� ������ ��� ������������. ����� ����, � ����������� - ������� ����� ���������� ��������� ��������� ������, ��� ��� �� �� ������ - ������������� ��������� FreeBSD (� ������ �����-���� ������ ���������) - ��� ��� �������������.</para> + ����������. ���� ��������� ����� �������, �� ����� ������������ �������, + ��� &os;, ���������� ���� ��� ������� ��������� (������ ���������).</para> <para>���������� � ������ ������� ��� ������������� ������, �� �� ���������, ������������ � ������������� ��������� ������������� ������� @@ -144,10 +134,10 @@ <sect1 id="kernel"> <title>��������� ����</title> - <para>��� ���. ��� ������� ������������ ������� FreeBSD, ������� + <para>��� ���, ��� ������� ������������ ������� &os;, ������� ������������ ��������� ���������� ����.</para> - <para>��-������, ��� ������������ ������� FreeBSD, ������� ���������� + <para>��� ������������ ������� &os;, ������� ���������� ����-������ � �������� ���������� �����, �������������� � ������������� ������ � ������ � �������� ������ � ������. ��-�� ������������� ���������� ������ ������, ������� ����� ��������� � ����-�������, ���� @@ -156,7 +146,7 @@ <filename>/tmp</filename> � <filename>/var</filename> ����������� ��� �������� ������� � ������ ��� ����, ����� ��������� ������� ������� ������� � �������� �������� � ��������� �����. �������� ������� � ������ - �������� ����������� ����������� �������� ������ FreeBSD �� ������������� + �������� ����������� ����������� �������� ������ &os; �� ������������� �����������.</para> <para>�� ������ ��������������, ��� � ���������������� ����� ������ ���� @@ -167,71 +157,43 @@ options MFS # Memory Filesystem options MD_ROOT # md device usable as a potential root device pseudo-device md # memory disk </programlisting> - - <para>��-������, ���� �� ������ ������������ ������� M-Systems - &diskonchip;, �� ������ ����� �������� ����� ������:</para> - - <programlisting>device fla0 at isa?</programlisting> </sect1> <sect1 id="ro-fs"> - <title><filename>rc.diskless</filename> �������� ������� � ������ ������ + <title>���������� <literal>rc</literal> � �������� ������� � ������ ������ ������</title> - <para>������������� ������������ ������� FreeBSD ����� �������� ����������� - <filename>/etc/rc.diskless2</filename> - (<filename>/etc/rc.diskless1</filename> ��� ����������� �������� - ����������� BOOTP). ���� ��������� ������ ����������, ���� ��������� - � ���� <filename>/etc/rc.conf</filename> ����� ������:</para> + <para>������������� ������������ ������� &os; ����� �������� ����������� + <filename>/etc/rc.initdiskless</filename>.</para> - <programlisting>diskless_mount=/etc/rc.diskless2</programlisting> - - <para><filename>rc.diskless2</filename> ��������� + <para><filename>/etc/rc.d/var</filename> ��������� <filename>/var</filename> ��� �������� ������� � ������, ������� ����������� ������ ��������� � <filename>/var</filename> ��� ������ ������� &man.mkdir.1;, �������� ������ ������� �� ��������� �� ���� - ��������� � �������� ����� ����� ������ ��������� ������������ �� - ��������� ��� ������ (����� ��, ��� �������� ������� � ������) ������ - <filename>/dev</filename>. � �������� ���������� - <filename>/etc/rc.diskless2</filename>, ������������� ��� ���� ���������� - <filename>rc.conf</filename> - <literal>varsize</literal>. ������ - <filename>/etc/rc.diskless2</filename> ������� ������ + ���������. � �������� ���������� + <filename>/etc/rc.d/var</filename> ������������� ��� ���� ���������� + <filename>rc.conf</filename> – <literal>varsize</literal>. ������ + <filename>/etc/rc.d/var</filename> ������� ������ <filename>/var</filename> �� ������ �������� ���� ���������� �� <filename>rc.conf</filename>:</para> <programlisting>varsize=8192</programlisting> - <para>���������, ��� ��� �������� ������� � ��������. �������� ������� - <filename>/dev</filename> ��� ������ - <filename>/etc/rc.diskless2</filename>, ������, ���������� - ���������������� ��������� � 4096 ��������. ����� �������� ��� �������� - ��������������� � ����� <filename>/etc/rc.diskless2</filename>, ���� - ��� �������� <filename>/dev</filename> ���� �� ��� ����������� ������ - ��������� ������������.</para> + <para>���������, ��� �� ��������� ��� �������� ������� � ��������.</para> - <para>����� �������, ��� ������ <filename>/etc/rc.diskless2</filename> - ������������, ��� �� ��� ������� ��� ������� ������ - <filename>/tmp</filename> � �������� ��� ������������� ������� �� - <filename>/var/tmp</filename>. ��� ��� <filename>tmp</filename> �������� - ����� �� ���������, ����������� � <filename>/var</filename> �������� - <filename>/etc/rc.diskless2</filename> � <filename>/var</filename> - �������� �������� �������� � ������ (������� ����������� � ������� ������ - � ������), �� <filename>/tmp</filename> ����� ���������, ����� ��������� - ��� ������ � ������.</para> - - <para>��� ����, ��� <filename>/var</filename> � <filename>/dev</filename> - �������� ��������� ���������, ���������� ��� ������ � ������, �������� + <para>���� ������������� �������� ������� <filename>/var</filename> + � ������ ������ � ������ �������� ������ ���������, ��� ��� ������ <filename>/</filename> (� ����� ������ �������, ������� ����� ���������� �� ����-��������) ������ ������������� - � ������ ������ ��� ������. ���������, ��� <xref linkend="intro"> �� + � ������ ������ ��� ������. ���������, ��� � <xref linkend="intro"> �� �������� ����������� ����-������ - �������� �����������, ���������� ������������ ������. ����� �� ����������� �������� ������� �� ����-��������� � ������� ������ � ������, � �������� ������ �� ����� �������� �� ����� ���� �����������. ���� �������� �� ����������� ������� ����� �������� ����� ����-�������� ����� ��� �� ���. ������ �������������� � �������� ��������� ������ �������� � ���� �� ����������. - �������, ����� �������� ������� <literal>swap</literal> � - <literal>/proc</literal> �� ������ ����� <filename>/etc/fstab</filename>, + �������, ����� �������� ������ <literal>swap</literal> + �� ������ ����� <filename>/etc/fstab</filename>, �� ������ ����� �������� ���� ���������� ������ �������� ������� �� <literal>ro</literal> ����� �������:</para> @@ -241,15 +203,13 @@ pseudo-device md # memory disk </programlisting> <para>� ���������� ���� ��������� � �������������������� ������� ��������� - ���������� ���������� ���������� ��������. ��������, ����� �� ����� - ��������������� �� ������ ������ ��-�� ���������� ����� - <filename>/var/db/port.mkversion</filename>, cron �� ����� ��������� + ���������� ���������� ���������� ��������. ��������, cron �� ����� ��������� ����������� � ���������� ���������� ������ ��� ���� � �������� <filename>/var</filename>, ��������� - <filename>/etc/rc.diskless2</filename>, � syslog � dhcp ����� ���������� + <filename>/etc/rc.d/var</filename>, � syslog � dhcp ����� ���������� �������� ��-�� ������� �������� ������� ������ ��� ������, � ����� ���������� ������� � <filename>/var</filename>, ������� ��� ������ - �������� <filename>/etc/rc.diskless2</filename>. ���� ��� �������� + �������� <filename>/etc/rc.d/var</filename>. ���� ��� �������� �������� ���������� � ����������� ������ � �������� ������� � �������� ���������������� ����������� �������, � <xref linkend="strategies">.</para> @@ -275,14 +235,11 @@ pseudo-device md # memory disk <title>�������� �������� ������� � ����</title> <para>��� ��� ����������� � ATA ���������� ����-����� ������������ �� - FreeBSD ��� ������� ������� ����� IDE, ��� ��� ���������� � ��������� - M-Systems &diskonchip; (����� �� ���������� ���� � ���������� ��������� - fla), �� ������������ �� ������ ���������� FreeBSD �� ���� ��� ������ - ������ kern � mfsroot ��� � �������-�����. ����� ����, ��� ��� �� ����� - ���������� ����� �� �� �� ���� ��������� ��������� �� ���������� - M-Systems, ������� �������������� ���������� �� ���������.</para> + &os; ��� ������� ������� ����� IDE, + �� ������������ �� ������ ���������� &os; �� ���� ��� ������ + ������ kern � mfsroot ��� � �������-�����.</para> - <para>������ ���� ��������� ��������� FreeBSD ��� ������ ������� �������� + <para>������ ���� ��������� ��������� &os; ��� ������ ������� �������� ��������� ����� �������� � �������� ������� ��������, ����������� 200 ��������. ��� ��� ����������� ����� ���������� ���������� ����-������ �������� ������� (128 �������� ��������� ������ ������� - 32 ��� ���� 16 @@ -291,7 +248,7 @@ pseudo-device md # memory disk ���������.</para> <para>����� ������� �������� ������ ��� ����������� �� ����� �������� - ��������� FreeBSD ������� ������� �� ������� ������� ����. ����� + ��������� &os; ������� ������� �� ������� ������� ����. ����� ��������� ���������, �������� ������������ ������� �� �������, ������� ���������� �� ��� ����-��������, � ����� ��������� ������������� �������� �������. ��������� ���� ������� ��� ����� ������� ���������� ����� @@ -299,11 +256,7 @@ pseudo-device md # memory disk ��-�� ����, ��� ������� ��������� �� �����������, ����� ��������, ��� ��������� �� �������, ��������, �������� �������� ������� � ��� ����� ������ ���� ��������� �������. ����� ������ kern � mfsroot ��� ����� - ����� ��������������� �������� fixit. ���� �� ����������� M-Systems - &diskonchip;, �� ���� � ������� kern ������ ����� ���������������� - �������� <literal>fla</literal>, ����������� � <xref linkend="kernel">. - ����������, ���������� � <xref linkend="kern.flp"> ��� ��������� �������� - �� �������� ������ ���� ��� <filename>kern.flp</filename>.</para> + ����� ��������������� �������� fixit.</para> <procedure> <step> @@ -319,9 +272,7 @@ pseudo-device md # memory disk �������� �� ������� ���� �������, ��������������, ��� �������� ���� ����� <literal>165</literal>. ������ �������� ��� ������� �������� �� ����, ����� ������� <keycap>w</keycap> (�� ���� ������ ��� ����� - ������). �������� � ���� ������ ��������� ��������, �������� - �������� �� ����� <literal>None</literal>, ���� �� ����������� - M-Systems &diskonchip;. ���� �� ����������� ���������� ����-�����, + ������). ���� �� ����������� ���������� ����-�����, ����������� � ATA, �� ������ ������� FreeBSD Boot Manager. ������ ������� ������� <keycap>q</keycap> ��� ������ �� ���� ������ � ���������. ������ ���� ������ ��� ��� ���� ��� ������ ��������� @@ -333,38 +284,13 @@ pseudo-device md # memory disk <para>������� �� ���� ��������� custom, � �� �������� ���� ��������� �������� ����� <literal>fixit</literal>. ����� ����� � ����� ������ - fixit, ������� ��������� �������:</para> + fixit, ������� ��������� �������:</para> - <informaltable frame="none" pgwide="1"> - <tgroup cols="2"> - <thead> - <row> - <entry align="center">����������� � ATA</entry> - - <entry align="center">&diskonchip;</entry> - </row> - </thead> - - <tbody> - <row> - <entry><para><screen>&prompt.root; <userinput>mknod /dev/ad0a c 116 0</userinput> -&prompt.root; <userinput>mknod /dev/ad0c c 116 2</userinput> -&prompt.root; <userinput>disklabel -e /dev/ad0c</userinput></screen></para></entry> - - <entry><para><screen>&prompt.root; <userinput>mknod /dev/fla0a c 102 2</userinput> -&prompt.root; <userinput>mknod /dev/fla0c c 102 2</userinput> -&prompt.root; <userinput>disklabel -e /dev/fla0c</userinput></screen></para></entry> - </row> - </tbody> - </tgroup> - </informaltable> + <screen>&prompt.root; <userinput>disklabel -e /dev/ad0c</userinput></screen> <para>� ���� ������ �� ������� � �������� vi ��-��� ������� disklabel. - ���� �� ����������� &diskonchip;, �� ������ ����� ����� ��������� - �������� ���� ����� ������ ����� � <literal>ESDI</literal> �� - <literal>DOC2K</literal>. �����, ��� ����������� �� ����, - ����������� �� �� &diskonchip; ��� ����������� � ATA ���������� - ����-��������, ��� ����� �������� ������ <literal>a:</literal> � ����� �����. ��� + �����, ��� ����� �������� ������ <literal>a:</literal> � ����� �����. + ��� ������ <literal>a:</literal> ������ ��������� �������� ���:</para> <programlisting> @@ -378,27 +304,8 @@ a: <replaceable>123456</replaceable> 0 4.2BSD 0 0 �� ������� ���������� fstype ��� <literal>4.2BSD</literal>. ��������� ���� � ��������� ��������������.</para> - <informaltable frame="none" pgwide="1"> - <tgroup cols="2"> - <thead> - <row> - <entry align="center">����������� � ATA</entry> - - <entry align="center">&diskonchip;</entry> - </row> - </thead> - - <tbody> - <row> - <entry><para><screen>&prompt.root; <userinput>disklabel -B -r /dev/ad0c</userinput> -&prompt.root; <userinput>newfs /dev/ad0a</userinput></screen></para></entry> - - <entry><para><screen>&prompt.root; <userinput>disklabel -B -r /dev/fla0c</userinput> -&prompt.root; <userinput>newfs /dev/fla0a</userinput></screen></para></entry> - </row> - </tbody> - </tgroup> - </informaltable> + <screen>&prompt.root; <userinput>disklabel -B -r /dev/ad0c</userinput> +&prompt.root; <userinput>newfs /dev/ad0a</userinput></screen> </step> <step> @@ -406,24 +313,7 @@ a: <replaceable>123456</replaceable> 0 4.2BSD 0 0 <para>����������� ������ ��� �������������� ����-��������:</para> - <informaltable frame="none" pgwide="1"> - <tgroup cols="2"> - <thead> - <row> - <entry align="center">����������� � ATA</entry> - - <entry align="center">&diskonchip;</entry> - </row> - </thead> - <tbody> - <row> - <entry><para><screen>&prompt.root; <userinput>mount /dev/ad0a /flash</userinput></screen></para></entry> - - <entry><para><screen>&prompt.root; <userinput>mount /dev/fla0a /flash</userinput></screen></para></entry> - </row> - </tbody> - </tgroup> - </informaltable> + <screen>&prompt.root; <userinput>mount /dev/ad0a /flash</userinput></screen> <para>���������� ��� ������ � ����, ����� ����� ���� ��������� ��� tar-���� � ����������� ��� � �������� ������� �� ����-��������. ��� @@ -467,114 +357,52 @@ a: <replaceable>123456</replaceable> 0 4.2BSD 0 0 <para>�������, ��� �� ��������� ��������� ���� �������� ������� ��� �� ���������� �� ������� ����� (� ����� �������� ��������, - �������������� � ������ ������� ������ ��� ������ � ������������ + �������������� � ������ ������� ������ ��� ������, � ������������ �����������, ��������������� � ����) �� ������ ������� ��������� ���� - ������������ ������� �� ������ FreeBSD.</para> + ������������ ������� �� ������ &os;.</para> </step> </procedure> </sect1> - <sect1 id="kern.flp"> - <title>���������� ������������ ������� <filename>kern.flp</filename> � - ��������� fla</title> - - <note> - <para>���� ������ ������ ������������ ������ ���, ��� ���������� - ����-�������� M-Systems &diskonchip;.</para> - </note> - - <para>��������, ��� �� ����������� ������� <filename>kern.flp</filename> - ��� ���� �� ���������� ��������� <devicename>fla</devicename>, ������� - ��������� ��� ������ ������� � &diskonchip;. ���� �� ����������� � - ������������ ������ � ���������, ��� ����� �� ���� ����������, ��, - ��������, � ����� ���� ����������� ������� - <devicename>fla</devicename>.</para> - - <para>����� ���������� ���� ���� � ���������� <devicename>fla</devicename>, - ������� ����� �����, �������, ��� 1.4 ��������, �� ������ ������� - ����������� ����� ������� <filename>kern.flp</filename> � ���� ����� - � ������� ��������� ������������������ ��������:</para> - - <procedure> - <step> - <para>�������� ������������ ���� ������ kern.flp</para> - </step> - - <step> - <para> - <screen> -&prompt.root; <userinput>vnconfig vn0c kern.flp</userinput> - </screen> - </para> - </step> - - <step> - <para> - <screen> -&prompt.root; <userinput>mount /dev/vn0c /mnt</userinput> - </screen> - </para> - </step> - - <step> - <para>���������� ��� ���� ���� � ������� <filename>/mnt</filename>, - �������� ��� ���� ��� ����������� ��� ����</para> - </step> - - <step> - <para> - <screen> -&prompt.root; <userinput>vnconfig -d vn0c</userinput> - </screen> - </para> - </step> - </procedure> - - <para>������ � ����� ����� <filename>kern.flp</filename> ��������� ����� - ����.</para> - </sect1> - <sect1 id="strategies"> <title>��������� ������ � �������� ��� ������� ��������� � ��������� ������ ��� ������ �������� ������</title> <para>� <xref linkend="ro-fs"> ���� �������, ��� �������� ������� <filename>/var</filename>, ����������� �������� - <filename>/etc/rc.diskless2</filename> � ������� �������� �������� + <filename>/etc/rc.d/var</filename>, � ������� �������� �������� �������, ��������� ������ ��� ������, �������� � ��������� ��� ������ - ������ ���������������� ����������� �������, ������������ �� FreeBSD. + ������ ���������������� ����������� �������, ������������ �� &os;. � ���� ������ ����� ���� ������������ �� ��������� ���������� ������ cron � syslog, ��������� ������ � ���-������� Apache.</para> <sect2> <title>cron</title> - <para>� ����� <filename>/etc/rc.diskless2</filename> ������� ���������� - <literal>var_dirs</literal>. ��� ���������� ������ ������ ���������, - ����������� ��������, ������� ����� ������� � �������� - <filename>/var</filename> ����� ��� ������������ ��� �������� ������� - � ������. <filename>cron</filename> � <filename>cron/tabs</filename> - � ���� ������ �� ������, � ��� ���� ��������� cron ��������� �������� - �� �����. ������� <literal>cron</literal>, - <literal>cron/tabs</literal> �, ����� ����, ���� <literal>at</literal> - � <literal>at/jobs</literal> � �������� ��������� ���� ����������, �� - ���������� ������ �������� &man.cron.8; � &man.at.1;.</para> + <para>�� ����� �������� ���������� �������a + <filename class="directory">/var</filename> ����������� �������� + <filename>/etc/rc.d/var</filename> ��������� ������ �� + <filename>/etc/mtree/BSD.var.dist</filename>, ������� � ��� ��������� + ��������� ����������� ���������, � ����� ������� — + <filename class="directory">cron</filename>, + <filename class="directory">cron/tabs</filename>, + <filename class="directory">at</filename>.</para> - <para>������ ��� ��� �� �� ����� �������� � ����������� cron-������ + <para>������ ��� �� ������ �������� � ����������� cron-������ ����� ��������������. ����� ������� ���������������, �� �������� ������� <filename>/var</filename>, ������� ������������� � ������, ����� ����������, ������ �� ����� cron-���������, ������� �� ����� ��� �����. ������� ����� �� ������� ����� ����� �������� cron-������ ��� �������������, ������� ��� �����, ������������ ����� �������� ������� - <filename>/</filename> � ������ ������ � ������ � ����������� ���� + <filename>/</filename> � ������ ������ � ������, � ����������� ���� cron-������ � ���������� �����, ��������, - <filename>/etc/tabs</filename> � ����������� ���������� ������ � - ����� ������� <filename>/etc/rc.diskless2</filename> ��� ����������� + � <filename>/etc/tabs</filename>, � ����������� ���������� ������ � + ����� ������� <filename>/etc/rc.initdiskless</filename> ��� ����������� ���� cron-������ � ������� <filename>/var/cron/tabs</filename> ����� ��� �������� �� ����� ������������� �������. ��� ����� ����� ������������� �������� ������, ������� �������� ������ ������� � - ����� �� ��������, ������� �� ������� � �� �����, ������� �� - ����������� � ������� <filename>/etc/rc.diskless2</filename>.</para> + ����� �� ��������, ������� �� �������, � �� �����, ������� �� + ����������� � ������� <filename>/etc/rc.initdiskless</filename>.</para> </sect2> <sect2> @@ -583,8 +411,8 @@ a: <replaceable>123456</replaceable> 0 4.2BSD 0 0 <para>� ����� <filename>syslog.conf</filename> ������ �������������� ��������� ������ ����������, ������� ������� � �������� <filename>/var/log</filename>. ��� ����� �� ��������� �������� - <filename>/etc/rc.diskless2</filename> �� ����� ������������� ������� - ������� ���-������ � ������� <filename>/etc/rc.diskless2</filename>, + <filename>/etc/rc.d/var</filename> �� ����� ������������� �������. + ������� ���-������ � ������� <filename>/etc/rc.d/var</filename>, ����� ������, ��������� �������� � <filename>/var</filename>, ��� ����� �������� ����� ����� ����������:</para> @@ -592,10 +420,6 @@ a: <replaceable>123456</replaceable> 0 4.2BSD 0 0 &prompt.root; <userinput>touch /var/log/security /var/log/maillog /var/log/cron /var/log/messages</userinput> &prompt.root; <userinput>chmod 0644 /var/log/*</userinput> </screen> - - <para>��� ����� ����������� �������� ������� � ����������� ������ � - ������ ���������, ����������� �������� - <filename>/etc/rc.diskless2</filename>.</para> </sect2> <sect2> @@ -603,7 +427,7 @@ a: <replaceable>123456</replaceable> 0 4.2BSD 0 0 <para>����� ���, ��� �������� ���������, ������� ����� ������� ��� ��������� ������������� ������ ������, ���������� ��������� � ���, - ��� ���� �������� ������� �� ����-��������� �������� ������ ��� ������. + ��� ���� �������� ������� �� ����-��������� �������� ������ ��� ������. ������� ��� ����� �������� ����������� �� � ������ ������ � ������, ��������� ��������� ��������� ������, ��� ��� �������� � <xref linkend="ro-fs">. �� ������ ������ ��������������� ��� �������� @@ -612,9 +436,8 @@ a: <replaceable>123456</replaceable> 0 4.2BSD 0 0 ���� ������������.</para> <para>����� ����� ���� ����� � ������� � ������� � ������� ��������� - ������� <command>make install</command>, ���������� ������� ����� - <filename>/var/db/port.mkversion</filename>, � ������� �������� - ���������� ����. ����� �� ������ ������� ������� ��� �������� � + ������� <command>make</command> <maketarget>install</maketarget>, + ���������� ������� ������� ��� �������� � �������� �������, �� ��������������� � ������, ��� ����� ��������� ������� ����� ��������������. ��� ��� ��� ��������� ������� � ����� ������ ��������� ������������ ����� �������� ������ ��� ������ � @@ -628,7 +451,7 @@ a: <replaceable>123456</replaceable> 0 4.2BSD 0 0 <screen>&prompt.root; <userinput>mkdir /etc/pkg</userinput></screen> - <para>������ � ������ <filename>/etc/rc.diskless2</filename> �������� + <para>������ � ������ <filename>/etc/rc.d/var</filename> �������� ������, ������� ��������� ������� <filename>/etc/pkg</filename> � <filename>/var/db/pkg</filename>. ��������:</para> @@ -636,25 +459,11 @@ a: <replaceable>123456</replaceable> 0 4.2BSD 0 0 &prompt.root; <userinput>ln -s /etc/pkg /var/db/pkg</userinput> </screen> - <para>�������� � ������ <filename>/etc/rc.diskless2</filename> ��� ���� - ������, ������� ������� � �������� - <filename>/var/db/port.mkversion</filename></para> - - <screen> -&prompt.root; <userinput>touch /var/db/port.mkversion</userinput> -&prompt.root; <userinput>chmod 0644 /var/db/port.mkversion</userinput> -&prompt.root; <userinput>echo <replaceable>20010412</replaceable> >> /var/db/port.mkversion</userinput> - </screen> - - <para>��� <replaceable>20010412</replaceable> �������� �����, - ��������������� ����� ������ FreeBSD.</para> - <para>������ ������ ��� ��� ������������ ����� �������� ������ ��� ������ - � ������ � ��������� �������, ������� <command>make install</command> - ����� ��������, ������ ��� ������ ���������� ���� - <filename>/var/db/port.mkversion</filename>, � ���������� � ������� + � ������ � ��������� �������, ������� <command>make</command> <maketarget>install</maketarget> + ����� ��������, � ���������� � ������� ����� ������� �������� � ������� <filename>/etc/pkg</filename> (��� ��� - �������� ������� ����� � ��� ����� ������������ ��� ������ � ������), + �������� ������� ����� � ��� ����� ������������ ��� ������ � ������), ������� ������ ����� ��������� ������������ ������� ��� <filename>/var/db/pkg</filename>.</para> </sect2> @@ -662,22 +471,34 @@ a: <replaceable>123456</replaceable> 0 4.2BSD 0 0 <sect2> <title>���-������ Apache</title> - <para>Apache ������ pid-����� � ��������� � �������� - <filename><replaceable>apache_install</replaceable>/logs</filename>. - ��� ��� ���� �������, ��� ��������, ������������� �� �������� �������, - ��������� ������ ��� ������, �� ��� �������� �� �����. ���������� - �������� ����� ������� � ������ ��������� �� - <filename>/etc/rc.diskless2</filename> ��� �� �������� � �������� + <note> + <para>����, ��������� � ���� ����� ������, ���������� ��������� ���� + � ��� ������, ���� Apache �������� ��������� ���� pid ��� ��� ���� + ��� �������� <filename class="directory">/var</filename>. + � ����������� �� ��������� Apache ��������� ���� pid ���� � <filename + class="directory">/var/run/httpd.pid</filename>, � ��� ����� — + � <filename class="directory">/var/log</filename>.</para> + </note> + + <para>����� � ������ ���������������, + ��� Apache ��������� ���� ��� ����� � ������� <filename + class="directory"><replaceable>apache_log_dir</replaceable></filename> + ��� �������� <filename class="directory">/var</filename>. + ����� ���� ������� ���������� �� �������� �������, �������������� + � ������ ������ ��� ������, Apache �� ������ ��������� ��� �����, ��� + � ���� ������� ����� �������� �������� � ������ ���-�������. � ����� ������ ���������� + �������� ����� ������� � ������ ��������� �� + <filename>/etc/rc.d/var</filename> ��� �� �������� � �������� <filename>/var</filename> � ������� - <filename><replaceable>apache_install</replaceable>/logs</filename> � + <filename class="directory"><replaceable>apache_log_dir</replaceable></filename> � <filename>/var/log/apache</filename>. ����� ����� ������ ����� ������� � ��������� ������ ��������.</para> <para>������� �������� ������� <literal>log/apache</literal> � ������ ���������, ����������� �������� - <filename>/etc/rc.diskless2</filename>.</para> + <filename>/etc/rc.d/var</filename>.</para> - <para>����� �������� � ������ <filename>/etc/rc.diskless2</filename> + <para>����� �������� � ������ <filename>/etc/rc.d/var</filename> ����� ������ �������� ��������� ����� �������:</para> <screen> @@ -686,12 +507,12 @@ a: <replaceable>123456</replaceable> 0 4.2BSD 0 0 </screen> <para>� �������, ������� ������������ ������� - <filename><replaceable>apache_install</replaceable>/logs</filename> � + <filename class="directory"><replaceable>apache_install</replaceable>/logs</filename> � �������� ��� �������:</para> <screen> -&prompt.root; <userinput>rm -rf (apache_install)/logs</userinput> -&prompt.root; <userinput>ln -s /var/log/apache (apache_install)/logs</userinput> +&prompt.root; <userinput>rm -rf <filename class="directory"><replaceable>apache_log_dir</replaceable></filename></userinput> +&prompt.root; <userinput>ln -s <filename class="directory"><replaceable>apache_log_dir</replaceable></filename></userinput> </screen> </sect2> </sect1>