diff --git a/ru_RU.KOI8-R/articles/Makefile b/ru_RU.KOI8-R/articles/Makefile index 5aad3dce14..bc402c4f0d 100644 --- a/ru_RU.KOI8-R/articles/Makefile +++ b/ru_RU.KOI8-R/articles/Makefile @@ -1,21 +1,26 @@ -# $FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/Makefile,v 1.1 2001/03/11 10:41:06 phantom Exp $ +# # $FreeBSD$ +# $FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/Makefile,v 1.7 2001/07/25 10:26:26 phantom Exp $ +# # Original revision: 1.9 #SUBDIR = committers-guide -#SUBDIR+= dialup-firewall -#SUBDIR+= diskless-x -SUBDIR = freebsd-questions -#SUBDIR+= fonts -#SUBDIR+= formatting-media -#SUBDIR+= ipsec-must -#SUBDIR+= mh +SUBDIR+= dialup-firewall +SUBDIR+= diskless-x +SUBDIR+= explaining-bsd +SUBDIR+= fonts +SUBDIR+= formatting-media +SUBDIR+= freebsd-questions +SUBDIR+= ipsec-must +SUBDIR+= mh #SUBDIR+= multi-os #SUBDIR+= new-users #SUBDIR+= programming-tools -#SUBDIR+= zip-drive +SUBDIR+= solid-state +SUBDIR+= vm-design +SUBDIR+= zip-drive -# ROOT_SYMLINKS+= new-users +ROOT_SYMLINKS+= new-users DOC_PREFIX?= ${.CURDIR}/../.. .include "${DOC_PREFIX}/share/mk/doc.project.mk" diff --git a/ru_RU.KOI8-R/articles/Makefile.inc b/ru_RU.KOI8-R/articles/Makefile.inc index 13e48f630e..73c98375f4 100644 --- a/ru_RU.KOI8-R/articles/Makefile.inc +++ b/ru_RU.KOI8-R/articles/Makefile.inc @@ -1,7 +1,9 @@ # -# $FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/Makefile.inc,v 1.1 2001/03/11 10:41:06 phantom Exp $ -# $FreeBSD: doc/ru_RU.KOI8-R/articles/Makefile.inc,v 1.1 2001/03/11 16:23:41 phantom Exp $ +# $FreeBSD$ +# $FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/Makefile.inc,v 1.4 2001/07/25 10:26:26 phantom Exp $ +# # Original revision: 1.3 # +TIDYFLAGS= -latin1 DESTDIR?= ${DOCDIR}/ru_RU.KOI8-R/articles/${.CURDIR:T} diff --git a/ru_RU.KOI8-R/articles/dialup-firewall/Makefile b/ru_RU.KOI8-R/articles/dialup-firewall/Makefile new file mode 100644 index 0000000000..4c15cd207f --- /dev/null +++ b/ru_RU.KOI8-R/articles/dialup-firewall/Makefile @@ -0,0 +1,26 @@ +# +# $FreeBSD$ +# $FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/dialup-firewall/Makefile,v 1.2 2001/07/25 10:26:31 phantom Exp $ +# +# Original revision: 1.1 +# + +MAINTAINER=andy@FreeBSD.org.ua + +DOC?= article + +FORMATS?= html + +INSTALL_COMPRESSED?= gz +INSTALL_ONLY_COMPRESSED?= + +# +# SRCS lists the individual SGML files that make up the document. Changes +# to any of these files will force a rebuild +# + +# SGML content +SRCS= article.sgml + +DOC_PREFIX?= ${.CURDIR}/../../.. +.include "${DOC_PREFIX}/share/mk/doc.project.mk" diff --git a/ru_RU.KOI8-R/articles/dialup-firewall/article.sgml b/ru_RU.KOI8-R/articles/dialup-firewall/article.sgml new file mode 100644 index 0000000000..01fd333d10 --- /dev/null +++ b/ru_RU.KOI8-R/articles/dialup-firewall/article.sgml @@ -0,0 +1,384 @@ +<!-- + The FreeBSD Russian Documentation Project + + $FreeBSD$ + $FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/dialup-firewall/article.sgml,v 1.2 2001/06/30 11:02:46 phantom Exp $ + + Original revision: 1.7 +--> + +<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [ +<!ENTITY % man PUBLIC "-//FreeBSD//ENTITIES DocBook Manual Page Entities//EN"> +%man; +]> + +<article> + <articleinfo> + <title>���������� ����������� ������ �� ������������� ������ ����� ��� + ������ FreeBSD</title> + + <authorgroup> + <author> + <firstname>Marc</firstname> + <surname>Silver</surname> + + <affiliation> + <address><email>marcs@draenor.org</email></address> + </affiliation> + </author> + </authorgroup> + + <pubdate>$Date: 2001-07-25 13:17:15 $</pubdate> + + <abstract> + <para>��� ������ ���������, ��� ��������� ���������� ����� ��� ������ + ������������ PPP �� ������ �� ������������� ������ ����� � FreeBSD � + IPFW, �, � ���������, ����������� ��������� ����������� ������ ��� + ������������� �������������� ������ ����� � ����������� ���������� + ������� IP. ���� �������� �� ��������� ��������� ��������� + PPP-����������.</para> + </abstract> + </articleinfo> + + <sect1 id="preface"> + <title>��������</title> + + <para>���������� ����������� ������ �� ������������� ������ ����� ��� + ������ FreeBSD</para> + + <para>���� �������� ������������ ��� ����, ����� ������� ��������, + ��������� ��� ��������� ����������� ������ ��� ������ FreeBSD � ������, + ����� IP-����� ���������� ����������� ����� �����������. ���� + ����������� ��� ������ ��� ����, ����� ������� ���� �������� ����������� + ������������� � ����������, ��� �� ���������� ���� ����������� � + ��������� <ulink + URL="mailto:marcs@draenor.org">�����������</ulink>.</para> + </sect1> + + <sect1 id="kernel"> + <title>��������� ����</title> + + <para>������ ����� ��� ����� ����������������� ���� ���� FreeBSD. ���� ��� + ����� ����� ��������� ���������� � ���, ��� ��� �������, �� ����� ����� + ������ � <ulink + URL="http://www.FreeBSD.org/handbook/kernelconfig.html">������� + ����������� � ������������ ����</ulink>. ��� ����� �������� � ���� + ��������� ���������:</para> + + <variablelist> + <varlistentry> + <term><literal>options IPFIREWALL</literal></term> + + <listitem> + <para>�������� ���������� ����� � ����.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><literal>options IPFIREWALL_VERBOSE</literal></term> + + <listitem> + <para>�������� ��������� � ������������� ������� � ��������� + ������.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><literal>options + IPFIREWALL_VERBOSE_LIMIT=<replaceable>100</replaceable></literal></term> + + <listitem> + <para>������������ ���������� ������������ � ������ ����������� + ���������. ��� ��������� ���������� �� ���������� ������ ��������� + ���������� ������������� �������. <replaceable>100</replaceable> + �������� ���������� ��� ������������� ����������, �� �� ������ + �������� ��� � ����������� �� ����� ������������.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><literal>options IPDIVERT</literal></term> + + <listitem> + <para>�������� ������������� <emphasis>����������������</emphasis> + �������, ��� ����� �������� ����.</para> + </listitem> + </varlistentry> + </variablelist> + + <para>������� ����� ��� ��������� �������������� ����������, ������� �� + ������ ������� � ���� ��� ���������� �������������� ������������. ��� + ������ ����������� ������ ����� �� ���������, �� ��������� ������������� + ����������� ������������ ����� ��� �� ��� ���������������.</para> + + <variablelist> + <varlistentry> + <term><literal>options TCP_RESTRICT_RST</literal></term> + + <listitem> + <para>���� �������� ��������� ��� ������ TCP RST. ��� ����� + ������������ � ��������, ������� ����� ������������ ����-������ + SYN (������� �������� �������� ������� IRC) ��� ����, ��� �� + ����� ���� ����� ������������ ������������ ������.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><literal>options TCP_DROP_SYNFIN</literal></term> + + <listitem> + <para>��� ������������� ����� ��������� TCP-������ � ������ SYN � + FIN ������������. ��� �������� �������� ������������� + ������������� �� ������ ���� ����� ������ ���������, ��� nmap, + �� ��� ���� ������ ����� ������������ ���������� RFC1644. ���� �� + ������ ����� �������� ���-������, ������ ��� �� + �������������.</para> + </listitem> + </varlistentry> + </variablelist> + + <para>�� �������������� ������ ����� �� ����� �������������� ����. ��� + ���������� ��������� ����������� ������ ���, � �������, ���������� ����� + ��������� ������������ ����� ���� ��� .</para> + </sect1> + + <sect1 id="rcconf"> + <title>��������� <filename>/etc/rc.conf</filename> ��� �������� ����������� + ������</title> + + <para>������ ��� ����� ������ ��������� ��������� � ���� + <filename>/etc/rc.conf</filename> ��� ����, ����� ������� � ��������� + ����������� ������. ������ �������� ��������� ������:</para> + + <programlisting> +firewall_enable="YES" +firewall_script="/etc/firewall/fwrules" +natd_enable="YES" +natd_interface="tun0" +natd_flags="-dynamic" + </programlisting> + + <para>��� ��������� ����� ������ ���������� � ���, ��� ������ ��� ������, + ��������� �� ���������� ����� <filename>/etc/defaults/rc.conf</filename> + � �������� &man.rc.conf.5;</para> + </sect1> + + <sect1> + <title>���������� ��������� �������������� ������� ������� � PPP</title> + + <para>�����, �� ��� ����������� ���������� � PPP �������� �������������� + ������� ������� (NAT). ���� ��� ��� ������, �� ��� ����� ��� ���������, + ��� ��� � ���� �������� ��� ��� �� ����� ����� ������������ + &man.natd.8;.</para> + + <para>���� � ��� ��� ���� ���� �������� ��� ��������������� ������� PPP, + �� ��, ������ �����, �������� �������� ���:</para> + + <programlisting> +ppp_enable="YES" +ppp_mode="auto" +ppp_nat="YES" +ppp_profile="<replaceable>profile</replaceable>" + </programlisting> + + <para>���� ��� ���, �� ������� ������� <literal>ppp_nat="YES"</literal>. + ��� ����� ����������� ������� ��� ������� + <literal>nat enable yes</literal> � <literal>alias enable yes</literal> + � ����� <filename>/etc/ppp/ppp.conf</filename>.</para> + </sect1> + + <sect1 id="rules"> + <title>����� ������ ��� ����������� ������</title> + + <para>������ �� ��������� ����������� ���. ������������, ��� �������� + �������, ��� ��� ������ ������� ��� ����������� ������, ����� ���� �� + ����� ��������� ������������, � ���������� ����� ������ ����������. � + �������, ��� � ������ ���������� ������ ����������� ����� ������, ������ + ������������ �� �������������. � ����� ���� ��������� �������� ����� + ������, ������� ������ ������� ����������� ������������� �������������� + �������. �� ������ ���������� �������� �� ��� ���� ����������, ���� + ������������� ������� � �������� ������. �� ������� ���������� ������ + ��������� ����������� ������. �� ������ ��������� �� ��������� ���, � + ����� ��������� ������ ��, ��� ��� �����. ������� ������ ��������� � + �������, ����� ������� ���� ����������� �������, � ����� �����������. + ��������, ��� �� �������� ���� ����������� �������, � ����� ��� ��������� + ����� ���������. :)</para> + + <para>������ �������� ������� /etc/firewall. ��������� � ���� ������� � + �������������� ���� fwrules, ������� �� ������� � rc.conf. ����������, + ��������, ��� �� ������ �������� ��� ��� �� ����� ������. � ���� + ����������� ��� ����� ������ � �������� �������.</para> + + <para>������� �������� �� ������ ����� ��� ����������� ������, � �������� + ������ ��� ����������.</para> + + <programlisting> +# Firewall rules +# Written by Marc Silver (marcs@draenor.org) +# http://draenor.org/ipfw +# Freely distributable + + +# Define the firewall command (as in /etc/rc.firewall) for easy +# reference. Helps to make it easier to read. +fwcmd="/sbin/ipfw" + +# Force a flushing of the current rules before we reload. +$fwcmd -f flush + +# Divert all packets through the tunnel interface. +$fwcmd add divert natd all from any to any via tun0 + +# Allow all data from my network card and localhost. Make sure you +# change your network card (mine was fxp0) before you reboot. :) +$fwcmd add allow ip from any to any via lo0 +$fwcmd add allow ip from any to any via fxp0 + +# Allow all connections that I initiate. +$fwcmd add allow tcp from any to any out xmit tun0 setup + +# Once connections are made, allow them to stay open. +$fwcmd add allow tcp from any to any via tun0 established + +# Everyone on the internet is allowed to connect to the following +# services on the machine. This example shows that people may connect +# to ssh and apache. +$fwcmd add allow tcp from any to any 80 setup +$fwcmd add allow tcp from any to any 22 setup + +# This sends a RESET to all ident packets. +$fwcmd add reset log tcp from any to any 113 in recv tun0 + +# Allow outgoing DNS queries ONLY to the specified servers. +$fwcmd add allow udp from any to <replaceable>x.x.x.x</replaceable> 53 out xmit tun0 + +# Allow them back in with the answers... :) +$fwcmd add allow udp from <replaceable>x.x.x.x</replaceable> 53 to any in recv tun0 + +# Allow ICMP (for ping and traceroute to work). You may wish to +# disallow this, but I feel it suits my needs to keep them in. +$fwcmd add 65435 allow icmp from any to any + +# Deny all the rest. +$fwcmd add 65435 deny log ip from any to any + </programlisting> + + <para>������ � ��� ���� ������������������� ���������� �����, ������� + ��������� ���������� � ������ 80 � 22, � ���������� � ������� ��� + ��������� ������� ����������. ������ � ��� ������ ������� ������ + ������������ � ��� ���������� ����� ������ ��������� ����������. ���� �� + ����������, ��� ��� �� ���, � ��� ��������� �������� ��� � ��� ��������� + ���������, ����������, �������� ��� ������ �� ����������� �����.</para> + </sect1> + + <sect1> + <title>�������</title> + + <qandaset> + <qandaentry> + <question> + <para>������ �� ����������� natd � ipfw, ����� ����� ������������ + ���������� ������� ppp?</para> + </question> + + <answer> + <para>����� ������, ��� ������������ �������, �����������, ������ � + ��������� ipfw � natd ������ ���������� � ppp ��������. � + ���������� ���������� ����� ������� � ������� ������ � ������ � + ������, ���, ���� ipfw �������� ������� ����� ������ � ������ + ������������, ��� ������� ppp, �� ���, ��� �� ���������� � + ������ ������������, ����������� � �������� ���������. ����� �� + ������, �� ������� � ��� ���������, �������� ��, ��� � ����������� + ������� ����������� ������, ����������� � ����, � �� � + ���������������� ���������.</para> + </answer> + </qandaentry> + + <qandaentry> + <question> + <para>���� �� ���������� ���� � ��������� ����� ������, ��� + 192.168.0.0, �� ���� �� � �������� ������� ���� <literal>$fwcmd add + deny all from any to 192.168.0.0:255.255.0.0 via tun0</literal> � + �������� ����������� ������ ��� �������������� ������� ������������ + ����� � ������� �� ���������� ����?</para> + </question> + + <answer> + <para>������� ����� �������� ��� ���. �������� ����� �������� ��, + ��� natd ��������� �������������� ��� <emphasis>�����</emphasis> + �������, ����������������� ����� ���������� tun0. �� ��� ���, ���� + ��� ���, �������� ������ ����� ������������ ������ �� ����������� + ����������� IP-�����, � �� �� ���������� ����. ������ ��������, + ��� �� ������ ��������, ��������, ������� <literal>$fwcmd add deny + all from 192.168.0.4:255.255.0.0 to any via tun0</literal>, ������� + ����� ������������ ������������ ����� � ����� ���������� ���� � + ������� ����� ����� ���������� �����.</para> + </answer> + </qandaentry> + + <qandaentry> + <question> + <para>���-�� ����� �����������. � �������� ����� ��������� ������ �� + �����, � ������ ������ ������������.</para> + </question> + + <answer> + <para>� ���� ��������� ��������������, ��� �� ��������� � ���������� + <emphasis>ppp</emphasis> ������ ������������, ������� ������������ + ����� ������ �������� � ����������� <devicename>tun0</devicename>, + ������� ������������� ������� ����������, ��������� �������� + &man.ppp.8; (��������� ����� ��� <emphasis>user-ppp</emphasis>). + �������������� ���������� ����� ������������ ���������� + <devicename>tun1</devicename>, <devicename>tun2</devicename> � ��� + �����.</para> + + <para>�� ������ ����� ��������, ��� ��������� &man.pppd.8; + ���������� ������ ���������, <devicename>ppp0</devicename>, + �������, ���� �� ������������� ���������� � ������� ��������� + &man.pppd.8;, �� ������ �������� <devicename>tun0</devicename> �� + <devicename>ppp0</devicename>. ������� ������ �������� ������� ��� + ����������� ������ ������� ����. ������������ ����� ������ ����� + �������� � ����� <filename>fwrules_tun0</filename>.</para> + + <screen> + &prompt.user; <userinput>cd /etc/firewall</userinput> + /etc/firewall&prompt.user; <userinput>su</userinput> + <prompt>Password:</prompt> + /etc/firewall&prompt.root; <userinput>mv fwrules fwrules_tun0</userinput> + /etc/firewall&prompt.root; <userinput>cat fwrules_tun0 | sed s/tun0/ppp0/g > fwrules</userinput> + </screen> + + <para>��� ����, ����� ������, ����������� �� �� &man.ppp.8; ��� + &man.pppd.8;, �� ������ ���������� ����� ������� &man.ifconfig.8; + ����� ��������� ����������. ��������, ��� ����������, ������������ + ��� ������ ��������� &man.pppd.8;, �� ������� �����, ������� �� + ��������� (�������� ������ ����������� � ���� �������):</para> + + <screen> + &prompt.user; <userinput>ifconfig</userinput> + <emphasis>(skipped...)</emphasis> + ppp0: flags=<replaceable>8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1524</replaceable> + inet <replaceable>xxx.xxx.xxx.xxx</replaceable> --> <replaceable>xxx.xxx.xxx.xxx</replaceable> netmask <replaceable>0xff000000</replaceable> + <emphasis>(skipped...)</emphasis> + </screen> + + <para>� ������ �������, ��� ����������, ����������� ����������� + &man.ppp.8; (<emphasis>user-ppp</emphasis>), �� ������ ������� + ����� ����� ����������:</para> + + <screen> + &prompt.user; <userinput>ifconfig</userinput> + <emphasis>(skipped...)</emphasis> + ppp0: flags=<replaceable>8010<POINTOPOINT,MULTICAST> mtu 1500</replaceable> + <emphasis>(skipped...)</emphasis> + tun0: flags=<replaceable>8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1524</replaceable> + <emphasis>(IPv6 stuff skipped...)</emphasis> + inet <replaceable>xxx.xxx.xxx.xxx</replaceable> --> <replaceable>xxx.xxx.xxx.xxx</replaceable> netmask <replaceable>0xffffff00</replaceable> + Opened by PID <replaceable>xxxxx</replaceable> + <emphasis>(skipped...)</emphasis> + </screen> + </answer> + </qandaentry> + </qandaset> + </sect1> +</article> diff --git a/ru_RU.KOI8-R/articles/diskless-x/Makefile b/ru_RU.KOI8-R/articles/diskless-x/Makefile new file mode 100644 index 0000000000..d6966a236a --- /dev/null +++ b/ru_RU.KOI8-R/articles/diskless-x/Makefile @@ -0,0 +1,26 @@ +# +# $FreeBSD$ +# $FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/diskless-x/Makefile,v 1.2 2001/07/25 10:26:32 phantom Exp $ +# +# Original revision: 1.1 +# + +MAINTAINER=andy@FreeBSD.org.ua + +DOC?= article + +FORMATS?= html + +INSTALL_COMPRESSED?= gz +INSTALL_ONLY_COMPRESSED?= + +# +# SRCS lists the individual SGML files that make up the document. Changes +# to any of these files will force a rebuild +# + +# SGML content +SRCS= article.sgml + +DOC_PREFIX?= ${.CURDIR}/../../.. +.include "${DOC_PREFIX}/share/mk/doc.project.mk" diff --git a/ru_RU.KOI8-R/articles/diskless-x/article.sgml b/ru_RU.KOI8-R/articles/diskless-x/article.sgml new file mode 100644 index 0000000000..6112757b90 --- /dev/null +++ b/ru_RU.KOI8-R/articles/diskless-x/article.sgml @@ -0,0 +1,367 @@ +<!-- + The FreeBSD Russian Documentation Project + + $FreeBSD$ + $FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/diskless-x/article.sgml,v 1.2 2001/06/30 11:04:39 phantom Exp $ + + Original revision: 1.4 +--> + +<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [ + +<!ENTITY % man PUBLIC "-//FreeBSD//ENTITIES DocBook Manual Page Entities//EN"> +%man; +]> + +<article> + <articleinfo> + <title>����������� X-������: ����������� �� ���������</title> + + <authorgroup> + <author> + <firstname>Jerry</firstname> + <surname>Kendall</surname> + <affiliation> + <address> + <email>jerry@kcis.com</email> + </address> + </affiliation> + </author></authorgroup> + + <pubdate>28 ������� 1996</pubdate> + + <copyright> + <year>1996</year> + <holder>Jerry Kendall</holder> + </copyright> + + <abstract> + <para>� ������� ���������� ������ �� ������ �������� FreeBSD-hackers � + ���� ��������� ����������� X-��������. �������� X-���������, + ��-������, ������� ������� ��������� ����������� ������� � ����������� + ������� ������, ��������� ����� NFS. �� �� ����� ���� ���� ��������� + ��� �������� ���� ������ ����������� ������. ������ �� ��� ���� + <hostid role="fqdn">altair.kcis.com</hostid>. ����������� X-��������, + ������� ������� �� ���� ������ ������ 386DX-40. �� ��� ��� ���� + ������� 340 ��������, �� � �� ����� ��� ������. ��� ��� ������ + ����������� � <hostid role="fqdn">antares.kcis.com</hostid> �� ���� + Ethernet. ������ �������� �������� 486DX2-66. � �������� (���������) + ����������� ������� FreeBSD, ������� �� ���������� ��������� ����. + �������� � ���� ������ ��������� Sun 670MP ��� ����������� SunOS 4.1.3. + � ����� ������� ����������� ���� � �� �� ��������� ���������.</para> + + <para>� ������, ��� � ����� ���� ��� ��������. ����������, ���������� + ��� ����� ���������.</para> + </abstract> + </articleinfo> + + <sect1> + <title>�������� ����������� ������� (�� ����������� �������)</title> + + <para>��� ��� ������� ��������� ���������� �� ����� �������� � ���������� + ������������ (TSR) � ������� �����������, ������������� � MS-DOS, �� + ����� ������� ��������� ����������� �������, ���, ���� �� ������, ������� + ���� MS-DOS, ������� ����� (��� ������ ������ + <filename>config.sys</filename>/<filename>autoexec.bat</filename>) + ����������, ����� ������������ ������� ��������� ��� ������� �������. + � ����������� ��������� ����� � �� ��������� ��������. ��� ���� MS-DOS + (6.x) ���������� ����.</para> + + <example> + <title><filename>config.sys</filename></title> + + <programlisting>[menu] +menuitem=normal, normal +menuitem=unix, unix +[normal] +.... +normal config.sys stuff +... +[unix]</programlisting> + </example> + + <example> + <title><filename>autoexec.bat</filename></title> + + <programlisting>@ECHO OFF +goto %config% + +:normal +... +normal autoexec.bat stuff +... +goto end + +:unix +cd \netboot +nb8390.com + +:end</programlisting> + </example> + </sect1> + + <sect1> + <title>��������� �������� ��� ������� �������� (�� �������)</title> + + <para>�������������� ��������� 'net-boot', ������������� � �������� + <filename>/usr/src/sys/i386/boot/netboot</filename>. �� ������ �������� + ��������� � ������ ����� <filename>Makefile</filename>. �������� + ���������, ��� ��� �����. �������� ��������� ����� ��������� �� ������ + ������. ����� ���������� ����� ���������, ������ ���������� 2 ���������� + ����� ��� MS-DOS, <filename>nb8390.com</filename> � + <filename>nb3c509.com</filename>. ���� �� ���� �������� � ����� ���, ��� + ��� ����� ��������� �� ����������� �������. ��� ����� ��������� ���� + � �������. �� ���� ����� ��������� ��� ��������� �� ����������� ������� + MS-DOS, ��������� �����.</para> + </sect1> + + <sect1> + <title>����������, ����� ��������� ����� ��������� (�� ����������� + �������)</title> + + <para>���� �� ������, ����� ����� ��������� ������������ � ����� �������� + Ethernet, ��� �����. ���� � ��� ������������ ����� ��������� NS8390 ��� + ������ �� �� ������, �� ����� ������������ + <filename>nb8390.com</filename>. ���� � ��� ������������ ����� ��������� + �� ������ 3Com 509, �� ����������� ��������� �������� + <filename>nb3C509.com</filename>. ���� �� �� ������� � ���, ��� � ��� + �����������, ���������� ������������ �����, � ���� �� ������ ��������� + <errorname>No adapter found</errorname>, ���������� ������. ����� �����, + ��� ������ �� �������� ������.</para> + </sect1> + + <sect1> + <title>�������� �� ����</title> + + <para>��������� ����������� ������� ��� �����-���� ������ + config.sys/autoexec.bat. ���������� ��������� ����������� ��������� ��� + ������ �������� Ethernet.</para> + + <para>��� ������� Ethernet �������� �� ������ WD8013 � 16-��������� ������, + ��� ��� � �������� <filename>nb8390.com</filename></para> + + <screen> +<prompt>C:></prompt> <userinput>cd \netboot</userinput> +<prompt>C:></prompt> <userinput>nb8390</userinput> + +<prompt>Boot from Network (Y/N) ?</prompt> <userinput>Y</userinput> + +BOOTP/TFTP/NFS bootstrap loader ESC for menu + +Searching for adapter.. +WD8013EBT base 0x0300, memory 0x000D8000, addr 00:40:01:43:26:66 + +Searching for server...</screen> + + <para>������ ��� ����������� ������� �������� ����� ������, ������� + ��������� � �������� ������� ��������. ��������� ������ + <literal>addr</literal> ����, ����� ��� ��� �����������. ������������� + ����������� ������� � �������� ���� ����� <filename>config.sys</filename> + � <filename>autoexec.bat</filename>, ����� ��� ��������� ��� �������� + �������������. ����� ����, � ����. ���� �� ��������� + <command>nb3c509.com</command>, � �� <command>nb8390.com</command>, �� + ��������� ��������� ����� ����� ������ ��. ���� �� �������� ��������� + <errorname>No adapter found</errorname> ����� <literal>Searching for + adapter...</literal>, ��������� ������������ ������� ���������� ������� + ���������� � ����� <filename>Makefile</filename>.</para> + </sect1> + + <sect1> + <title>��������� ����������� �������� ����������� �� ���� (�� + �������)</title> + + <para>���������, ��� � ����� <filename>/etc/inetd.conf</filename> ������� + ������ ��� tftp � bootps. ���� �������� ��� ������:</para> + + <programlisting> +tftp dgram udp wait nobody /usr/libexec/tftpd tftpd /tftpboot +# +# Additions by who ever you are +bootps dgram udp wait root /usr/libexec/bootpd bootpd /etc/bootptab + </programlisting> + + <para>���� �� �������� ���� <filename>/etc/inetd.conf</filename>, �� + ������� ��������� inetd ������ <literal>HUP</literal>. ��� ����� + ������� ID �������� inetd �������� <command>ps -ax | grep inetd | grep -v + grep</command>. ����� ����� ������� ��� ������ HUP. ��� �������� + �������� <command>kill -HUP <pid></command>. ��� �������� inetd + �������� �������� ���� ���������������� ����.</para> + + <para>�� ������ �� �� ������ � <literal>addr</literal> �� ������ ���������� + ���������� �� ����������� �������? ��� �� ������ �������, ������ �� ��� + ���������.</para> + + <para>�������� ������ � ���� <literal>/etc/bootptab</literal> (����� ����, + ��� ����������� ��� �������). ��� ������ ����� ��������� ���:</para> + + <programlisting>altair:\ + :ht=ether:\ + :ha=004001432666:\ + :sm=255.255.255.0:\ + :hn:\ + :ds=199.246.76.1:\ + :ip=199.246.76.2:\ + :gw=199.246.76.1:\ + :vm=rfc1048:</programlisting> + + <para>������ ����� ����� �����:</para> + + <informaltable frame="none"> + <tgroup cols="2"> + <tbody> + <row> + <entry><literal>altair</literal></entry> + <entry>�������� ����������� ������� ��� �������� �����.</entry> + </row> + + <row> + <entry><literal>ht=ether</literal></entry> + <entry>��� ������������ 'ethernet'.</entry> + </row> + + <row> + <entry><literal>ha=004001432666</literal></entry> + <entry>���������� ����� (�����, ���������� �����).</entry> + </row> + + <row> + <entry><literal>sm=255.255.255.0</literal></entry> + <entry>����� �������.</entry> + </row> + + <row> + <entry><literal>hn</literal></entry> + <entry>��������� ������� �������� ������� ��� ��� �����.</entry> + </row> + + <row> + <entry><literal>ds=199.246.76.1</literal></entry> + <entry>��������� ������� ������������ ������� ����.</entry> + </row> + + <row> + <entry><literal>ip=199.246.76.2</literal></entry> + <entry>��������� ������� ��� IP-�����.</entry> + </row> + + <row> + <entry><literal>gw=199.246.76.1</literal></entry> + <entry>��������� ������� ������������� �� ���������.</entry> + </row> + + <row> + <entry><literal>vm=...</literal></entry> + <entry>������ �������� ��� ���.</entry> + </row> + </tbody> + </tgroup> + </informaltable> + + <note> + <para>��������� ������������ ��������� IP-�������, ������ ���� �������� + �����.</para> + </note> + + <para>�������� ������� '/tftpboot', � ������� ����� ������������� + ���������������� ����� ��� ����������� ������, ������� ����� ����������� + ������. ��� ����� ����� ����������� 'cfg.<ip>', ��� <ip> + �������� IP-������� ����������� �������. ���������������� ���� ��� + 'altair' ����� ������ �������� /tftpboot/cfg.199.246.76.2. ��� + ����������:</para> + + <programlisting>rootfs 199.246.76.1:/DiskLess/rootfs/altair +hostname altair.kcis.com</programlisting> + + <para>������ <literal>hostname altair.kcis.com</literal> ������ ��������� + ����������� ������� �� ������ �������� ���.</para> + + <para>������ <literal>rootfs 199.246.76.1:/DiskLess/rootfs/altair</literal> + ��������� ����������� ������� �������������� �� �������� �������� + �������, ����������� �� ��������� NFS.</para> + + <note> + <para>�������� �������� �������, ����������� ����� NFS, ����� + ������������� � ������ <emphasis>������ ��� ������</emphasis>.</para> + </note> + + <para>������ ��� ����������� ������� ����� ���� ������������ �������� � + ������ �� ���������� �������� ������ � ������, ���� ��� + �����������.</para> + + <para>� ��������� ��� ������ �� ������ 386DX-40 � �������� ����������� + X-���������.</para> + + <para>������ ��� 'altair' ����� ����� ���:</para> + + <literallayout>/ +/bin +/etc +/tmp +/sbin +/dev +/dev/fd +/usr +/var +/var/run</literallayout> + + <para>��� �������� ������ ������:</para> + + <screen> +-r-xr-xr-x 1 root wheel 779984 Dec 11 23:44 ./kernel +-r-xr-xr-x 1 root bin 299008 Dec 12 00:22 ./bin/sh +-rw-r--r-- 1 root wheel 499 Dec 15 15:54 ./etc/rc +-rw-r--r-- 1 root wheel 1411 Dec 11 23:19 ./etc/ttys +-rw-r--r-- 1 root wheel 157 Dec 15 15:42 ./etc/hosts +-rw-r--r-- 1 root bin 1569 Dec 15 15:26 ./etc/XF86Config.altair +-r-x------ 1 bin bin 151552 Jun 10 1995 ./sbin/init +-r-xr-xr-x 1 bin bin 176128 Jun 10 1995 ./sbin/ifconfig +-r-xr-xr-x 1 bin bin 110592 Jun 10 1995 ./sbin/mount_nfs +-r-xr-xr-x 1 bin bin 135168 Jun 10 1995 ./sbin/reboot +-r-xr-xr-x 1 root bin 73728 Dec 13 22:38 ./sbin/mount +-r-xr-xr-x 1 root wheel 1992 Jun 10 1995 ./dev/MAKEDEV.local +-r-xr-xr-x 1 root wheel 24419 Jun 10 1995 ./dev/MAKEDEV + </screen> + + <para>�� �������� ��������� ������� <command>MAKEDEV all</command> � + �������� <filename>dev</filename>.</para> + + <para>��� <filename>/etc/rc</filename> ��� <hostid>altair</hostid> �������� + ��� ���:</para> + +<programlisting>#!/bin/sh +# +PATH=/bin:/ +export PATH +# +# configure the localhost +/sbin/ifconfig lo0 127.0.0.1 +# +# configure the ethernet card +/sbin/ifconfig ed0 199.246.76.2 netmask 0xffffff00 +# +# mount the root filesystem via NFS +/sbin/mount antares:/DiskLess/rootfs/altair / +# +# mount the /usr filesystem via NFS +/sbin/mount antares:/DiskLess/usr /usr +# +/usr/X11R6/bin/XF86_SVGA -query antares -xf86config /etc/XF86Config.altair > /dev/null 2>&1 +# +# Reboot after X exits +/sbin/reboot +# +# We blew up.... +exit 1</programlisting> + + <para>�������������� ����� ��������� � �������.</para> + </sect1> +</article> + +<!-- + Local Variables: + mode: sgml + sgml-indent-data: t + sgml-omittag: nil + sgml-always-quote-attributes: t + End: +--> \ No newline at end of file diff --git a/ru_RU.KOI8-R/articles/explaining-bsd/Makefile b/ru_RU.KOI8-R/articles/explaining-bsd/Makefile new file mode 100644 index 0000000000..6821fa27d9 --- /dev/null +++ b/ru_RU.KOI8-R/articles/explaining-bsd/Makefile @@ -0,0 +1,20 @@ +# +# $FreeBSD$ +# $FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/explaining-bsd/Makefile,v 1.3 2001/07/06 07:46:47 kappa Exp $ +# +# Original revision: 1.1 +# + +MAINTAINER= kappa@FreeBSD.org.ua + +DOC?= article + +FORMATS?= html + +INSTALL_COMPRESSED?= gz +INSTALL_ONLY_COMPRESSED?= + +SRCS= article.sgml + +DOC_PREFIX?= ${.CURDIR}/../../.. +.include "${DOC_PREFIX}/share/mk/doc.project.mk" diff --git a/ru_RU.KOI8-R/articles/explaining-bsd/article.sgml b/ru_RU.KOI8-R/articles/explaining-bsd/article.sgml new file mode 100644 index 0000000000..02f9c33b2e --- /dev/null +++ b/ru_RU.KOI8-R/articles/explaining-bsd/article.sgml @@ -0,0 +1,621 @@ +<!-- + The FreeBSD Russian Documentation Project + + $FreeBSD$ + $FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/explaining-bsd/article.sgml,v 1.2 2001/06/30 11:05:51 phantom Exp $ + + Original revision: 1.1 +--> + +<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [ +<!ENTITY % man PUBLIC "-//FreeBSD//ENTITIES DocBook Manual Page Entities//EN"> +%man; +]> + +<article> + <articleinfo> + <title>��� ����� BSD</title> + + <author> + <firstname>Greg</firstname> + <surname>Lehey</surname> + + <affiliation> + <address><email>grog@FreeBSD.org</email></address> + </affiliation> + </author> + + <abstract> + <para>� ���� �������� � ��������� �����������, ����� + <quote>Linux</quote> ����������� ����� ��������� ����� + <quote>������������ �������</quote>, ���� ��� ������ �� + ������������ <trademark>UNIX</trademark> ������������ �������, + �������� ���� ������� �������� ������� �������. �������� + ������ <ulink + url="http://www.leb.net/hzo/ioscount/data/r.9904.txt">Internet + Operating System Counter</ulink>, � ������ 1999-�� 31,3% ���� + ������ޣ���� � Internet ����� �������� ��� Linux. 14,6% + ������������ BSD UNIX. ��������� �� ������� ������� � ������� + ���-�����, �������� <ulink + url="http://www.yahoo.com">Yahoo!</ulink>, �������� ��� BSD. + ����� ����������� � ���� ftp-������, <ulink + url="ftp://ftp.cdrom.com">ftp.cdrom.com</ulink>, �������� ��� + BSD � �������� 1,4 ��������� ������ � ����. ��������, ��� ��� + �� �����, ������������������ �����: ����� �������, ��� BSD -- + ��� ��������� ���������� �����.</para> + + <para>��� � ޣ� �� ������? ������ ����������� BSD ��������� + ������ �������? ��� ���������� ������� ����� �������� �� ��� � + ������ �������.</para> + + <para>�� ���������� ����� ������ ��������� �������� �� <emphasis>���������� + </emphasis> ������� BSD �� Linux.</para> + </abstract> + </articleinfo> + + <sect1> + <title>��� ����� BSD?</title> + + <para>BSD �������� <quote>Berkeley Software Distribution</quote>. + ��� ���������� ����������� �����������, ������������������ � + �������� ����� �������������� ������������� � ������, ������� + ������� ������������ �� ���� ���������� � ������������ ������� + UNIX �������� AT&T. �� ������ ������ 4.4BSD-Lite ���� + ������� ��������� ������������ ������ � ��������� ��������� + ������. � �� ������ �������� ���������� ������ ��������, ����� + ������� ����� ������� �������� ������ GNU. ��� ��� ����� + ���������� ������������ ������� BSD:</para> + + <itemizedlist> + <listitem> + <para>���� BSD, ���������� �� ���������� ���������, ���������� + �������, ������������ ������������������� (SMP), ������ � + ������������ � ��� �����.</para> + + <para><emphasis>� ������� �� Linux, ���������� ��������� + ���� BSD, ������������ �������������.</emphasis></para> + </listitem> + + <listitem> + <para>���������� C, �������� ��������� ��������� + ����������������.</para> + + <para><emphasis>���������� C � BSD ������������ �� ���� �� + ������, � �� �� ������� GNU.</emphasis></para> + </listitem> + + <listitem> + <para>��������, �������� �������, �����������, ��������� + ������ � ������ ������� ������������.</para> + + <para><emphasis>��������� �� ��� ���������� �� ���� GNU, � + ��������� -- ���.</emphasis></para> + </listitem> + + <listitem> + <para>������� X Window, ���������� �� ����������� ���������.</para> + + <para>������� X Window, ������� ������������ � ����������� + ������ BSD, ��������������� �������� <ulink + url="http://www.XFree86.org/">XFree86</ulink>. ��� ��� �� + ����� ���, ��� � � Linux. BSD, ��� �������, �� ������ ���� + �� �����-�� ������������� <quote>��������</quote>, �������� + GNOME ��� KDE, ���� ��� ������� ��������.</para> + </listitem> + + <listitem> + <para>��������� ������ ������ ���������� � ��������� ��������.</para> + </listitem> + </itemizedlist> + </sect1> + + <sect1> + <title>���, ��������� UNIX?</title> + + <para>������������ ������� BSD �� �������� ������� ���� �����. + ��� ���� ������� ������ ������, �� UNIX �� AT&T + Research, ������� ����� ���� ������ ����������� �� UNIX System + V. ��� ���� ����� �������, ���� ���������, ��� AT&T ������� + �� ��������� �������� ���� ����� ����������.</para> + + <para>�������������, UNIX ������� �� ��� ����������� ������������ + � ��������� �����������, � � �������� ������ BSD ������̣��� + <emphasis>��</emphasis> UNIX. �� � ������ �������, � AT&T + ������� ������������ ����� ����������, �������� ����������� + �����������, ��������������� ������� �� ������������� � ������� + ����������� (CSRG) ��������������� ������������ � ������. � + 1976 CSRG ��������� ���� ��� �� ��������� ������ ��� ��������� + <emphasis>Berkely Software Distribution</emphasis>, �����ݣ��� + <emphasis>BSD</emphasis>.</para> + + <para>���������� ������������ BSD ������������ ����� ������ + ���������������� ��������, � ��� ���� �� ��� ���, ���� CSRG �� + ��������� �������� � ���������� �� ������������� �������� ��� + ������������ ������� ��� (DARPA). ����� ��������� ���� + ���������� ���������������� ����������, �� ������� ��������� + ������������ ���� ��������� -- ARPANET. ����� ��������� ���������� + �������� ��� <emphasis>Internet Protocols</emphasis> ��� + <emphasis>TCP/IP</emphasis>, �� ��������� ���� �������� + ����������. �� ������ ������ ��������� ���������� ���� �������� + � ������� 4.2BSD � 1982 ����.</para> + + <para>� ������� ������������� ����� ������������ ��������� + �������� �� ������������ ������� �������. ������ �� ��� + ��������� ������ �������� �� UNIX, ������ ������������� ��ϣ �� + � ����. ������� �������� �������� Sun, ������� ��������� ������ + ����� ������� � �� ������ 4.2BSD ��������� ���� ������������ + ������� SunOS. ����� AT&T ���� ������ �������� ������������ + �������� ����� �� UNIX, ��������� �� ���� ��������� ���������� + ���������� ��� ��������� System III, �� ������� � ������ ������� + ����������� System V. ���������, ��� ��� ������ �� ��������� � + ���� ����������� ��������� ������ � ���� � ������������ ��� + BSD, � ��� ����� ���������� TCP/IP � ����� ������, ����� ������� + ������� �������� �������� <emphasis>csh</emphasis> � ��������� + �������� <emphasis>vi</emphasis>. ��� ��� + <quote>�������</quote> ��������� �������� �������� + <emphasis>Berkely Extensions</emphasis>.</para> + + <para>����������� BSD �������� ���, �������������� AT&T, �, + �������������, �������� ��������. � 1990 ���� �������������� + CSRG ������������, � ������ ���� ���������. ���-��� �� ������ + ������ ������ ����� ������������ ��� BSD �������� �� ��������� + ���� AT&T. � ������ ������ ��� �������, � ��� ��������� �� + ���� ������ <emphasis>Networking Tape 2</emphasis> ��� + <emphasis>Net/2</emphasis>. Net/2 �� ���� �����������, ������� + ������������ ��������: ����� 20% ���� ���� �������������. ���� + �� ������ CSRG, William F. Jolitz, ������� ����������� ��� � + ����������� ��������� � ������ 1992 ���� ��� ������ + <emphasis>386BSD</emphasis>. � �� �� ����� ����� ������ ������ + ������ ������ CSRG ������������ ������������ �������� <ulink + url="http://www.bsdi.com">Berkeley Software Design Inc.</ulink> + � ��������� ����-������ ������������ ������� <ulink + url="http://www.bsdi.com">BSD/386</ulink>, ������� ������������ + �� ��� �� ����� ����. ����� ��� �������� ���� �������� �� + BSD/OS.</para> + + <para>386BSD ��� ������� � �� ����� ����������� ������������ + ��������. ���� � 1993 ���� �� �ţ ���������� ��� �������: <ulink + url="http://www.NetBSD.org">NetBSD</ulink> � <ulink + url="http://www.FreeBSD.org">FreeBSD</ulink>. ���������� + ������������ ����������� �� ��� ������ ��-�� ����������� �� + ������� ������������ ����, ������� �� �ݣ ����� ����� ��������� + � 386BSD. � ������ ���� ������������ NetBSD, � ������ ������ + FreeBSD ���� ������ ������ � ��� �����. ����� ���, � + ����������� �������� ����������. � �������, ������� ��������� + ����� ����� ������ ����, ��� ����� �������� ����. � 1996 ���� + �� NetBSD ����������� �ݣ ���� ������ -- <ulink + url="http://www.OpenBSD.org">OpenBSD</ulink>.</para> + </sect1> + + <sect1> + <title>������ BSD ������������ ��������?</title> + + <para>�������������, ���������� ��� ������ ����� �������������:</para> + + <orderedlist> + <listitem> + <para>������������ BSD ����� ������ �������������� � �������� + ������ ���� � ������ ��� <quote>���������</quote>, � �� + ��������.</para> + </listitem> + + <listitem> + <para>�� �������� �ޣ�� Linux ����� ������������� ������ + ������ ����� ������� �� ��������� � ������� ��������, + �������� ��������� �������� ���������� � ���������, ������� + ������ ������� ������ �� �������������� ����� ������������� + Linux.</para> + </listitem> + + <listitem> + <para>������������ BSD, ��� �������, ����� ������, ��� + ������������ Linux, � � ���� ����� ����� ������� ������ + �������� ���������� ����� ������� �������������. ������� + ��������� ���� ����� ��������� � ����� Linux.</para> + </listitem> + + <listitem> + <para>� 1992 ���� �������� AT&T ������ � ��� �� <ulink + url="http://www.bsdi.com">BSDI</ulink>, ��������-���������� + �� BSD/386. �������� ������� ��������� ���� ��, ��� BSD/386 + ��������� � ���� �������� ���, �������������� AT&T. + ���� ����� �� ������� �� ��������� ���� � 1994-��, �� ����� + ����� ��������� ���� � �� ��� ���� ��������� ����� ������ + �����. ������ �������, � ����� 2000, � Internet ���� + ������������ ������, ������������, ��� �������� + ��������������� ������������ ��������� (<quote>recently + settled</quote>).</para> + + <para>� ���������� ��������������� ���������� ������ � + ����������: ���� � 80-� ����� BSD ���� �������� ��� ������ + <quote>BSD UNIX</quote>, �� � ����������� ��������� ������ + ����, ��������������� AT&T, BSD �������� ����� + ���������� UNIX-��. �� ������ �������� ���� ���� �� + ������������ ��������� ����: <quote>������������ ������� + 4.3BSD UNIX</quote> � <quote>������������ ������� + 4.4BSD</quote>.</para> </listitem> + + <listitem> + <para>���������� ������, ��� ������� BSD ������ ���������� �, � + �������, <quote>�����</quote> ����� �����. <ulink + url="http://interactive.wsj.com/bin/login?Tag=/&URI=/archive/retrieve.cgi%253Fid%253DSB952470579348918651.djm&">������ + � Wall Street Journal</ulink> �������� ��� + <quote>�������������</quote> ����� �������� BSD. ����� + ����������, ��� ����� ������, ��� � ��������� �������� + �����, ������������ ������ ����� �� �������� ����� �������� + ����.</para> + </listitem> + </orderedlist> + </sect1> + + <sect1> + <title>��������� BSD � Linux</title> + + <para>� ޣ� ����������� ������� �������, � �������, ����� + Debian Linux � FreeBSD? ��� �������� ������������ ��� �� + ��������� ����: ��� �������� ������������ ����� UNIX-�������� + ������������ �������. ��� �������� ��������������� �� + �������������� ������ (��� �� ��������� � ��������� ������ + ������������� Linux). � ���� ������� �� ���������� BSD � + ��������� � Linux. �ӣ ��������� � �������� ����� �������� + FreeBSD, ������� ����������� ����� 80% ���� ����������� BSD � + ����, ���� �������� � NetBSD � OpenBSD � ������ �������� ������ + ������ �������������.</para> + + <sect2> + <title>���� ����������� BSD?</title> + + <para>������ �������, ��� �����-�� ���������� ������� ��� + ���������� ������� BSD. ���������� � ��������������� ������� + ������� ����������������������� � ��������� ������� + ������������ �� ����� ����. ��������� ���������� BSD + ������������ ����� ��������� Open Source ������� �� ������ + ������������ �������������.</para> + </sect2> + + <sect2> + <title>��� �������� ������� ���������� � ���������� BSD?</title> + + <para>���� BSD ���������� Open Source ������ ����������. ������ + ������ ������������ �������� ��������� <emphasis>������ + ����������</emphasis> � ������� <ulink + url="http://www.sourcegear.com/CVS">Concurrent Versions + System</ulink> (CVS). ��� ������ �������� ��������� ���� + �������� ��� �������, � ����� ������������ � ��������������� + �����. CVS ��������� ������������� �������� ����� ������ + ����� ������ �������.</para> + + <para>�������� ����� ����� �� ����� ���� ��������� � + ����������������� BSD. ��� ��� ��������� �� ��� + ������:</para> + + <itemizedlist> + <listitem> + <para><emphasis>������������� (contributors)</emphasis> + ����� ��� ��� ������������. ��� �� ����� ��������� ��� + �������� ��� ��������������� � ������ ���������� �������. + ��� ���������� ������ ������� ������������������ + �������������, ��� <emphasis>����������� + (committers)</emphasis>, ������� ������������� � ��������� + ����������� �� ��� � �������� ��� � ������.</para> + </listitem> + + <listitem> + <para><emphasis>����������</emphasis> -- ��� ������ + �������������, ������� ����� ������ �� ������ � ������ + �������� ����� �������. ����� ����� �����������, ������� + ������ �������� ���� � ��� �������, � ������� �� ����� + ��������.</para> + + <para>������ ��������� �� ������ ������������ ���������� ������, + ����� �� ��� ������������� ������������ ����������� + ��������� �� ������ ������������� ��� ���. � ����� + ������ ������� ��������� ����� ������� �������� �������� + ��������� �� � ��� �� ���������. � �������, ��������� + ������� ������������ ����� ���������� �������� ��� + �������������� ������ � ���������� ��� ���������������� + ������������. ��������, ������ ������ ��� ������ ������� + ��������� ������������ ������������� ������������ � + ���������� ����� ������������� ��������� � ������. ������ + ������� ������, ����� ���� Core Team, ����������� ������� + ����������� �������, ����� ��������������� ����������� + ������ ��� <emphasis>����� (backing out)</emphasis> + �����-�� ��������� � ������. ��� ���������� ����������� + �������� ����������� � ������ ��������� � ������ �� + ����������� �����, ��� ��� �� ���������� ��������� � + �����.</para> + </listitem> + + <listitem> + <para>� �������� FreeBSD � NetBSD ���������� ����� ������� + ��� <emphasis>Core team</emphasis> -- ������ �����, + ������������ ����������� ������������� ������ + �������������. �� ����, ����� � ����������� �� ������ + ޣ��� ����������. ������������� (���� � ������� �����) + ���� ����������� ��� ����, ����� ������� � ������ Core + Team. �������, ������� ������� Core Team, ����������� + ����� ���������, �� � ����� ������ ����� Core Team + ���������� ����� ����������� �������� ������� � ������� + �������, ��� ��� ��������� ������������.</para> + </listitem> + </itemizedlist> + + <para>����� ��������� ����� ���������� �� ��������� � Linux:</para> + + <orderedlist> + <listitem> + <para>�� ���������� ��������, ������� �� ������������� + ���������� �������. �� �������� �������� ����� ������� + ����������� �������Σ����, ��� ��� ������� ���������� + ����� ������ ����������� ����� ���������. �� ����� + �������, � ������� Linux �� ����������� ����� ��������� � + ��� �������� ���� �� �����, � ����������� ������.</para> + </listitem> + + <listitem> + <para>� ������ �������, <emphasis>����������</emphasis> + ����������� ��������� (repository), ������ ����� �������� + ������ ��� ���� �������, ���ޣ� ��� �����������, ��� � + ���������� ������.</para> + </listitem> + + <listitem> + <para>������� BSD �������� �������� <quote>������������� + ���������</quote>, � �� ������ ������. ��� �������� ���� + ������ �������������: �� BSD, �� Linux �� ������������ + �������� ��� ����������, � ��� ����� ���� � �� �� � ����� + ������.</para> + </listitem> + + <listitem> + <para>� ���������� ��������������� ��������� ��������� + ������� ������ ���������� � CVS ������� ���������� BSD + �������� ��������� ��������, � �� �������� ����������� + ������� � ����� ������ ������� �� ������ ��� �� ����. CVS + ����� ����� ������ �������� ��� ���������������� ��������� + � ����: � �������, ��������� ���� FreeBSD ����������� + ����� ��� ��� �� ����, � ����������� ���� ��������� ������ + ���� � ������������� � ����������� ���� �� �����.</para> + </listitem> + </orderedlist> + </sect2> + + <sect2> + <title>������ BSD</title> + + <para>������ ������ BSD ������������� ���� ��� ��������� �������� + �������. ��� � � Linux, ������� ������������� ������, + �������� 1.4.1 ��� 3.5. � �������, ����� ������ ����� ������� + -- ����������� ��������, ������� ��������� �� ���� ��� ��� + ���� ������.</para> + + <orderedlist> + <listitem> + <para>������ ��� ������������� ����� �������� + <emphasis>CURRENT</emphasis>. FreeBSD ����������� �� � + �����, �������� FreeBSD 5.0-CURRENT. NetBSD ���������� + ����-���� ������ ����� ������������ � ��������� � ������ + ������������� �������, ������������ ��������� �� + ���������� �����������. ������: NetBSD 1.4.3G. OpenBSD �� + �������� ��������������� ������ + (<quote>OpenBSD-current</quote>). ��� ����� ���������� + ������������ ������ �� ���� <quote>�����</quote> (branch) + �������.</para> + </listitem> + + <listitem> + <para>����� ������̣���� ��������� �� 3 �� 6 ������� ������ + ��������� ������ <emphasis>RELEASE</emphasis>, ������� + ���������������� �� CD-ROM � �������� ��� ���������� �� + ftp. ��������� ����� ������ ����� ������� OpenBSD + 2.6-RELEASE � NetBSD 1.4-RELEASE. ���� ������� + ������������ ��� �������� �������������. NetBSD ����� + ������������� ��� ���������� <emphasis>������������ ������ + (patch releases)</emphasis>, ������������ ������� ������ � + ������, �������� NetBSD 1.4.2.</para> + </listitem> + + <listitem> + <para>�� ���� ����������� ������ � ������ RELEASE + ����������� ����������� �������� � ������ CVS. + ������������ ������� � ������� FreeBSD ����� �������� + <emphasis>STABLE</emphasis>, � � NetBSD � OpenBSD + ���������� ���������� RELEASE. ��������� ������ ��������� + ���� ������ �������� � ��� ������ ����� ���������������� + ������� ������������ � CURRENT.</para> + </listitem> + </orderedlist> + + <para><emphasis>Linux, ��������, ������������ ��� ��������� + ������ ����������, ������� ���������� �������������� + ���������� ������� � ������� ��� �������������. ���������� + ������ ����� ޣ���� ��������� �����, �������� 2.0, 2.2 ��� + 2.4. ������ ��� ������������� ���������� ��ޣ���� ������, + ����� ��� 2.1, 2.3 ��� 2.5. �� ����� �������, � �������� + ������ ������ ����������� �ݣ ���� �����, ����������� �� + ���������� �����. ����� ����� ��������, ��� ������ ��������� + ������������� ���� ����������� ������� ���������������� + �������� (userland), ��� ��� ��� ������������ ���� ����� + ��������. �����������, ��� ���������� �������� ���� ������� + ������ ��-������, �, ����� �������, �� �������� ���-�� ����� + <quote>TurboLinux 6.0 � ����� 2.2.14</quote>.</emphasis></para> + </sect2> + + <sect2> + <title>����� ���������� �������� BSD?</title> + + <para>� ������� �� �������������� ������������� Linux, � ���� + ���������� ���� ��� BSD ������� � ��������� ��������� ������. + ������ �� ��� ������������ ��ϣ ����������� ������ ���������� + � ��ϣ ����������� ����. �� �������� ������ �����������, + ��� ���������������� ����� (userland) ��������� BSD ���������� + ������� ������, ��� � ������ ������������� Linux.</para> + + <para>���� ������� �� �������� �� ��������� ޣ���� ������������. + �������� ����� ���� ������ �����������. � ��������,</para> + + <itemizedlist> + <listitem> + <para>������ FreeBSD ������� �� ��������� ������������������ + � �������� � ������������� ��������� ��������������. + FreeBSD ����� ����� � ����� ���-��������. ��� �� �������� + �� Intel-����������� ����������, � ����� �� ��������� + Alpha ����� Compaq. ����� ������������� FreeBSD + ����������� ��������� ����� ������������� ������ �������� + BSD.</para> + </listitem> + + <listitem> + <para>������ NetBSD ������ ����� ������������ ����������� + (��� ��������������) ����: ����� <quote>������� NetBSD + �������� �� ����</quote>. NetBSD ������������ ������ �� + ��������� ��������� �� �������� �������� � �������������� + NASA � ����������� �������. ��� ������� ����� ��� ������ + ��-Intel ����������.</para> + </listitem> + + <listitem> + <para>������ OpenBSD ������� �� ������������ � + <quote>�������</quote> ����. � ������� �������������� + ��������� �������� ���������� � ������̣����� ������� ���� + ������ ������������� ������ ������������ ������ �������. � + ���� ��������� ������ ���������� �����������, ��� OpenBSD + �������� �����������, ��� ������� ����� ����� ������ + ����������, �������� �����, �������� ����� � ��������� + ������������ ������������� ���. ����� ��� � NetBSD, + ������ ������������ ����� ��� ���������� ��������.</para> + </listitem> + </itemizedlist> + + <para>������� ��������� �ݣ ��� ������������ ������� BSD, + ������� �� ������������� ���������� ������� � ����� �������� + �����. ��� BSD/OS �������� BSDI � Mac OS X �������� Apple.</para> + + <itemizedlist> + <listitem> + <para>BSD/OS �������� ����� ������ �� �������� 4.4BSD. + �������� ��� �� �������� ������� �������, ���� �������� �� + ���� ����� ������������ �������. BSD/OS �� ������ ������ + �� FreeBSD.</para> + </listitem> + + <listitem> + <para><ulink url="http://www.apple.com/macosx/server/">Mac OS + X</ulink> -- ��� ����� ��������� ������ ������������ + ������� ��� ������� ����������� Macintosh ����� <ulink + url="http://www.apple.com">Apple Computer Inc</ulink>. + �������� ��� ���� Mac OS X ���������������� �� ��������� + Open Source, � ������� �� ���������� ����. �������� + ������������ Mac OS X ����� ������ �� ������ � ��������� + ������� FreeBSD.</para> + </listitem> + </itemizedlist> + </sect2> + + <sect2> + <title>� ޣ� ������� ����� ��������� BSD � ������������ + ��������� GNU (GPL)?</title> + + <para>Linux ���������������� �� �������� �������� + <ulink url="http://www.fsf.org/copyleft/gpl.html">GNU General + Public License</ulink> (GPL), ������� ������� ������� ���� + <ulink + url="http://www.gnu.org/copyleft/copyleft.ru.html">����������</ulink>. + ��� �������� ����� ����� ���������� ����������� ����������� � + �������� �������� �����. � ���������, ����� ��, ������������ + �� ��������, ���������� �� �������� �������� GPL, ���� ������ + ������������ � ��������� ������ �� ������� ����������. + <ulink + url="http://www.opensource.org/licenses/bsd-license.html">�������� + BSD</ulink> �� ����������� ����� ֣����� �����������: + ����������� ��������������� ������������ ����������� � + �������� ���� (binary-only). ���� ���� ���������� + ������������� ���������� (embedded) ����������.</para> + </sect2> + + <sect2> + <title>��� �ݣ ������� �����?</title> + + <para>�� ��������������, ��� ���������� ��� BSD ���������� + ������, ��� ��� Linux, �������� ������������� BSD ������������ + � �������� �������������� ������������� � Linux, ������� + ��������� ��������� ��������� ��� Linux �� ����������, + ���������� ��� BSD. ����������� �����, �������������� + �������������, �������� � ���� ��� ������� ���������� + ��������� ������� Linux, ��� � ������������� �����, + ����������� ����������, ���������������� ��� Linux, �������� + ���������� C. ������� � �������� ���������� Linux-���������� + �� ������ � Linux � �� ����� �� ������ � BSD ���������.</para> + + <para>������� <quote>��� ������� �� ������ ����������</quote>, + ������������ � BSD, �������� � ��������� �������� ���������� + ������� �� ��������� � ������� �������������� Linux. BSD + ������������� ����������� ������ ������������� � ����������� + �������� ��������� ���������, � ����� ������� ������ ��������� + ������ ����������������� ��������� ��� ����� �������� �� + �����̣���� �������.</para> + </sect2> + + <sect2> + <title>��� �� �������, BSD ��� Linux?</title> + + <para>�� ��� ���������� �ӣ ������������� �� ��������? ���� + ������������� BSD, � ���� -- Linux?</para> + + <para>��� ������������� ����� ������� ������. �����ģ� ��������� + �������, ������� �������� ������ ��� � �������:</para> + + <itemizedlist> + <listitem> + <para><quote>�� �����, ���� ��������</quote>: ���� �� ��� + ������� ����������� �����-������ Open Source ��, � ��� ��� + ����������, �� ������� �� ����� ������ ������.</para> + </listitem> + + <listitem> + <para>������� BSD, � ����������� FreeBSD, ����� + ��������������� ������� �� ��������� � Linux + ������������������. �� ��� ����� �� ������������� + �������. �� ������ ������� ��� ������� �� �������, ���� + ������ ����. ������ Linux ����� �������� �����, ��� + FreeBSD.</para> + </listitem> + + <listitem> + <para>� ����� ������, � ������ BSD ����� ������� ���������, + ����� ���� �������� ��ģ������. ���, � ��������, ������� + � ����� <quote>������</quote> ����� �������� �����.</para> + </listitem> + + <listitem> + <para>�������� BSD ������ ����� ���� ����� ���������������, + ������ GPL.</para> + </listitem> + + <listitem> + <para>BSD ����� ��������� ��� ��� Linux, � �������� �������. + � ���������� �� ����� ������� ���������� ����������� + ������������ ����������� ��� BSD, ��� ��� Linux.</para> + </listitem> + </itemizedlist> + </sect2> + + <sect2> + <title>��� ������������� ����������� ���������, ������������ � + �������� ��� ������ BSD?</title> + + <para>�������� BSDI ������ ������������ BSD/OS, � ������� ��� + �������� � ������� ���������� �� ����������� ��������� + FreeBSD.</para> + + <para>�����, ������ �� �������� ��������� ��������� ������ + �������������, ������� ��������� ��������� �� ��������� �����: + <ulink + url="http://www.FreeBSD.org/commercial/consulting_bycat.html">FreeBSD</ulink>, + <ulink + url="http://www.NetBSD.org/gallery/consultants.html">NetBSD</ulink>, + and <ulink + url="http://www.OpenBSD.org/support.html">OpenBSD</ulink>.</para> + </sect2> + </sect1> +</article> diff --git a/ru_RU.KOI8-R/articles/fonts/Makefile b/ru_RU.KOI8-R/articles/fonts/Makefile new file mode 100644 index 0000000000..3b5b5f2a54 --- /dev/null +++ b/ru_RU.KOI8-R/articles/fonts/Makefile @@ -0,0 +1,26 @@ +# +# $FreeBSD$ +# $FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/fonts/Makefile,v 1.2 2001/07/25 10:26:32 phantom Exp $ +# +# Original revision: 1.1 +# + +MAINTAINER=andy@FreeBSD.org.ua + +DOC?= article + +FORMATS?= html + +INSTALL_COMPRESSED?= gz +INSTALL_ONLY_COMPRESSED?= + +# +# SRCS lists the individual SGML files that make up the document. Changes +# to any of these files will force a rebuild +# + +# SGML content +SRCS= article.sgml + +DOC_PREFIX?= ${.CURDIR}/../../.. +.include "${DOC_PREFIX}/share/mk/doc.project.mk" diff --git a/ru_RU.KOI8-R/articles/fonts/article.sgml b/ru_RU.KOI8-R/articles/fonts/article.sgml new file mode 100644 index 0000000000..08e0e0e6bc --- /dev/null +++ b/ru_RU.KOI8-R/articles/fonts/article.sgml @@ -0,0 +1,1002 @@ +<!-- + The FreeBSD Russian Documentation Project + + $FreeBSD$ + $FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/fonts/article.sgml,v 1.2 2001/06/30 11:08:05 phantom Exp $ + + Original revision: 1.15 +--> + +<!DOCTYPE ARTICLE PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [ +<!ENTITY % man PUBLIC "-//FreeBSD//ENTITIES DocBook Manual Page Entities//EN"> +%man; +]> + +<!-- Recently, I wanted to figure out how to use some additional fonts that + I had accumulated. I finally figured out *how to do it* from the various + man pages and documentation. Since it might be of use to other users, + and I didn't see any reference to this topic in the FAQ or handbook, I + thought I'd try my hand at a simple cookbook tutorial addressing the + use of fonts. I have included my unanswered questions at the end of + the document. + + Anyway, here's what I put together. This is my present understanding of + fonts and how to use them with FreeBSD. I am sure that there are errors or + misunderstandings, but it contains enough valid information to allow the + use of additional fonts with Ghostscript, X11 and Groff. This is my first + attempt to write anything along the lines of a tutorial/FAQ, so I am sure + it is pretty raw. There are probably better ways to do some of this stuff, + and I would welcome being corrected. + --> + +<!-- The section "Setting a virtual console to 80x60 line mode" was + updated to reflect changes in FreeBSD system configuration + files by Mark Ovens <mark@ukug.uk.freebsd.org> 27/5/00 + --> + +<article> + <articleinfo> + <title>������ � FreeBSD</title> + + <subtitle>�������</subtitle> + + <authorgroup> + <author> + <firstname>Dave</firstname> + + <surname>Bodenstab</surname> + + <affiliation> + <address> + <email>imdave@synet.net</email> + </address> + </affiliation> + </author> + </authorgroup> + + <pubdate>7 ������� 1996, �����</pubdate> + + <abstract> + <para>���� �������� �������� �������� ��������� ������ �������, ������� + ����� �������������� � FreeBSD � ��������� ��������� �������, �������� + X11, ����������� Ghostscript � Groff. ������ ������� ���������� + ������� �� ������������ ������ ��������� ������� � ����� 80x60 � + ������������� ������ ������� ������� Type 1 � �������������� ���� + ����������� �����������.</para> + </abstract> + </articleinfo> + + <sect1> + <title>��������</title> + + <para>���������� ����� ����, ��� ����� ����� ����� �������, �� ������ + ������ � ��������� �������� �� ������������� � FreeBSD. ����� ����� ���� + ������ � ���������� ����������� �������� ������������ �� ��� �����������, + ������� �� ����������� ������������. �� ��� �������� ����� ����� + �������, � ��� ������� �������� �������� ���� ������� ������ ��� ���, ��� + �������������� ������ ���������.</para> + </sect1> + + <sect1> + <title>�������� �������</title> + + <para>������� ��������� ��������� �������� ������ ������� � ��������������� + ��������� ���� ������. ����� ����������� ���� ��������� �� ���:</para> + + <variablelist> + <varlistentry> + <term><filename>.pfa</filename>, <filename>.pfb</filename></term> + + <listitem> + <para>����� ������� ������� postscript type 1. ����� + <filename>.pfa</filename> �������� ��������� ( + <emphasis>A</emphasis>scii) ��������������, � + <filename>.pfb</filename> - �������� + (<emphasis>B</emphasis>inary).</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><filename>.afm</filename></term> + + <listitem> + <para>��������� (�������) ��������������� ������� ���� type 1.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><filename>.pfm</filename></term> + + <listitem> + <para>������� ��� ��������� ��������������� ������� ���� type + 1.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><filename>.ttf</filename></term> + + <listitem> + <para>���� ������� ������� TrueType</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><filename>.fot</filename></term> + + <listitem> + <para>������� ������ �� ���� ������� TrueType (�������� ���������� � + ������ ����� �� ����������)</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><filename>.fon</filename>, <filename>.fnt</filename></term> + + <listitem> + <para>����� �������� ������� � �������� ��������������</para> + </listitem> + </varlistentry> + </variablelist> + + <para>����� <filename>.fot</filename> ������������ � Windows � �������� + ����� ������������� ������ �� ���� �� ������� � ������� TrueType + (<filename>.ttf</filename>). ����� ������� <filename>.fon</filename> + ����� ������������ � Windows. ��� ����������, ��� ����� ������������ + ���� ������ ������� �� FreeBSD.</para> + </sect1> + + <sect1> + <title>����� ������� ������ ������� � ���� ������������?</title> + + <para>��, ���� ������� ������ ������� ����� �������, ������� �� + ������������� ����������. ���� �� ���� FreeBSD ������� �� ����������. + ���������� ��������� �/��� �������� ����� ������������ ����� �������. + ��� ������� ���������� �� ����� ������ ������� � + �����������/���������:</para> + + <variablelist> + <varlistentry> + <term>�������</term> + + <listitem> + <variablelist> + <varlistentry> + <term>syscons</term> + + <listitem> + <para><filename>.fnt</filename></para> + </listitem> + </varlistentry> + </variablelist> + </listitem> + </varlistentry> + + <varlistentry> + <term>����������</term> + + <listitem> + <variablelist> + <varlistentry> + <term>Ghostscript</term> + + <listitem> + <para><filename>.pfa</filename>, + <filename>.pfb</filename>, + <filename>.ttf</filename></para> + </listitem> + </varlistentry> + + <varlistentry> + <term>X11</term> + + <listitem> + <para><filename>.pfa</filename>, + <filename>.pfb</filename></para> + </listitem> + </varlistentry> + + <varlistentry> + <term>Groff</term> + + <listitem> + <para><filename>.pfa</filename>, + <filename>.afm</filename></para> + </listitem> + </varlistentry> + + <varlistentry> + <term>Povray</term> + + <listitem> + <para><filename>.ttf</filename></para> + </listitem> + </varlistentry> + </variablelist> + </listitem> + </varlistentry> + </variablelist> + + <para>��������� <filename>.fnt</filename> ������������ ���������� �����. � + �������, ��� ����� ���-������ ���������� ������� ���� ������� ��� ������ + ����������, ���� ����� ���������� ������ ��� ���������. ������� ����� � + ����� ���������� �� ��� ����� ���������� ������; � ���������, ������ + ������ <filename>.fnt</filename>, ������������ ��������� syscons �� + FreeBSD, ����� ���������� �� ������� ������ <filename>.fnt</filename>, + ������������� � MSDOS/Windows. � ���� �� ������� ������������ ������ + ����� <filename>.fnt</filename>, ����� ���, ��� ������������ � + FreeBSD.</para> + </sect1> + + <sect1> + <title>��������� ����������� ������� �� ����� ������ 80x60</title> + + <para>��-������, ������ ���� �������� ����� ������� 8x8. ��� ����� ���� + <filename>/etc/rc.conf</filename> ������ ��������� ������� (�������� � + ��� ��� ����� �� ������� �� ��������������� ����� �����������):</para> + + <informalexample> + <programlisting>font8x8="iso-8x8" # font 8x8 from /usr/share/syscons/fonts/* (or NO).</programlisting> + </informalexample> + + <para>������� ��� ������������ ������� ���������� &man.vidcontrol.1;:</para> + + <informalexample> + <screen>&prompt.user; <userinput>vidcontrol VGA_80x60</userinput> + </screen> + </informalexample> + + <para>��������� ���������, ��������������� �� ������ � �������, �����, ��� + &man.vi.1;, ������ ����� ���������� ������� ������� ������. ��� ��� ��� + �������� ����� ������ <command>ioctl</command> � �������� ������� + (������, ��� &man.syscons.4;), �� ������� ����� ������������ + ���������.</para> + + <para>����� ��� ��������� ����� ������, ����� �������� ��� ������� � + ������� ��������� ��������, ����� ��� ����������� ��� ������� �������. + ����� ��� �������, �������� ����� ������� � + <filename>/etc/rc.conf</filename></para> + + <informalexample> + <programlisting> + allscreens_flags="VGA_80x60" # Set this vidcontrol mode for all virtual screens + </programlisting> + </informalexample> + + <para>���������� ����������: &man.rc.conf.5;, &man.vidcontrol.1;.</para> + </sect1> + + <sect1> + <title>������������� ������� type 1 � �������� X11</title> + + <para>X11 ����� ������������ ����� ������� � ������� + <filename>.pfa</filename> ��� <filename>.pfb</filename>. ������ ��� X11 + ������������� � ��������� ������������ � + <filename>/usr/X11R6/lib/X11/fonts</filename>. �� ������ ���� �� ������� + ������� ������ �� ��� X11-����� � ����� <filename>fonts.dir</filename> � + ������ ����� ��������.</para> + + <para>���������� ������� �� ����� <filename>Type1</filename>. ����� + ������� �������� �������� ����� ����� ����������� � ��������� ��� � ���� + �������. �� ����� ������� ��� ����� ������ � ��������� �������� � + ������������ ������������� ������ ��� ����������� �������. ��� ��������� + ����� ��������� ���������� ������������ ��������, �� ����� �� � + ���������� �������������. ��������:</para> + + <informalexample> + <screen> +<lineannotation>������� ������� ��� ������ �������</lineannotation> +&prompt.user; <userinput>mkdir -p /usr/local/share/fonts/type1</userinput> +&prompt.user; <userinput>cd /usr/local/share/fonts/type1</userinput> + +<lineannotation>�������� ���� ����� .pfa, .pfb � .afm</lineannotation> +<lineannotation>����-�� ����� ������������� ������� ����� �����</lineannotation> +<lineannotation>���������������� ����� � ������������ � �������</lineannotation> +&prompt.user; <userinput>cp /cdrom/fonts/atm/showboat/showboat.pfb .</userinput> +&prompt.user; <userinput>cp /cdrom/fonts/atm/showboat/showboat.afm .</userinput> + +<lineannotation>���������� ���������� ����� �� �������� �� ����� �������</lineannotation> +&prompt.user; <userinput>echo showboat - InfoMagic CICA, Dec 1994, /fonts/atm/showboat >>INDEX</userinput> + </screen> + </informalexample> + + <para>������, ����� ������������ ����� ����� � X11, ����� ���� ������ � + ����� ������� � �������� ����� � ������� �������. ����� ������� � X11 + �������� ��������� �������:</para> + + <informalexample> + <screen> +-bitstream-charter-medium-r-normal-xxx-0-0-0-0-p-0-iso8859-1 + | | | | | | | | | | | | \ \ + | | | | | \ \ \ \ \ \ \ +----+- ����� �������� + | | | | \ \ \ \ \ \ \ +- ������� ������ + | | | | \ \ \ \ \ \ +- spacing + | | | \ \ \ \ \ \ +- ���������� �� ��������� + | | | \ \ \ \ \ +- ���������� �� ����������� + | | | \ \ \ \ +- ������� + | | | \ \ \ +- ������ + | | | \ \ \ + foundry family weight slant width additional style + </screen> + </informalexample> + + <para>��� ������� ������ ����� ������� ���������� ������� ����� ���. ���� + � ��� ���� �����-���� ���������� �� ���������������� ������������ � + ������, �� ��� ����� ������� ������� ��� �������� �����. ���� ���������� + ���, �� ����� �������� ��������� ���������� �� ������������� ��������� + &man.strings.1; ��� ������ ������. ��������:</para> + + <informalexample> + <screen> +&prompt.user; <userinput>strings showboat.pfb | more</userinput> +%!FontType1-1.0: Showboat 001.001 +%%CreationDate: 1/15/91 5:16:03 PM +%%VMusage: 1024 45747 +% Generated by Fontographer 3.1 +% Showboat + 1991 by David Rakowski. Alle Rechte Vorbehalten. +FontDirectory/Showboat known{/Showboat findfont dup/UniqueID known{dup +/UniqueID get 4962377 eq exch/FontType get 1 eq and}{pop false}ifelse +{save true}{false}ifelse}{false}ifelse +12 dict begin +/FontInfo 9 dict dup begin + /version (001.001) readonly def + /FullName (Showboat) readonly def + /FamilyName (Showboat) readonly def + /Weight (Medium) readonly def + /ItalicAngle 0 def + /isFixedPitch false def + /UnderlinePosition -106 def + /UnderlineThickness 16 def + /Notice (Showboat + 1991 by David Rakowski. Alle Rechte Vorbehalten.) readonly def +end readonly def +/FontName /Showboat def +--stdin-- + </screen> + </informalexample> + + <para>��������� ���� �����������, ����� ��������� ��������� ���:</para> + + <informalexample> + <screen>-type1-Showboat-medium-r-normal-decorative-0-0-0-0-p-0-iso8859-1 + </screen> + </informalexample> + + <para>������������ ������ ����� ��������:</para> + + <variablelist> + <varlistentry> + <term>Foundry</term> + + <listitem> + <para>������� �������� ��� ����� ������ + <literal>type1</literal>.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term>Family</term> + + <listitem> + <para>��� ������.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term>Weight</term> + + <listitem> + <para>Normal, bold, medium, semibold, � ��� �����. �� ���������� + ������ ������� &man.strings.1; ������, ��� ���� ����� ����� ������ + <emphasis>medium</emphasis>.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term>Slant</term> + + <listitem> + <para><emphasis remap=bf>r</emphasis>oman, <emphasis + remap=bf>i</emphasis>talic, <emphasis + remap=bf>o</emphasis>blique, � ��� �����. ��� ��� + <emphasis>ItalicAngle</emphasis> ����� ����, �� ����� + �������������� <emphasis>roman</emphasis>.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term>Width</term> + + <listitem> + <para>Normal, wide, condensed, extended, � ��� �����. ���� ��� �� + ����� ���������, ������������ <emphasis>normal</emphasis>.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term>�������������� �����</term> + + <listitem> + <para>������ ����������, �� �� ����� ���������, ��� � ������ ���� + ������������ ��������� �����.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term>Spacing</term> + + <listitem> + <para>proportional ��� monospaced. ������������ + <emphasis>proportional</emphasis>, ������ ��� + <emphasis>isFixedPitch</emphasis> ����� false.</para> + </listitem> + </varlistentry> + </variablelist> + + <para>��� ��� ����� �����������, �� ����� ��������� ��������� ������������ + �����������. � ��������� ��� X11 �� ����� ��������� �� ����� � + ����������� ��������, ��� ��� � ���������� ����� ��� ������ �����������. + ����� ������ � �������� ������������� + + <informalexample> + <screen>…-normal-r-normal-…-p-… + </screen> + </informalexample> + + � �������� �����, � ����� ������������ &man.xfontsel.1; ��� ��� �������� + � ��������� ����� �� ������ ����, ��� �������� �����.</para> + + <para>����, �������� ��� ������:</para> + + <informalexample> + <screen> +<lineannotation>������ ����� ��������� ��� X11</lineannotation> +&prompt.user; <userinput>cd /usr/X11R6/lib/X11/fonts/Type1</userinput> +&prompt.user; <userinput>ln -s /usr/local/share/fonts/type1/showboat.pfb .</userinput> + +<lineannotation>����������� ����� fonts.dir and fonts.scale, �������� ������, +����������� ����� � ���������� ���������� ������� � ������ ������.</lineannotation> +&prompt.user; <userinput>ex fonts.dir +:1p +25 +:1c +26 +. +:$a +showboat.pfb -type1-showboat-medium-r-normal-decorative-0-0-0-0-p-0-iso8859-1 +. +:wq</userinput> + +<lineannotation><filename>fonts.scale</filename> ��������� +<filename>fonts.dir</filename>…</lineannotation> +&prompt.user; <userinput>cp fonts.dir fonts.scale</userinput> + +<lineannotation>��������� X11, ��� ��������� ���������</lineannotation> +&prompt.user; <userinput>xset fp rehash</userinput> + +<lineannotation>��������� ����� �����</lineannotation> +&prompt.user; <userinput>xfontsel -pattern -type1-*</userinput> + </screen> + </informalexample> + + <para>���������� ����������: &man.xfontsel.1;, &man.xset.1;, <citetitle>The + X Windows System in a Nutshell</citetitle>, <ulink + URL="http://www.ora.com/">O'Reilly & Associates</ulink>.</para> + </sect1> + + <sect1> + <title>������������� ������� type 1 � ������� Ghostscript</title> + + <para>Ghostscript ��������� �� ����� ����� ���� ���� + <filename>Fontmap</filename>. �� ������ ���� ���������� ��� ��, ��� + � ���� <filename>fonts.dir</filename> � ������ X11. Ghostscript ����� + ������������ ����� ������� � �������� <filename>.pfa</filename> ��� + <filename>.pfb</filename>. ���� ����� �� ����������� �������, ��� ����� + ������������ � Ghostscript ��� ���:</para> + + <informalexample> + <screen> +<lineannotation>�������� ���� �� ������� � ������� �� �������� Ghostscript</lineannotation> +&prompt.user; <userinput>cd /usr/local/share/ghostscript/fonts</userinput> +&prompt.user; <userinput>ln -s /usr/local/share/fonts/type1/showboat.pfb .</userinput> + +<lineannotation>����������� Fontmap, ����� Ghostscript ���� � ������</lineannotation> +&prompt.user; <userinput>cd /usr/local/share/ghostscript/4.01</userinput> +&prompt.user; <userinput>ex Fontmap +:$a +/Showboat (showboat.pfb) ; % From CICA /fonts/atm/showboat +. +:wq</userinput> + +<lineannotation>���������� Ghostscript ��� �������� ������</lineannotation> +&prompt.user; <userinput>gs prfont.ps</userinput> +Aladdin Ghostscript 4.01 (1996-7-10) +Copyright (C) 1996 Aladdin Enterprises, Menlo Park, CA. All rights +reserved. +This software comes with NO WARRANTY: see the file PUBLIC for details. +Loading Times-Roman font from /usr/local/share/ghostscript/fonts/tir_____.pfb... + /1899520 581354 1300084 13826 0 done. +GS><userinput>Showboat DoFont</userinput> +Loading Showboat font from /usr/local/share/ghostscript/fonts/showboat.pfb... + 1939688 565415 1300084 16901 0 done. +>>showpage, press <return> to continue<< +>>showpage, press <return> to continue<< +>>showpage, press <return> to continue<< +GS><userinput>quit</userinput> + </screen> + </informalexample> + + <para>���������� ����������: <filename>fonts.txt</filename> �� ������������ + Ghostscript 4.01</para> + </sect1> + + <sect1> + <title>������������� ������� � ������� type 1 � ���������� Groff</title> + + <para>������, ����� ����� ����� ����� ���� ����������� ��� � X11, ��� � � + Ghostscript, ��� ������������ ��� � ���������� groff? ��-������, ��� ��� + �� ����� ���� �� postscript-�������� ������� type 1, �� ���������� + ����������� groff �������� <emphasis>ps</emphasis>. ��� ������� ������, + ������� ����� �������������� ���������� groff, ������ ���� ������ ���� + ������. ��� ������ ��� groff �������� ������ ������ ����� �� �������� + <filename>/usr/share/groff_font/devps</filename>. � ����� ������� + ������ ������ ����� ���� + <filename>/usr/share/groff_font/devps/SHOWBOAT</filename>. ���� ������ + ���� ������ � ������� ������, ������������ � ���������� groff.</para> + + <para>������ �������� �������� <command>afmtodit</command>. ������ ��� �� + ���������������, ��� ��� ��� ������ ���� �������� �� ������������ � + ��������� ��������. � ���������, ��� ����� �������� ������ ������ �����, + ��� � ����� ���:</para> + + <informalexample> + <screen> +&prompt.user; <userinput>cp /usr/src/gnu/usr.bin/groff/afmtodit/afmtodit.pl /tmp</userinput> +&prompt.user; <userinput>ex /tmp/afmtodit.pl +:1c +#!/usr/bin/perl -P- +. +:wq</userinput> + </screen> + </informalexample> + + <para>��� ������� ������� ���� ������� ��� groff �� ����� ������ (� + ���������� <filename>.afm</filename>). ��������� � ����� + ��������:</para> + + <informalexample> + <screen> +<lineannotation>������ ����� <filename>.afm</filename> � ������� Mac +… ������ ��������� �������� ^M. ��� ����� ������������� �� � +����������� ^J � ����� unix</lineannotation> +&prompt.user; <userinput>cd /tmp</userinput> +&prompt.user; <userinput>cat /usr/local/share/fonts/type1/showboat.afm | + tr '\015' '\012' >showboat.afm</userinput> + +<lineannotation>������ ������� ���� ������� groff</lineannotation> +&prompt.user; <userinput>cd /usr/share/groff_font/devps</userinput> +&prompt.user; <userinput>/tmp/afmtodit.pl -d DESC -e text.enc /tmp/showboat.afm generate/textmap SHOWBOAT</userinput> + </screen> + </informalexample> + + <para>������ � ������ ����� ���������� �� ����� SHOWBOAT.</para> + + <para>���� � ������� ��� ���������� ���������� ������������ ��������� + ghostscript, �� ������ ������ ������ �� �����. ������, ���� ������������ + ��������� postscript-��������, �� ��� ������������� ������ ��� ����� + ��������� � ������� (���� ������ � �������� ����� showboat �� ������� ��� + �� ������� �� ����� �� ��������). ��������� ��� ����������� � �������� + ������������ ������. ������� <command>pfbtops</command> ������������ ��� + �������� ������ � ������� <filename>.pfa</filename>, � ���� ��� + <filename>��������</filename> ���������� ��� �������� ������ ������. + ���� ��� <filename>��������</filename> ������ ��������� �� ���������� ��� + ������. ��� ����� ���� ����� ���������� �� ����� ������� groff, ��� + ��� ������������ �����:</para> + + <informalexample> + <screen> +<lineannotation>�������� ����� ������ <filename>.pfa</filename></lineannotation> +&prompt.user; <userinput>pfbtops /usr/local/share/fonts/type1/showboat.pfb >showboat.pfa</userinput> + </screen> + </informalexample> + + <para>�������, ���� ���� <filename>.pfa</filename> ��� �������, ��� ��� + ������������� ������� ������������� ������ �� ����.</para> + + <informalexample> + <screen> +<lineannotation>��������� ����������� ����� ������</lineannotation> +&prompt.user; <userinput>fgrep internalname SHOWBOAT</userinput> +internalname Showboat + +<lineannotation>��������� ������� groff, ��� ����� ������ ���� ��������</lineannotation> +&prompt.user; <userinput>ex download +:$a +Showboat showboat.pfa +. +:wq</userinput> + </screen> + </informalexample> + + <para>��� ������������ ������:</para> + + <informalexample> + <screen> +&prompt.user; <userinput>cd /tmp</userinput> +&prompt.user; <userinput>cat >example.t <<EOF +.sp 5 +.ps 16 +This is an example of the Showboat font: +.br +.ps 48 +.vs (\n(.s+2)p +.sp +.ft SHOWBOAT +ABCDEFGHI +.br +JKLMNOPQR +.br +STUVWXYZ +.sp +.ps 16 +.vs (\n(.s+2)p +.fp 5 SHOWBOAT +.ft R +To use it for the first letter of a paragraph, it will look like: +.sp 50p +\s(48\f5H\s0\fRere is the first sentence of a paragraph that uses the +showboat font as its first letter. +Additional vertical space must be used to allow room for the larger +letter. +EOF</userinput> +&prompt.user; <userinput>groff -Tps example.t >example.ps</userinput> + +<lineannotation>��� ������������� � ghostscript/ghostview</lineannotation> +&prompt.user; <userinput>ghostview example.ps</userinput> + +<lineannotation>��� ��� ������</lineannotation> +&prompt.user; <userinput>lpr -Ppostscript example.ps</userinput> + </screen> + </informalexample> + + <para>���������� ����������: + <filename>/usr/src/gnu/usr.bin/groff/afmtodit/afmtodit.man</filename>, + &man.groff.font.5;, &man.groff.char.7;, &man.pfbtops.1;.</para> + </sect1> + + <sect1> + <title>�������������� ������ ������� TrueType � ������ groff/postscript ��� + ������������� � groff</title> + + <para>������������ ��� ������� ��������� ������, ������ ������ ��� ������� + ��������� ������, ������� � �������� ����� ������� �� ���������������. + ���:</para> + + <variablelist> + <varlistentry> + <term><command>ttf2pf</command></term> + + <listitem> + <para>������� ��� �������������� TrueType � postscript. ��� + ��������� ������������� ����� TrueType � ������� ������ � ��������� + ������� (���� <filename>.afm</filename>).</para> + + <para>�������� �� ������ <ulink + url="http://sunsite.icm.edu.pl/pub/GUST/contrib/BachoTeX98/ttf2pf/"> + http://sunsite.icm.edu.pl/pub/GUST/contrib/BachoTeX98/ttf2pf</ulink>. + ���������: ��� ����� �������� postscript-����������� � ������ ���� + ������� �� ���� ������� �� ������ ��� ������� ������� + <keycap>Shift</keycap>. � ��������� ������ ��� �� ��������� ��� + ������� ����� ���������� ��������� ��������� + <application>ghostview</application>.</para> + + <para>������� ������������ ��������� �����:</para> + + <itemizedlist> + <listitem> + <para><filename>GS_TTF.PS</filename></para> + </listitem> + + <listitem> + <para><filename>PF2AFM.PS</filename></para> + </listitem> + + <listitem> + <para><filename>ttf2pf.ps</filename></para> + </listitem> + </itemizedlist> + + <para>����� ��������/������� ��������� ������������ ��-�� ����, ��� + ��� ����� ������������� � ��� DOS. <filename>ttf2pf.ps</filename> + ���������� ��������� � ������� � ������� ��������, ��� ��� ��� + �������������� ��� ����� ���������. (�� ����� ���� + <filename>GS_TTF.PS</filename> � <filename>PFS2AFM.PS</filename> + ���������������� �������� ������ ������������ ghostscript, �� �� + ����� ������������ ��� ��������� �������. � �������� FreeBSD ��� + �� ��������.) �� ������ ����� ���������� �� � ������� + <filename>/usr/local/share/groff_font/devps</filename>(?).</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><command>afmtodit</command></term> + + <listitem> + <para>������� ����� ������� ��� ������������� � ���������� groff �� + ��������� ������ � ��������� ������. ��� ������ ������������� � + �������� <filename>/usr/src/contrib/groff/afmtodit</filename> � + ��� �� ������������� ��������� ��������� ��������� ������.</para> + + <note> + <para>���� �� ��������� �������� � ������ + <filename>/usr/src</filename>, ������ ���������� ���������� + ��������������� �������� �� ��������� ������� �������.</para> + </note> + + <para>�� ������� �������� ��� ����� ��������� �������. ������ + ������� ����� �������:</para> + + <screen> +<prompt>#</prompt> <userinput>make -f Makefile.sub afmtodit</userinput> + </screen> + + <para>��� ����� ����� ������������� ����������� + <filename>/usr/contrib/groff/devps/generate/textmap</filename> � + <filename>/usr/share/groff_font/devps/generate</filename>, ���� ��� + ������ ��� �� ����������.</para> + </listitem> + </varlistentry> + </variablelist> + + <para>��� ������ ��� ������� ������, �� ������ ������:</para> + + <orderedlist> + <listitem> + <para>�������� ���� <filename>.afm</filename> �� ����� �������:</para> + + <screen> +<prompt>%</prompt> <userinput>gs <optional>-dNODISPLAY</optional> <optional>-q</optional> -- ttf2pf.ps <replaceable>TTF_name</replaceable> <optional><replaceable>PS_font_name</replaceable> <optional><replaceable>AFM_name</replaceable></optional></optional></userinput> + </screen> + + <para>����� <replaceable>TTF_name</replaceable> ���������� ��� ���� �� + ������� TrueType, <replaceable>PS_font_name</replaceable> �������� + ������ ��� ����� <filename>.pfa</filename>, + <replaceable>AFM_name</replaceable> ������ ��� ��� ����� + <filename>.afm</filename>. ���� �� �� ������� ����� �������� ������, + ��� �������� <filename>.pfa</filename> ��� <filename>.afm</filename>, + �� �� ��������� ����� �������������� �����, ���������� �� ����� ����� + �� ������� TrueType.</para> + + <para>��� ���� ����� ����� ������ ���� <filename>.pfa</filename>, + ��������� ���� � ��������� postscript-������ + ((<filename>.pfb</filename> ��� ��������� �������������). ��� �� + �� �����������, �� ����� ���� (� �����) �������� ��� ������� + �������.</para> + + <para>��������, ��� �������������� ������ 30f9 Barcode � ������� ������ + �� ���������, �������������� ��������� ��������:</para> + + <screen> +<prompt>%</prompt> <userinput>gs -dNODISPLAY -- ttf2pf.ps 3of9.ttf</userinput> +Aladdin Ghostscript 5.10 (1997-11-23) +Copyright (C) 1997 Aladdin Enterprises, Menlo Park, CA. All rights reserved. +This software comes with NO WARRANTY: see the file PUBLIC for details. +Converting 3of9.ttf to 3of9.pfa and 3of9.afm. + </screen> + + <para>���� �� ������, ����� ��������������� ������ ����������� � ����� + <filename>A.pfa</filename> and <filename>B.afm</filename>, �� + ������� ����� �������:</para> + + <screen> +<prompt>%</prompt> <userinput>gs -dNODISPLAY -- ttf2pf.ps 3of9.ttf A B</userinput> +Aladdin Ghostscript 5.10 (1997-11-23) +Copyright (C) 1997 Aladdin Enterprises, Menlo Park, CA. All rights reserved. +This software comes with NO WARRANTY: see the file PUBLIC for details. +Converting 3of9.ttf to A.pfa and B.afm. + </screen> + </listitem> + + <listitem> + <para>�������� postscript-���� ��� groff:</para> + + <para>������� ������� ������� �� + <filename>/usr/share/groff_font/devps</filename> ��� ���������� + ������� ����������� ����� ��������. ��� ����� ��� ����� ������������ + ����� ���������� �������������� �������. (���, ���� �� ��������� + ����� ��������, ����������� ���������� ����� + <filename>DESC</filename>, <filename>text.enc</filename> � + <filename>generate/textmap</filename> � ���� ��������.)</para> + + <screen> +<prompt>%</prompt> <userinput>afmtodit -d DESC -e text.enc file.afm \ + generate/textmap <replaceable>PS_font_name</replaceable></userinput> + </screen> + + <para>����� <filename>file.afm</filename> �������� ������ + <replaceable>AFM_name</replaceable>, ��������� ���������� + <command>ttf2pf.ps</command> ����, � + <replaceable>PS_font_name</replaceable> �������� ������ ������, + ������������ � ��� �������, ��� ��, ��� � ���, ������� ����� + ������������ ������� &man.groff.1; ��� ������ �� ���� �����. + ��������, �������, ��� �� ������������ ������ ������� + <command>tiff2pf.ps</command> ����, �� ����� 3of9 Barcode ����� ���� + ������ ��� ������ ����� �������:</para> + + <screen> +<prompt>%</prompt> <userinput>afmtodit -d DESC -e text.enc 3of9.afm \ + generate/textmap 3of9</userinput> + </screen> + + <para>���������, ��� ���������� ���� + <replaceable>PS_font_name</replaceable> (� �������, + <filename>3of9</filename> �� ������� ����) ���������� � �������� + <filename>/usr/share/groff_font/devps</filename>, ���������� ��� + �������� ��� ����.</para> + + <para>��������, ��� ���� <filename>ttf2pf.ps</filename> ��������� + ��� ������, ��������� ���� �� ��������� � ����� ������ TrueType, � + �� ������ ������������ ������ ���, �� �� ������ ��������������� ���� + <filename>.afm</filename> �� ������� ������� + <command>afmtodit</command>. ��� ��� � ���� �� ������ + ��������� � ���, ��� ������������ � ����� Fontmap, ���� �� + ����������� �������������� ����� &man.groff.1; ������� + &man.gs.1;.</para> + </listitem> + </orderedlist> + </sect1> + + <sect1> + <title>����� �� ������������ ������ � ������� TrueType � ������� + �����������?</title> + + <para>������ TrueType ������������ � Windows, Windows 95 � �� ����������� + Macintosh. �� ���������� ��������� � � ���� ������� ������� ������� + ���������� �������.</para> + + <para>� ���������, � ���� ���� ��������� ��������, ������� ����� + ������������ ���� ������: �� �� �������� Ghostscript � Povray. ��� + ��������� � ��������� Ghostscript, �������� ������������, ��������� � + ���������� ��������� � ���������� ��������� ���� ����, ��� ���������� ��� + ������������� ������� type 1. ��������� Povray ������ 3 ����� ����� + ������������ ������ TrueType, �� � ����� ����������, ��� ����� ��� + ������� ��������� ��� ������������������ ������������� ������� + :-).</para> + + <para>����� ������ ��������� �������� ����� ������ ����������. � ������ + ������� <ulink url="http://www.freetype.org/">FreeType Project</ulink> + � ��������� ����� ��������������� �������� ����� ������������ ��� ������ + � FreeType:</para> + + <itemizedlist> + <listitem> + <para>������ freetype ������� � XFree86 4.x. ��������� ���������� + ����� ����� � <ulink + url="http://www.freebsd.org/handbook/x-fonts.html">����������� �� + FreeBSD</ulink> ��� �� �������� � <ulink + url="http://www.xfree86.org/4.0.2/fonts.html">������� XFree86 + 4.0.2</ulink>.</para> + </listitem> + + <listitem> + <para>������ ������� <command>xfsft</command> ��� X11 ����� �������� � + �� �������� TrueType, � � �������� ��������. ���� � ��������� ����� + �� ��� ��������� � ������ �������, �� ��� ��� ����� ������������. + ���������� <ulink + url="http://www.dcs.ed.ac.uk/home/jec/programs/xfsft/">�������� + Juliusz Chroboczek</ulink>, ����� �������� ����� ������ ����������. + �������� �� �������� �� FreeBSD ����� ����� �� �������� <ulink + url="http://math.missouri.edu/~stephen/software/">������� + ����������</ulink> (Stephen Montgomery), ����������� ������������ + �����������.</para> + </listitem> + + <listitem> + <para><command>xfstt</command> �������� ��� ����� �������� ������� ��� + X11, ��������� �� ������ <ulink + url="ftp://sunsite.unc.edu/pub/Linux/X11/fonts"> + ftp://sunsite.unc.edu/pub/Linux/X11/fonts</ulink>.</para> + </listitem> + + <listitem> + <para>���������, ������� ���������� <command>ttf2bdf</command>, ����� + ������������ BDF-�����, ������� ����� ������������ � ������� X + Window, �� ������ ������� TrueType. ���������� ����� Linux ����� + ���������� �� ������ <ulink + url="ftp://crl.nmsu.edu/CLR/multiling/General"> + ftp://crl.nmsu.edu/CLR/multiling/General/</ulink>.</para> + </listitem> + + <listitem> + <para>��� ���, ���� ����� ������������ ��������� ������ TrueType, ����� + ��������������� �������� �������� �� ������ ������� + <command>XTT</command>. ���������� � <command>XTT</command> ����� + ���� ������� �� ������ ������: <ulink + url="http://hawk.ise.chuo-u.ac.jp/student/person/tshiozak/study/freebsd-at-random/x-tt/index-en.html"> + http://hawk.ise.chuo-u.ac.jp/student/person/tshiozak/study/freebsd-at-random/x-tt/index-en.html</ulink>.</para> + </listitem> + + <listitem> + <para>� ������ …</para> + </listitem> + </itemizedlist> + + <para><ulink url="http://freetype.sourceforge.net/projects.html"> + �������� �������� FreeType</ulink> ����� ��������� �������� � �������� + ��������� ��� ��������� ���������� �� ���� � ������ �������������� + �������� TrueType.</para> + </sect1> + + <sect1> + <title>��� ����� ����� �������������� ������?</title> + + <para>����� ������� ����� ����� � ���� ��������. ��� ���� ��������� + ���������, ���� �������-���������. ����� ����, ��������� ����� ��������� + �������-������, ���������� ����� �������. ��� ��������� ������ �������� + (�� ������ 1996):</para> + + <itemizedlist> + <listitem> + <para><ulink url="ftp://ftp.winsite.com">ftp://ftp.winsite.com</ulink> + (������ ����� CICA)</para> + </listitem> + + <listitem> + <para><ulink url="http://www.simtel.net/"> + http://www.simtel.net/</ulink></para> + </listitem> + + <listitem> + <para><ulink url="ftp://ftp.coast.net/"> + ftp://ftp.coast.net/</ulink></para> + </listitem> + + <listitem> + <para><ulink + url="http://af-pc-plloyd.ecel.uwa.edu.au/fonts/index.html"> + http://af-pc-plloyd.ecel.uwa.edu.au/fonts/index.html</ulink></para> + </listitem> + + <listitem> + <para><ulink url="http://www.esselte.com/letraset/index.html"> + http://www.esselte.com/letraset/index.html</ulink></para> + </listitem> + + <listitem> + <para><ulink url="http://www.inil.com/users/elfring/esf.htm"> + http://www.inil.com/users/elfring/esf.htm</ulink></para> + </listitem> + </itemizedlist> + </sect1> + + <sect1> + <title>�������������� �������</title> + + <itemizedlist> + <listitem> + <para>��� ���� ������������� ����� <filename>.pfm</filename>?</para> + </listitem> + + <listitem> + <para>����� �� �������� ���� <filename>.afm</filename> �� ����� + <filename>.pfa</filename> ��� <filename>.pfb</filename>?</para> + </listitem> + + <listitem> + <para>��� �������� ����� �������������� �������� groff ��� + postscript-������� � �������������� ���������� ��������?</para> + </listitem> + + <listitem> + <para>����� �� ��������� xditview � ���������� devX?? �� ������ ���� + ����� �������?</para> + </listitem> + + <listitem> + <para>������ �� ����� ������� ������������� ������� TrueType � + ����������� povray � ghostscript.</para> + </listitem> + </itemizedlist> + </sect1> +</article> diff --git a/ru_RU.KOI8-R/articles/formatting-media/Makefile b/ru_RU.KOI8-R/articles/formatting-media/Makefile new file mode 100644 index 0000000000..3c2170aee3 --- /dev/null +++ b/ru_RU.KOI8-R/articles/formatting-media/Makefile @@ -0,0 +1,26 @@ +# +# $FreeBSD$ +# $FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/formatting-media/Makefile,v 1.2 2001/07/25 10:26:32 phantom Exp $ +# +# Original revision: 1.1 +# + +MAINTAINER=andy@FreeBSD.org.ua + +DOC?= article + +FORMATS?= html + +INSTALL_COMPRESSED?= gz +INSTALL_ONLY_COMPRESSED?= + +# +# SRCS lists the individual SGML files that make up the document. Changes +# to any of these files will force a rebuild +# + +# SGML content +SRCS= article.sgml + +DOC_PREFIX?= ${.CURDIR}/../../.. +.include "${DOC_PREFIX}/share/mk/doc.project.mk" diff --git a/ru_RU.KOI8-R/articles/formatting-media/article.sgml b/ru_RU.KOI8-R/articles/formatting-media/article.sgml new file mode 100644 index 0000000000..b57d88f202 --- /dev/null +++ b/ru_RU.KOI8-R/articles/formatting-media/article.sgml @@ -0,0 +1,664 @@ +<!-- + The FreeBSD Russian Documentation Project + + $FreeBSD$ + $FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/formatting-media/article.sgml,v 1.3 2001/07/25 10:28:38 phantom Exp $ + + Original revision: 1.16 +--> + +<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [ +<!ENTITY % man PUBLIC "-//FreeBSD//ENTITIES DocBook Manual Page Entities//EN"> +%man; +]> + +<article> + <articleinfo> + <title>�������������� ��������� ��� ������������� � FreeBSD</title> + + <subtitle>������� �������</subtitle> + + <authorgroup> + <author> + <firstname>Doug</firstname> + + <surname>White</surname> + + <affiliation> + <address> + <email>dwhite@resnet.uoregon.edu</email> + </address> + </affiliation> + </author> + </authorgroup> + + <pubdate>���� 1997</pubdate> + +<!-- + <para>������� �� ������� ����: ������ �������� + (<email>andy@FreeBSD.org</email>)</para> +--> + + <abstract> + <para>���� �������� ���������, ��� ������� �� ������, ������� � + ��������������� �������� � �������� �� ���������� ��� ������������� � + FreeBSD. ���������� ������� ���� �������������� �� FreeBSD 2.2 � + ������ �������� � � ������ �������. ����� ��� �������� ��� FreeBSD + ������ 4.</para> + </abstract> + </articleinfo> + + <sect1> + <title>�������� � �����������</title> + + <sect2> + <title>�����</title> + + <para>�������� ���������� ���������� ������ � ������������ ������� + �������� ��������� ��������� ���������� ��������������. ��������� �� + ������, ������� � ���������� ������ ������� ������������ � ������� + ������ � �� ����������. ���� �������� �������, � ��� ���������� + ����� ����� ��������� �� ��������� �������. ���� �������� ��� ������� + � ������� ��������� ���� ������� � �������� ������. � �������, + ������������������ � ��������� ������������ (� ���������, sysinstall) + ������ ��������� ���� ������� � ��������� ������� FreeBSD.</para> + + <para>���������� ��� ������ �������������� �����:</para> + + <itemizedlist> + <listitem> + <para><firstterm>����� ����������� �������������</firstterm>: + ���������� ����� ���, ����� �� ���� ������� �������, ������� + ����� ������������ � ������� ������������� ���������.</para> + </listitem> + + <listitem> + <para><firstterm>����� ������������� �������������</firstterm>, + ������ ���������� <firstterm>������� �������</firstterm>: + �������������� ����� ��� ������� �������. ��� �������� ������� + ���������� ������, �� ������ ������������ ������� �� ������ + �������� � ������. ������ <emphasis>�������</emphasis> ��������� � + ��������� �� ������������� �������� �����, ������������������ ���� + ��������.</para> + </listitem> + </itemizedlist> + + <para>� ����������� ������� ������������ ����� �������� ����� ������� � + ������������� � ������������� ���������, ��� ��� ����� ����, ��� + �������, ������������ ������������� ��� FreeBSD. ������ ����� + ����������� ������������� ���� �������� ������������ � ������� + ���������� ����� ������� ���������.</para> + + <para>����� ������ ������, ������� ��� ������� ��������� ����� �� ������. + ���� ����������� � ������������� ����������� ��������� ������� + <command>/stand/sysinstall</command>. 2.1.7-RELEASE � ����� ������� + ������ <command>sysinstall</command> �������� ��� ��� ���������� + ��������� ������ �� ����� ������� ��������� �����, � �������� ����� + ������ � ��������� �������� � �������� ����� � ����������� �������� + ���������, ������ ����� ����������� ���������� ������ �� ��������� + ����� � ������, �� ���������� ������ �����. ������ ����� ������� � + ������ ������� ������ ��������������� �� ��������� ������. ��� ������ + ������������� ������������� ������������ ������ ��� ��� ������ �������, + ���� <command>sysinstall</command> ������� ��������� ���������.</para> + </sect2> + + <sect2> + <title>�����������</title> + + <para>�� ���� ������������� ���������� ������� � UNIX ���� ��������� + ����� ����� �������� ��� ������ �����. � ��������� ��������� ���� + ����������� ��������, ������������ � ���� ��������� � (��������) �� + FreeBSD ������.</para> + +<!-- I'm tempted to use GLOSSARY here but will resort to a list for +now. --> + + <itemizedlist> + <listitem> + <para>����� ����������� �������������: ��������� ����� ���, ��� �� + ��� ������������ ������� �������, ������������ � ������� + ������������� ���������. �������������� ������ ������������� + �������������.</para> + </listitem> + + <listitem> + <para>(�������) ����� ������������� �������������: �������������� + ����� ��� ������������� ������� �������. ��� �������� ������� + ���������� ������, ������ ������ (�� FreeBSD) ������������ ������� + �� ������ ���������� ����. �������������� ������ ����������� + �������������.</para> + </listitem> + + <listitem> + <para>����: ������� ����, �������� ��������� ���������� ��� + ���������� � �������� ����������, �������������� ���������� � + ��������������� ��� ���������. ������ �������� �� ����� ��� ������ + ��������� ���������� ���������� �� �����, ��� ����� ���� ����� + ��������. ������� �����, �������-�����, �������-���������� � + ������� �������� Zip/Jaz �������� ��������� ������.</para> + </listitem> + + <listitem> + <para>�����: ����� �����. �� ����� ����� �� ���������� PC ����� + ������������� �� ������� �������. ������ ������� �� + ��������������� ��������������� ��������. ���������� � ������� + ������������ � <quote>������� �������</quote>, ������������ + ��������� BIOS ��� ���������� ����������� ��������. ������� + ������� � ������������ DOS ������ ���������� �������� �������� + (Partition Table). ����������� �������� fdisk.</para> + </listitem> + + <listitem> + <para>������: ����� ������. ������ ������������ ��� ����������� + ������ ������ FreeBSD �� �����. ������ �������� ������� � ������� + �������� �� ����� ������������� � �������. ����������� �������� + disklabel.</para> + </listitem> + + <listitem> + <para>������: ����� ����� ����� �����. ���� ������, ��� �������, + ������ 512 ���� ������.</para> + </listitem> + </itemizedlist> + </sect2> + + <sect2> + <title>��������������� & �������</title> + + <para>���������� ����� �� �������� ������� ���������. ������ �������� + ����������� ����������� ������ ������ ����� �������, ���� �� ���� + ����������.</para> + + <para><emphasis>��������� ���������� ���� ������.</emphasis> ����� + ������ ���������� ���������� �� �� ��� ����� ��� ������ � ����� + ���������. ���� ������������, ���������� � ����������, ���������� ��� + �������� ����, ��� ����������� ������� ����� ����������.</para> + + <para>������� ��������, ��� �� �� �������� �� ����� �� �� �� ���� ����� + ������ ��� ������������, � �������� �� ������ �����������. ��������� + �� ���� ����� � ����!</para> + </sect2> + + <sect2> + <title>Zip, Jaz � ������ ������� ��������</title> + + <para>������� ����� ����� ��������������� ����� ��� ��, ��� ������� + ������� �����. ��� ����������� ���������� ����� ���������� ���������� + ������ � ������� � �������� ���� ���� �� ����� ��������. ����������� + ����� ������� <command>dmesg</command> � ��������������, ��� � ��� + ������������ ���� ���������� � ������ �����. ���� ���� ������ + + <informalexample> + <screen>Can't get the size + </screen> + </informalexample> + + �� ����� � ���������� ���. � ����� ������ ��� ����� ������������� + ������ ����� ���, ��� �������� ��������������� �����.</para> + </sect2> + </sect1> + + <sect1> + <title>�������������� ������ � ������ ������������� �������������</title> + + <sect2> + <title>��������</title> + + <para>� ���� ������� �������� �������, ��� ������� ����� ��������� + ���������������� ��� FreeBSD. �������, ��� ������ �����, + �������������� ��� ������ ������������� �������������, �� ����� ���� + ������������ � ����������� PC.</para> + </sect2> + + <sect2> + <title>���������� ������ � ������ ������������� ������������� ��� ������ + ������� sysinstall</title> + + <para><command>/stand/sysinstall</command>, ��������� ��������� �������, + � ��������� ������� ���� ��������� ���, ��� ��������� ������� ������� + ���������� ������ ������� �������. ��������� fdisk � disklabel, + ���������� � sysinstall, �������� ������������� � ����������� + ���������������� �����������, ������������ ����������� ���������� ��� + ��������� ������. ��� ������ FreeBSD 2.1.7 � ���� ���, ��������, ����� + ������� ������ ���������� ������.</para> + + <procedure> + <step> + <para>��������� sysinstall ��� ������������ root, ������ + + <informalexample> + <screen> +&prompt.root; <userinput>/stand/sysinstall</userinput> + </screen> + </informalexample> + + � ��������� ������.</para> + </step> + + <step> + <para>�������� ����� <command>Index</command>.</para> + </step> + + <step> + <para>�������� ����� <command>Partition</command>.</para> + </step> + + <step> + <para>�������� ���� ��� �������������� � ������� ������ ���������� + �������� <keycap>�������</keycap>.</para> + </step> + + <step> + <para>���� �� ����������� ���� ���� ��������� ��� FreeBSD, �������� + <command>A</command>.</para> + </step> + + <step> + <para>����� ����� ������ ���������: + + <informalexample> + <screen> +Do you want to do this with a true partition entry so as to remain +cooperative with any future possible operating systems on the +drive(s)? + </screen> + </informalexample> + + �������� <command>No</command>.</para> + </step> + + <step> + <para>����� ����� ����� ������ � ���, ������������� �� �� ������ ��� + �������, �������� <command>Yes</command>.</para> + </step> + + <step> + <para>�������� <command>Write</command>.</para> + </step> + + <step> + <para>��� ������ �������������� Writing on installed systems, + �������� <command>Yes</command>.</para> + </step> + + <step> + <para>�������� <command>Quit</command> ��� ������ �� ��������� FDISK + � ������� <keycap>ESCAPE</keycap> ��� �������� � ���� Index.</para> + </step> + + <step> + <para>�������� ����� <command>Label</command> �� ���� Index.</para> + </step> + + <step> + <para>��������� ���� ���, ��� ��� �����. ��� ������ � ������������ + �������� ������� <command>C</command> ��� �������� �������, ������� + ������ �� ���������, ���������� ��� ������� � Filesystem � ������� + ����� ������������ (������� �� ������������).</para> + </step> + + <step> + <para>������� <command>W</command>, ����� ��� ��������� � �������� + ����������. �������� ������� ����� ��������� �����, ���� �� �� + ������� ��������� (��� ����� �������� ��� ��� ������ ����������!). + �� �������� ��������� �� ������: + + <informalexample> + <screen>Error mounting /mnt/dev/ad2s1e on /mnt/blah : No such file or directory + </screen> + </informalexample> + + �������������� ��� ���������.</para> + </step> + + <step> + <para>������� �� ���������� �������� ������� + <keycap>ESCAPE</keycap>.</para> + </step> + </procedure> + </sect2> + + <sect2> + <title>���������� ����� � ������������� � ������������ ������ �� + ��������� ������</title> + + <para>��������� ��������� �������, ������� ad2 �� ��� ������ + �����.</para> + + <informalexample> + <screen> +&prompt.root; <userinput>dd if=/dev/zero of=/dev/ad2 count=2</userinput> +&prompt.root; <userinput>disklabel /dev/ad2 | disklabel -B -R -r ad2 /dev/stdin</userinput> +<lineannotation>We only want one partition, so using slice 'c' should be fine:</lineannotation> +&prompt.root; <userinput>newfs /dev/ad2c</userinput> + </screen> + </informalexample> + + <para>���� ��� ����� ��������������� ����� ����� ��� �������� ���������� + �������� (��������, ������� ��������), ��������� ���������:</para> + + <informalexample> + <screen> +&prompt.root; <userinput>dd if=/dev/zero of=/dev/ad2 count=2</userinput> +&prompt.root; <userinput>disklabel /dev/$d > /tmp/label</userinput> +<lineannotation>Edit disklabel to add partitions:</lineannotation> +&prompt.root; <userinput>vi /tmp/label</userinput> +&prompt.root; <userinput>disklabel -B -R -r ad2 /tmp/label</userinput> +<lineannotation>newfs partitions appropriately</lineannotation> + </screen> + </informalexample> + + <para>������ ��� ���� ����� � ������.</para> + </sect2> + </sect1> + + <sect1> + <title>�������� ������ ��� ������������� � ������ �������������</title> + + <sect2> + <title>��������</title> + + <para>��� ���������� ������ ��� ������������� � ������������ ������ ����� + ����� ��������������� ��������� �������, �� ����� ������ �� ������� ��� + ���������� ������ ��� ������������� � ������ �������������. ������� + ��������� ������ fdisk ������� ������� ���������� � ��������� ��������� + ���������� ������� �������, ��� ���� �� �������. ��� ���������� ������ + ��� ������������� � ������ ������������� ����������� sysinstall.</para> + </sect2> + + <sect2> + <title>���������� ������, ������������ � ������ �������������, ��� ������ + sysinstall</title> + + <procedure> + <step> + <para>��������� sysinstall, ������� ��� ������������ root, ������ + + <informalexample> + <screen>&prompt.root; <userinput>/stand/sysinstall</></screen> + </informalexample> + + � ��������� ������.</para> + </step> + + <step> + <para>�������� ����� ���� <command>Index</command>.</para> + </step> + + <step> + <para>�������� ����� ���� <command>Partition</command>.</para> + </step> + + <step> + <para>�������� ���� ��� ������ ��� ������ ������ ���������� �������� + � ������� <keycap>SPACE</keycap>.</para> + </step> + + <step> + <para>���� �� ����������� ������������ ��� FreeBSD ���� ����, ������� + <command>A</command>.</para> + </step> + + <step> + <para>����� ����� ����� ������: + + <informalexample> + <screen> +Do you want to do this with a true partition entry so as to remain +cooperative with any future possible operating systems on the +drive(s)? + </screen> + </informalexample> + + �������� <command>yes</command>.</para> + </step> + + <step> + <para>�������� <command>Write</command>.</para> + </step> + + <step> + <para>����� ����� ������ ���������� ���� ��� ��������� ��������� + ��������, �������� None ��� ������ ������� <keycap>SPACE</keycap>, + � ����� ������� <keycap>ENTER</keycap> ��� �������������.</para> + </step> + + <step> + <para>�������� <command>Quit</command> ��� ������ �� FDISK.</para> + </step> + + <step> + <para>����� ������ �������������� � ��������� ��������, �������� + <command>None</command> �����.</para> + </step> + + <step> + <para>�������� ����� <command>Label</command> �� ���� Index.</para> + </step> + + <step> + <para>��������� ���� ���, ��� ��� �����. � ������ ������������� + ������� ������� ������ �� ���������, ��� � �������� �������� + ������� � ����� ������������ (������� �� ����� + ��������������).</para> + </step> + + <step> + <para>�������� ������� ����� ����� �������, ���� �� �� ������ + �������� (��� �������� ����������� ����� ������ ��� ����� + ��������!). �� �������� ��������� �� ������: + + <informalexample> + <screen> +Error mounting /mnt/dev/ad2s1e on /mnt/blah : No such file or directory + </screen> + </informalexample> + + �������������� ���.</para> + </step> + + <step> + <para>�������, ��������������� ������� + <keycap>ESCAPE</keycap>.</para> + </step> + </procedure> + + <para>������ ��� ����� ���� ����� � �������������.</para> + </sect2> + </sect1> + + <sect1> + <title>������ �������� � ������</title> + + <sect2> + <title>���������� ������������ ��� ��������</title> + + <para>��� ����� ������� ����� ����� � ���������� � ������ ����������� + ������. ���� ���������� ��������� ������������ ��� �������� � ������ + ��� ��������� ������ �������� ����� ������� �������, ����� ����������� + ����� ���� � �������������� ������������� ��� ��������.</para> + + <para>��� ���������� ������������ �������� ��� ���������� ����� � + �������:</para> + + <procedure> + <step> + <para>��� ��������� ����� �� �������, �������������� ����� �����, + ������� ��������� ����� ����� ��� ������� `b', � ������� + ����������� � ������ �������, ��������, `a' ��� `e'. ������� + ����������� � ������ �� 512 ����.</para> + </step> + + <step> + <para>��� �������� ����� �������� ������ �� �����, �� ������� ����� + ��� ������� `c'. ������ ����� ��������� �������� ����� �������� + ������ ��� ��������, �� ���������� ������������ ��� + ��������.</para> + </step> + + <step> + <para>�������� ����� ������� � ���� + <filename>/etc/fstab</filename>:</para> + + <informalexample> + <programlisting> +/dev/ad0b none swap sw 0 0 + </programlisting> + </informalexample> + + <para>�������� ����� /dev/ad0b �� ��� ���������� � ������ ��� + ����������� �������������.</para> + </step> + + <step> + <para>����� ������� ������������ ��� �������� ���������� ���������, + �������������� �������� <command>swapon</command>. + + <informalexample> + <screen> +&prompt.root; <userinput>swapon /dev/da0b</userinput> +swapon: added /dev/da0b as swap space + </screen> + </informalexample> + </para> + </step> + </procedure> + </sect2> + + <sect2> + <title>����������� ����������� ������</title> +<!-- Should have specific tag --> + + <para>�����������: Renaud Waldura + (<email>renaud@softway.com</email>) </para> + + <para>��� �������� ������ � ������ ������� ����� �� �����, ���������: + + <informalexample> + <screen>&prompt.root; <userinput>mount /dev/ad2 /mnt</userinput> +&prompt.root; <userinput>pax -r -w -p e /usr/home /mnt</userinput> +&prompt.root; <userinput>umount /mnt</userinput> +&prompt.root; <userinput>rm -rf /usr/home/*</userinput> +&prompt.root; <userinput>mount /dev/ad2 /usr/home</userinput> + </screen> + </informalexample> + </para> + </sect2> + + <sect2> + <title>����������� ������ � ������� CCD</title> + + <para>������� �����������: Stan Brown + (<email>stanb@awod.com</email>) </para> + + <para>������� CCD (Concatenated Disk Driver) ��������� ��� ������������ + ��������� ���������� ������ ��� ���� ����. ����������� ������ ����� + �������� ������������������ ����� ������������� �������� ������ � + ������ ����� �������. ���������� � ��������� ���������� ������� + &man.ccd.4; � &man.ccdconfig.8; ��� � <ulink + URL="http://stampede.cs.berkeley.edu/ccd/">�������� �������� + CCD</ulink> ��� ��������� ��������� ����������.</para> + + <para>��� ������ �� ����� ������������� ����������� ���� ��� + ������������� ccd. ����� �� ���������� ������� + <command>ccdconfig</command>, ��� �������� ��������������� KLD, ���� � + ���� ��� ��������� CCD.</para> + + <para>�� ������ ������� ������������ ����� � �������� ���� + <emphasis>4.2BSD</emphasis>. ���� �� ������ ������������ ���� ����, �� + ��� ��� ����� ����� ������� ����� ������. ��������, + <userinput>disklabel -e</userinput> ����� ��������:</para> + + <informalexample> + <screen> +# size offset fstype [fsize bsize bps/cpg] + c: 60074784 0 unused 0 0 0 # (Cyl. 0 - 59597) + </screen> + </informalexample> + + <para>�� �� ������� ������������ ������ <emphasis>c</emphasis> ��� CCD, + ��� ��� �� ����� ��� <emphasis>unused</emphasis>. ������ ����� + �������� ����� ������ ����� ������ �� �������, �� ���� + <emphasis>4.2BSD</emphasis>:</para> + + <informalexample> + <screen> +# size offset fstype [fsize bsize bps/cpg] + c: 60074784 0 unused 0 0 0 # (Cyl. 0 - 59597) +<userinput> e: 60074784 0 4.2BSD 0 0 0 # (Cyl. 0 - 59597)</userinput> + </screen> + </informalexample> + + <para>��� �������� ������ CCD ��������� ��������� �������. ����� + �������, ��� ���������� ��� �����; ������ ���������� ��� �������� + ���������� �� ���� �������������. �������, ��� ������������ ����� + ������ ���� <emphasis>�����������</emphasis>.</para> + + <informalexample> + <screen> +&prompt.root; <userinput>cd /dev ; sh MAKDEV ccd0</userinput> + +&prompt.root; <userinput>disklabel -r -w da0 auto</userinput> +&prompt.root; <userinput>disklabel -r -w da1 auto</userinput> +&prompt.root; <userinput>disklabel -r -w da2 auto</userinput> + +&prompt.root; <userinput>disklabel -e da0</userinput> +<lineannotation>Add partition e with type 4.2BSD</lineannotation> +&prompt.root; <userinput>disklabel -e da1</userinput> +<lineannotation>Add partition e with type 4.2BSD</lineannotation> +&prompt.root; <userinput>disklabel -e da2</userinput> +<lineannotation>Add partition e with type 4.2BSD</lineannotation> + +&prompt.root; <userinput>ccdconfig ccd0 273 0 /dev/da0e /dev/da1e /dev/da2e</userinput> + +&prompt.root; <userinput>newfs /dev/ccd0c</userinput> + </screen> + </informalexample> + + <para>�������� 273 ������ ������ ����� ������. ��� ����� �������� �����, + (������ �� 512 ����) � ������ ����� ������ � CCD. �� ������ ���� ����� + �� ������� ���� 128 kB, � ������ ���� �������� ����� 2.</para> + + <para>������ �� ������ ������������ � ������������ ��� CCD ����� + ���������� /dev/ccd0c.</para> + + <para>����� ������ � ������ ������������� ��� CCD �������� Vinum. + ���������� � <ulink URL="http://www.vinumvm.org/">�������� �������� + ������� Vinum Project</ulink> ��� ��������� ��������� + ����������.</para> + </sect2> + </sect1> + + <sect1> + <title>�������������</title> + + <para>����� �������� ������������� ���, ��� �������� ������� � ���� + �������:</para> + + <itemizedlist> + <listitem> + <para>Darryl Okahata (<email>darrylo@hpnmhjw.sr.hp.com</email>) �� + �������� �������� ��������� ����� ��� ������ ������������� + �������������, ������� � ��������� ��������� � ������ �������� + FreeBSD-questions.</para> + </listitem> + + <listitem> + <para>Jordan Hubbard (<email>jkh@FreeBSD.org</email>) �� ��, ��� �� + ������ sysinstall ���������� ������������ ��� ���������� ����� + �����.</para> + </listitem> + + <listitem> + <para>John Fieber (<email>jfieber@indiana.edu</email>) �� �������� + �������� � �������������� ���������� � DocBook DTD, �� ������ ���� + ������� ���� ��������.</para> + </listitem> + + <listitem> + <para>Greg Lehey (<email>grog@FreeBSD.org</email>) �� �������� + ���� ������ � �������� �� ����������, � ����� �� ���������.</para> + </listitem> + </itemizedlist> + </sect1> +</article> diff --git a/ru_RU.KOI8-R/articles/freebsd-questions/Makefile b/ru_RU.KOI8-R/articles/freebsd-questions/Makefile index 279b796c0a..c91816577c 100644 --- a/ru_RU.KOI8-R/articles/freebsd-questions/Makefile +++ b/ru_RU.KOI8-R/articles/freebsd-questions/Makefile @@ -1,5 +1,7 @@ # -# $FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/freebsd-questions/Makefile,v 1.1 2001/03/11 10:39:17 phantom Exp $ +# $FreeBSD$ +# $FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/freebsd-questions/Makefile,v 1.2 2001/07/25 10:26:33 phantom Exp $ +# # Original revision: 1.1 # diff --git a/ru_RU.KOI8-R/articles/freebsd-questions/article.sgml b/ru_RU.KOI8-R/articles/freebsd-questions/article.sgml index 492bf4956d..256e054017 100644 --- a/ru_RU.KOI8-R/articles/freebsd-questions/article.sgml +++ b/ru_RU.KOI8-R/articles/freebsd-questions/article.sgml @@ -1,17 +1,17 @@ +<!-- + The FreeBSD Russian Documentation Project + + $FreeBSD$ + $FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/freebsd-questions/article.sgml,v 1.5 2001/07/25 10:26:33 phantom Exp $ + + Original revision: 1.1 +--> + <!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [ <!ENTITY % man PUBLIC "-//FreeBSD//ENTITIES DocBook Manual Page Entities//EN"> %man; ]> -<!-- - The FreeBSD Russian Documentation Project - - $FreeBSD: doc/ru_RU.KOI8-R/articles/freebsd-questions/article.sgml,v 1.1 2001/03/11 16:23:11 phantom Exp $ - $FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/freebsd-questions/article.sgml,v 1.1 2001/02/24 15:37:32 andy Exp $ - - Original revision: 1.1 ---> - <article> <articleinfo> <title>��� �������� �� ������� �������� FreeBSD-questions c ������������ @@ -26,7 +26,7 @@ </affiliation> </author> - <pubdate>$FreeBSD: doc/ru_RU.KOI8-R/articles/freebsd-questions/article.sgml,v 1.1 2001/03/11 16:23:11 phantom Exp $</pubdate> + <pubdate>$FreeBSD: doc/en_US.ISO_8859-1/articles/freebsd-questions/article.sgml,v 1.1 2001/02/16 00:22:33 nik Exp $</pubdate> <abstract> <para>� ���� ��������� ���������� ����������, ������� ����� ������� @@ -112,7 +112,7 @@ subscribe FreeBSD-questions <para>����� �� ������������� �� ������ �������� FreeBSD-questions, �� �������� ������������ ��������� �� <email>Majordomo@FreeBSD.ORG</email>. � ���� ���������, ����� ����� - �������, ��� ��������������� � ���, ��� ����������. ��� �������� + �������, ��� �������������� � ���, ��� ����������. ��� �������� ���������:</para> <literallayout class="monospaced"> @@ -210,13 +210,13 @@ you consider the question to be pretty technical. </listitem> </orderedlist> - <para>������� ����� ��������� ���������� ������ ����������������� ������� + <para>������� ����� ��������� ���������� ������ ������������������ ������� ��������, ��������, <literal>FreeBSD-isp</literal>, ������� �������� �������� ISP (����������� ����� ��������), ���������� �� FreeBSD. ���� ��������� ���, ��� �� ��������� ISP, ��� ����� �� ������, ��� �� ������ ������������� �������� ���� ������� � ������ �������� <literal>FreeBSD-isp</literal>. ����� ����� �������� ��������, - ��������� ����, � � ����� ��������� ��������� ���, ������ ������ ��� + ��������� ����, � � ����� ��������� ��������� ���, ������ ��� ������ ��� ����� �������� ���������.</para> </sect1> @@ -243,7 +243,7 @@ you consider the question to be pretty technical. <listitem> <para>�� ������ �������, ������� �������� �� ������ � FreeBSD, ������ ��� ���������: ������ �������� ������ � ����� ������ � ��������, - ������������ �� ��������� �������. �� ���� � ����� ���������� + ������������ �� ��������� �������. �� ���� � ����� ��������� ������� ���� ������. ``FreeBSD problem'' ��� ``Help'' ������������. ���� �� �� ������� ���� ������, �� ������ ���� �� ���������� �������� ���������. ���� ���� ��������� ������������ ���������, �� ����, @@ -314,7 +314,7 @@ you consider the question to be pretty technical. ����� ��������� �������� �����, ������ ��� ���� ��������� ��� ����� ����� ������������, ������ ������ ���� �������� ��������� ����� ��������� � ����. �������� ��� ��������� �������� ��������� �� - ���� � ����, � ���� ���� ��������� �� ����� �������������� ������� + ���� � ����, � ���� ���� ��������� �� ����� �������������� ������� ������, �� ��� ����� ������������, ��� ��� ���������� � ���� �� �������� �� ����.</para> </listitem> @@ -342,7 +342,7 @@ you consider the question to be pretty technical. <listitem> <para>� ������ ����� ��������, ������� <emphasis>�����</emphasis> ���� ������� � ������� ������������, ���������� � ����� - ���������� �����������. � ������ �������� ������������, ��� ���, + ���������� �����������. � ������ �������� ������������, ��� ���, ��������, ���� ������������. ����� ��� ���������� ������������? ��������� �� �����? ����� ����������� �����? ������� ����������� ������? ����� ������������ ������������?</para> @@ -506,7 +506,7 @@ fine, but when I try to reboot the system, I get the message ����� ������ ������ <quote>Yeah, me too</quote> ������ �� �������, ���� ���� � ����������, ��������, ����� ���-������ ��������� ���� �������� � �� �����, ��� �� ��� ������, ��� ���-�� �� ��� � - ���������� ��� ����������� ������������. ���� �� ��������� ��������� + ���������� ��� ����������� ������������. ���� �� ��������� ��������� <quote>me too</quote>, �������� ����� ����������� � ���� ����������.</para> </listitem> @@ -515,8 +515,8 @@ fine, but when I try to reboot the system, I get the message <para>������� �� ��, ��� ������ ������? ����� ����� ���, ��� ������ ������, �������� ��� �� ����� ��� ������ �������. ���� ��� ����� ������ ��������� ������� ����� ������� �����, ������� �� �������� - �� ������. ��� �� ��������: �� ������� ����, ��� ������ ������, ��� - ����� ������������ ��� ��������������. ���� ����� ������ �� + �� ������. � ���������, ��� �� ������ �� ��������, ������ �ݣ ������ + ��������� � ����������� �������������. ���� ����� ������ �� ��������, ��� �� �� ����� �������, �� ������ ������ ��������� ����� ��������� ����������.</para> </listitem> @@ -536,14 +536,15 @@ fine, but when I try to reboot the system, I get the message ���������, ��������� � ���������� �������. ���� �� ������� ���������, �������������� ������� ��� ����, ����� ������ ��������, �� ������ ���� ����� �� ����������. ������ ����������� ��� ������ ����; - ������ �������� ��������� � ������� CC-���������. ���� ��� ��� - ������, �������������� ��������� ������ Cc:.</para> + ������ �������� ��������� � ������� CC-���������. � ����� ������� + ������� ������ ������ Cc:.</para> </listitem> <listitem> - <para>�������� ����� �� ��������� ���������, ������� ��������� � ����. - ������� ��� �� ���������, �� �� ����������������. ���, ��� �� ����� - ��������������� ���������, ������ ������, � ��� ���� ����.</para> + <para>�� ��������� ��������� �������� �����, ������� ��������� � ����. + ��������� ��������� �����������, �� �� ����������������. ���, ��� �� + ����� ��������������� ���������, ������ ������, � ޣ� �� �ģ� + ����.</para> </listitem> <listitem> @@ -552,14 +553,13 @@ fine, but when I try to reboot the system, I get the message ��������������� ������ ����� ����� �������� ������� ������� <quote><literal>> </literal></quote>. ������� ������� ����� <quote><literal>> </literal></quote> � ������ ����� ����� ����� - ������� � �������������� ������� ������� ��������� ����� - �����������.</para> + � �������������� �������� ������� ��������� ����� �����������.</para> </listitem> <listitem> <para>��������� ��� ����� � ���������� ����� (����� ������, �� ������� �� ���������). ����� ������ ������ ����� �������, ����� ������ �� - ��� ������� ����� �������, �� ������� �� ��������.</para> + ��� ������� ����� �������, � �������� ���������.</para> </listitem> <listitem> @@ -570,21 +570,21 @@ fine, but when I try to reboot the system, I get the message </listitem> <listitem> - <para>���� �������� ������ �� ������� ����������� �� �������������� - ������ (������ ������� ������, ������������ ������ ����), - <emphasis>����������</emphasis>, ��������� ���. � ������ + <para>���� ������������ �� ������� ����������� �� �������������� ������ + (������� ������� ������, ������������ ������ ����), + <emphasis>����������</emphasis>, ��������� ��� ������. � ������ ������������ ������ ���� ������ (���� <quote>HELP!!??</quote>) - �������� �� �� (� �������) <quote>Re: Difficulties with sync PPP + �������� ţ, ��������, ���: <quote>Re: Difficulties with sync PPP (was: HELP!!??)</quote>. � ����� ������ � ������ �����, ���������� ��������� ����������, ����� ������ �������.</para> <para>� ����� ������� ������ �������, ��� �� ������� � ������, �� - ������������ �� �������. ���� �����������, ��� �� �� ������ - ��������, �� ���������� �� ��������, �� ���������.</para> + ������������ �� �������. ���� �� ����������, ��� �� ������ ��������, + �� ���������� �� ��������, ������������ �� ������ ������.</para> <para>���� �� ������ �������� �� ��������� ���� ������, ��� ��� ����� ���������, �������� ������ ������, �� �� � ������. ���� ������, �� - � ����� ������ ������ ������� ��� ��� ���������.</para> + � ����� ������ ������ ������� ��� ��� ������.</para> </listitem> </orderedlist> </sect1> diff --git a/ru_RU.KOI8-R/articles/ipsec-must/Makefile b/ru_RU.KOI8-R/articles/ipsec-must/Makefile new file mode 100644 index 0000000000..307f584b54 --- /dev/null +++ b/ru_RU.KOI8-R/articles/ipsec-must/Makefile @@ -0,0 +1,20 @@ +# +# $FreeBSD$ +# $FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/ipsec-must/Makefile,v 1.1 2001/07/09 06:56:28 kappa Exp $ +# +# Original revision: 1.1 +# + +MAINTAINER= kappa@FreeBSD.org.ua + +DOC?= article + +FORMATS?= html + +INSTALL_COMPRESSED?= gz +INSTALL_ONLY_COMPRESSED?= + +SRCS= article.sgml + +DOC_PREFIX?= ${.CURDIR}/../../.. +.include "${DOC_PREFIX}/share/mk/doc.project.mk" diff --git a/ru_RU.KOI8-R/articles/ipsec-must/article.sgml b/ru_RU.KOI8-R/articles/ipsec-must/article.sgml new file mode 100644 index 0000000000..1422b3a997 --- /dev/null +++ b/ru_RU.KOI8-R/articles/ipsec-must/article.sgml @@ -0,0 +1,367 @@ +<!-- + The FreeBSD Russian Documentation Project + + $FreeBSD$ + $FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/ipsec-must/article.sgml,v 1.4 2001/07/19 08:26:25 phantom Exp $ + + Original revision: 1.3 +--> + +<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [ +<!ENTITY % man PUBLIC "-//FreeBSD//ENTITIES DocBook Manual Page Entities//EN"> +%man; +]> + +<article> + <articleinfo> + <title>����������� ������������ ������ IPsec �� FreeBSD</title> + + <author> + <firstname>David</firstname> + <surname>Honig</surname> + + <affiliation> + <address><email>honig@sprynet.com</email></address> + </affiliation> + </author> + + <pubdate>3 May 1999</pubdate> + + <abstract> + <para>�� ������ ��� ���������� � ��������� IPsec, � ���, + �������, ����������. ��� ��� ����� ���������? � ����� ����� + ����������������� �������� ����������� ���������������� + IPsec.</para> + </abstract> + </articleinfo> + + <sect1> + <title>���������� ������</title> + + <para>��� ������ �����������, ��� �� <link linkend="ipsec-install"> + ��������� <emphasis>IPsec</emphasis></link>. ��� �� + �������, ��� IPsec <link linkend="caveat">��������</link>? + ����������, ���������� �� �����, ���� �� ������� ��� + ����������������. � ��� ������� �������� � ������ ������� + &man.netstat.1;, ����� �� �ӣ �������� �����. �� ����� �� + ���-�� ����������� ��� ���� ���������������� IPsec?</para> + </sect1> + + <sect1> + <title>�������</title> + + <para>��� ������ �������� ����������������� ������:</para> + + <orderedlist> + <listitem> + <para>����������� ������ ���������� ������������ �� ������� + �����������, �� ���� ������ ������ ����� ������������ + ��������;</para> + </listitem> + + <listitem> + <para><quote>�����</quote> � �������� ������ ��� ������� + ���������, �� ���� �� �������� ������ ����������� + ���������.</para> + </listitem> + </orderedlist> + + <para>�����������, ��� � ��� ������� ����������� �������� �������� + ��������� � ���������� ������� �� ������� ����������. � ���� + ������ �� ������� ����� �������� ������������� ������ �� + ��������, ���ޣ� ���� � ��� ������, ����� ����� ������ � + <quote>������ ����������</quote> ���������� � �������� ����, � + ������� ������� ��������� IP, ������� ������������ ��� + �������������.</para> + + <sect2 id="MUST"> + <title>MUST</title> + + <para><quote>������������� �������������� ���� ��� ����������� + ��������� �����</quote> ���� ������� (Ueli Maurer's Universal + Statistical Test for Random Bit Generators), �����ݣ��� <ulink + url="http://www.geocities.com/SiliconValley/Code/4704/universal.pdf"> + <acronym>MUST</acronym></ulink> ��������� ������ �������� + �������� ����������������� ������ ������. ������������ + �������� ����� �� �������� ������. <link linkend="code"> � + ����������</link> �����ģ� �������� ���, ����������� �������� + �������� ���������������� ������ ������ �������� ����� + �������� ���������.</para> + </sect2> + + <sect2 id="tcpdump"> + <title>Tcpdump</title> + + <para>�ݣ ��� ����� ������ ���������� ����������, + ���������� ����� ���������. ��������� &man.tcpdump.1; + ��������� ������� ��� � ������, ���� �� <link + linkend="kernel">���������������� ��ϣ ����</link> � + ���������� <emphasis>��������� ������� ������ (Berkeley Packet + Filter)</emphasis>.</para> + + <para>������� + + <screen> + <userinput><command>tcpdump</command> -c 4000 -s 10000 -w <replaceable>dumpfile.bin</replaceable></userinput> + </screen> + + �������� 4000 ������� � ���� + <replaceable>dumpfile.bin</replaceable>. � ������ ������� ��ߣ� + ������������ ���������� � ������ ������ �� ����� ��������� + 10,000 ������.</para> + </sect2> + </sect1> + + <sect1> + <title>�����������</title> + + <para>� ���� ������� �������, � ޣ� ���������� ����������� ���� + ������������.</para> + + <procedure> + <step> + <para>�������� ��� ���� ��������� � ��������� � ����� �� ��� � + �����-������ ����������� ����� ����� IPsec, � � ������ --- � + �������, <quote>������ݣ����</quote> �����������.</para> + </step> + + <step> + <para>������ ������� <link linkend="tcpdump">��������� + ������</link>.</para> + </step> + + <step> + <para>� <quote>�����������</quote> ���� ��������� ������� + &man.yes.1;, ������� ����� �������� ����������� + ����� �������� <quote>y</quote>. �������� ��������� � + ��������� ţ. ����� ������������� � ������� ���� (�� + ������������ ����� IPsec) � �������� �� �� �����.</para> + </step> + + <step> + <para>�������������� ����: ��������� <link linkend="code"> + MUST</link>, ������� ��� ��� ��������� ������ ��� + �����Σ���� ������ ����� ��������� ������. �� ������ + ������� ���-�� ����� ������֣����� ���� ����. ��������, ��� + ���������� ���������� ����� 93% (6,7) �� ���������� �������� + (7,18), � ������� ���������� --- ����� ���� 29% + (2,1).</para> + + <screen> +&prompt.user; <userinput>tcpdump -c 4000 -s 10000 -w <replaceable>ipsecdemo.bin</replaceable></userinput> +&prompt.user; <userinput>uliscan <replaceable>ipsecdemo.bin</replaceable></userinput> + +Uliscan 21 Dec 98 +L=8 256 258560 +Measuring file ipsecdemo.bin +Init done +Expected value for L=8 is 7.1836656 +6.9396 -------------------------------------------------------- +6.6177 ----------------------------------------------------- +6.4100 --------------------------------------------------- +2.1101 ----------------- +2.0838 ----------------- +2.0983 ----------------- +</screen> + </step> + </procedure> + </sect1> + + <sect1 id="caveat"> + <title>���������</title> + + <para>���� ����������� ����������, ��� IPsec + <emphasis>�������������</emphasis> ������������ ������������ + ����� �� ������� ����������� <emphasis>����������</emphasis>, + ��� � ����� ������ ����������. ������ ���� ����� <emphasis>�� + �����</emphasis> ���������� ��������� ������ ������� � ������� + (���� � ������� �� ����). ��� ������� ����� �������� ������ + ��������� ��������� ��� ������ �������, ��������� + ������������������ ������ ��� ������, ������������� ������ � + ����������������� ������ ����������, ����� ���� � �. �. �������� + �������� ���, ���������, ��� ��� ����������.</para> + </sect1> + + <sect1 id="IPsec"> + <title>����������� IPsec</title> + + <para>IPsec ������������ ����� �������� ����������� ������ + ����������� �� Internet. ���������� � ���� ���������� � IPv4; + �������� ������������ ������ IPv6. �������� � ���� �������� + ���������� � �������������� �� ������ IP (����������� + <quote>host-to-host</quote> ��������������). SSL �������� + ������ ���� ���������� ���������� �����; + <application>SSH</application> �������� ���� �� ������; + <application>PGP</application> �������� ������̣���� ���� ��� + ������. IPsec ������� ��� ����������, ������������ ����� ����� + ��������.</para> + </sect1> + + <sect1 id="ipsec-install"> + <title>��������� IPsec</title> + + <para>����������� ����������� ������ FreeBSD ��� ����� ��������� + IPsec. ��������, �� ������ ������ ���� �������� ����� + <option>IPsec</option> � ���������������� ���� ����, � ����� + ������ � ����������� ������ ����, ���������������� �������� + IPsec � ������� ������� &man.setkey.8;.</para> + + <para>����� �������� � ���, ��� ��������� IPsec �� FreeBSD ����� + �������� � <ulink + url="http://www.freebsd.org.ua/handbook/ipsec.html">����������� + ������������</ulink>.</para> + </sect1> + + <sect1 id="kernel"> + <title>usr/src/sys/i386/conf/KERNELNAME</title> + + <para>��������� ������ ������ �������������� � ���������������� + ����� ����, ����� ��� ������������ Berkeley Packet Filter. �� + �������� ����� ����������� ��������� &man.config.8;, �, ��� + ������, ����������� � ���������� ����� ����.</para> + +<programlisting> +device bpf +</programlisting> + </sect1> + + <sect1 id="code"> + <title>������������� �������������� ���� ������� (������ ����� + --- 8 ���)</title> + + <para>�������� ���������ģ����� ���� ��������� �� <ulink + url="http://www.geocities.com/SiliconValley/Code/4704/uliscanc.txt"> + ����� ������</ulink>.</para> + +<programlisting> +/* + ULISCAN.c ---blocksize of 8 + + 1 Oct 98 + 1 Dec 98 + 21 Dec 98 uliscan.c derived from ueli8.c + + This version has // comments removed for Sun cc + + This implements Ueli M Maurer's "Universal Statistical Test for Random + Bit Generators" using L=8 + + Accepts a filename on the command line; writes its results, with other + info, to stdout. + + Handles input file exhaustion gracefully. + + Ref: J. Cryptology v 5 no 2, 1992 pp 89-105 + also on the web somewhere, which is where I found it. + + -David Honig + honig@sprynet.com + + Usage: + ULISCAN filename + outputs to stdout +*/ + +#define L 8 +#define V (1<<L) +#define Q (10*V) +#define K (100 *Q) +#define MAXSAMP (Q + K) + +#include <stdio.h> +#include <math.h> + +int main(argc, argv) +int argc; +char **argv; +{ + FILE *fptr; + int i,j; + int b, c; + int table[V]; + double sum = 0.0; + int iproduct = 1; + int run; + + extern double log(/* double x */); + + printf("Uliscan 21 Dec 98 \nL=%d %d %d \n", L, V, MAXSAMP); + + if (argc < 2) { + printf("Usage: Uliscan filename\n"); + exit(-1); + } else { + printf("Measuring file %s\n", argv[1]); + } + + fptr = fopen(argv[1],"rb"); + + if (fptr == NULL) { + printf("Can't find %s\n", argv[1]); + exit(-1); + } + + for (i = 0; i < V; i++) { + table[i] = 0; + } + + for (i = 0; i < Q; i++) { + b = fgetc(fptr); + table[b] = i; + } + + printf("Init done\n"); + + printf("Expected value for L=8 is 7.1836656\n"); + + run = 1; + + while (run) { + sum = 0.0; + iproduct = 1; + + if (run) + for (i = Q; run && i < Q + K; i++) { + j = i; + b = fgetc(fptr); + + if (b < 0) + run = 0; + + if (run) { + if (table[b] > j) + j += K; + + sum += log((double)(j-table[b])); + + table[b] = i; + } + } + + if (!run) + printf("Premature end of file; read %d blocks.\n", i - Q); + + sum = (sum/((double)(i - Q))) / log(2.0); + printf("%4.4f ", sum); + + for (i = 0; i < (int)(sum*8.0 + 0.50); i++) + printf("-"); + + printf("\n"); + + /* refill initial table */ + if (0) { + for (i = 0; i < Q; i++) { + b = fgetc(fptr); + if (b < 0) { + run = 0; + } else { + table[b] = i; + } + } + } + } +} +</programlisting> + </sect1> +</article> diff --git a/ru_RU.KOI8-R/articles/mh/Makefile b/ru_RU.KOI8-R/articles/mh/Makefile new file mode 100644 index 0000000000..02bf9fbf4c --- /dev/null +++ b/ru_RU.KOI8-R/articles/mh/Makefile @@ -0,0 +1,20 @@ +# +# $FreeBSD$ +# $FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/mh/Makefile,v 1.1 2001/07/19 10:20:52 phantom Exp $ +# +# Original revision: 1.1 +# + +MAINTAINER= andy@FreeBSD.org.ua + +DOC?= article + +FORMATS?= html + +INSTALL_COMPRESSED?= gz +INSTALL_ONLY_COMPRESSED?= + +SRCS= article.sgml + +DOC_PREFIX?= ${.CURDIR}/../../.. +.include "${DOC_PREFIX}/share/mk/doc.project.mk" diff --git a/ru_RU.KOI8-R/articles/mh/article.sgml b/ru_RU.KOI8-R/articles/mh/article.sgml new file mode 100644 index 0000000000..65e19ed591 --- /dev/null +++ b/ru_RU.KOI8-R/articles/mh/article.sgml @@ -0,0 +1,819 @@ +<!-- + The FreeBSD Russian Documentation Project + + $FreeBSD$ + $FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/mh/article.sgml,v 1.2 2001/07/19 10:20:35 phantom Exp $ + + Original revision: 1.9 +--> + +<!DOCTYPE ARTICLE PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN"> +<article> + <articleinfo> + <title>������� �� MH</title> + + <authorgroup> + <author> + <firstname>Matt</firstname> + + <surname>Midboe</surname> + + <affiliation> + <address> + <email>matt@garply.com</email> + </address> + </affiliation> + </author> + </authorgroup> + + <pubdate>v1.0, 16 ������ 1996</pubdate> + +<!-- + <para>������� �� ������� ����: ������ �������� + (<email>andy@FreeBSD.org</email>)</para> +--> + + <abstract> + <para>� ���� ��������� ������ ������ ������ � MH �� FreeBSD</para> + </abstract> + </articleinfo> + + <sect1 id="mhintro"> + <title>��������</title> + + <para>MH ����� ���� ������� � 1977 ����, � �������� RAND Corporation, ��� + ���� ����������� ������ ������ MH. MH �� �������� ������ ���������� ��� + ������ � ����������� ������, �� �������� � ����, ��� ����� ����� + ������������� ����������� ��� ������ ����������� �����. ������������ MH + ������� ������� ������, ������ ������������� �������� + <acronym>KISS</acronym>: Keep It Simple Stupid. ������ ����, ����� + ����������� ���� ������� ��������� ��� ������, ������� � ��������� + ����������� �����, ��� �������� ����������� ��������� ��� ������� ������ + ����� ������ � ����������� ������. ��������� �������� MH �� ������� + ��� �������������, ������� ����� ������ � �����������. ������ ���������� + � MH ��������� ���� ��������, �� ��������� ��� ����� ������.</para> + + <para>����� ��������� ������������, ������� ����� ������������ ��� + ��������� ����� ����������� �����, MH ��������� ��������� ������ �� + ���������� �������� ������� �� ���� ������������ ������������� � + ���������������� ���� �����. �� ����� ����, ���� �� �� ������ ���������, + ��� ���-�� ������ ��������, � ������ ������ ���� ��������� ��������� + �������, �� �� ������ ���������� ������� � ��������� �����. ������ + ������� MH ����������� � ��������� ���������������� ������ � �������� + ���������� ��������� ������. ��� ������� ����� �������, ��� �� ������ + ������ �������� <option>-help</option> � ������� ��� ������ ����� ���� + �������.</para> + + <para>������ ����� ��� ����� ���������, ��� �� ����� ������ � FreeBSD + ���������� ����� MH. ���� �� ������������� ������� � �������-�����, �� + ��� ��������� mh ������ ��������� ����� �������: + + <informalexample> + <screen> +&prompt.root; <userinput>pkg_add /cdrom/packages/mh-6.8.3.tgz</> + </screen> + </informalexample> + + �� �������, ��� ��� ���� ����� ������ ������� + <filename>/usr/local/lib/mh</filename>, � � ������� + <filename>/usr/local/bin</filename> ����� ��������� ��������� ���������� + ������. ���� �� ������������� ��������������� ��� ��������������, �� + ������ �������� �������� ��� � �������������� ftp-������� �� ������ + <ulink URL="ftp://ftp.ics.uci.edu/">ftp.ics.uci.edu</ulink> ��� <ulink + URL="ftp://louie.udel.edu/">louie.udel.edu</ulink>.</para> + + <para>���� ������� �� �������� ������ � ��������� ��������� ����, ��� + �������� MH. �� ������������ ��� ����, ����� �� ������ ���� ���� �� + ������ � ����� �������� � ������������ ������ ����������� �����. �� + ������ �������� �������� ���������� ������� �� ��������� ��������. ����� + ��� ����� �������������� ��������������� <ulink + URL="news:comp.mail.mh">comp.mail.mh</ulink>. �������� <ulink + URL="http://www.cis.ohio-state.edu/hypertext/faq/usenet/mh-faq/part1/faq.html">FAQ + �� MH</ulink>. ������ ���������� ���������� �� MH �������� ����� + ������������ O'Reilly and Associates, ������� ������� Jerry Peek.</para> + </sect1> + + <sect1> + <title>������ �����</title> + + <para>���� ������ �������� ����, ��� ������������ ������� + <command>inc</command>, <command>show</command>, <command>scan</command>, + <command>next</command>, <command>prev</command>, <command>rmm</command>, + <command>rmf</command> � <command>msgchk</command>. ����� �� ����������� + ������������ MH �������� ������������ ����������� ��������. ��� + ������������� ���� �������� ����� ������� ���� ��������� �����, ��������, + ������ ������� ������� ���������. � ������ ������� + <command>inc</command> ��� �� �����������, �� � ��������� ���� + <command>show</command> ��� ������� �����.</para> + + <para>������ ��������� ����� ����� ��� ���� <parameter>23 20 + 16</parameter>, ��� ����� �������� ��������� 23, 20 � 16. ��� ������ + ������, �� ����� ������ ����� �������� ����, ���� + <parameter>23-30</parameter>, ��� ����� �������� ��� ��������� � 23 �� + 30. �� ������ ����� ��������� ����� � ���� + <parameter>cur:10</parameter>, ��� ����� ����������� �� ������� ��������� + � �� ��������� 9 ���������. ��������� <parameter>cur</parameter>, + <parameter>last</parameter> � <parameter>first</parameter> �������� + ������� �������������, ���������������� ��������, ���������� � ������� + ���������� � �������� �����.</para> + + <sect2 id="inc"> + <title><command>inc</command>, <command>msgchk</command>—������ + ����� ����� ��� �������� �� �������</title> + + <para>���� �� ������ �������� <userinput>inc</userinput> � ������� + <keycap>return</keycap>, �� ������� �������� � MH. ��� ���������� + ������� <command>inc</command> ������ ���, ��� �������� ���� ������� + ������ ��� ������������� �������� MH �� ��������� � �������� �������� + �������� Mail. ���� � ��� ������� �����, ��������� �������, �� ������� + ����� ����� ����������:</para> + + <informalexample> + <screen> + 29 01/15 Doug White Re: Another Failed to boot problem<<On Mon, 15 J + 30 01/16 "Jordan K. Hubbar Re: FBSD 2.1<<> Do you want a library instead of + 31 01/16 Bruce Evans Re: location of bad144 table<<>> >It would appea + 32 01/16 "Jordan K. Hubbar Re: video is up<<> Anyway, mrouted won't run, ev + 33 01/16 Michael Smith Re: FBSD 2.1<<Nate Williams stands accused of sa + </screen> + </informalexample> + + <para>��� �� �� �����, ��� �� ������� ��� ���������� ������� + <command>scan</command> (�������� <xref linkend="scan">). ���� �� + ������ ��������� ������� <command>inc</command> ��� ����������, ��� + �������� ��� ��������� �� ������� ����������� �����, ������� + ��������������� ���.</para> + + <para>������ �������� ��� ��������� ����� ����������� ����� ������������ + �������� POP. MH ����� �������� � ��� ��� ��������� ����� ����������� + �����. ��� ����� �������� ������� <command>inc</command> ��������� + ���������� ��������� ������.</para> + + <informalexample> + <screen> +&prompt.user; <userinput>inc -host mail.pop.org -user <replaceable>username</> -norpop</> + </screen> + </informalexample> + + <para>��� ������ ������� <command>inc</command> �� ���������� � + <parameter>mail.pop.org</parameter> ��� ������� ����� ����������� + �����, � ����� ������� � ���, ��� ���� ��� ������������ � ��� ������� + <replaceable>username</replaceable>. �������� <option>-norpop</option> + ��������� ������� <command>inc</command> �� ������������� �������� POP3 + ��� ������� ����� ����������� �����. � MH ������� ��������� ���������� + �������������� POP. ����� ��� ��������, ��� ��� ������� �� �������� + ��� ������������. ���� � inc �� ������ ��������� ����� ������� + ��������, �����, ��� �������� ������ � ������������ ������� ������, ��� + �������� ��� ������ ������.</para> + + <para>������� <command>msgchk</command> ������������ ��� ��������� + ���������� � ���, ���� �� � ��� ����� �����. <command>msgchk</command> + ������������ �� �� ����� ��������� <option>-host</option> � + <option>-user</option>, ��� � ������� <command>inc</command>.</para> + </sect2> + + <sect2 id="show"> + <title><command>show</command>, <command>next</command> � + <command>prev</command>—����� � ������������ �� ����������� + �����</title> + + <para><command>show</command> ������� ������ � ����� ������� �������� + �����. ��� � <command>inc</command>, ������� <command>show</command> + �����������. ���� �� ������ �������� <userinput>show</userinput> � + ������� <keycap>return</keycap>, �� ��� ������ ������� ���������. �� + ������ ����� ������� ���������� ������ ��������� ���������:</para> + + <informalexample> + <screen>&prompt.user; <userinput>show 32 45 56</></screen> + </informalexample> + + <para>�� ���� ������� ��������� ��������� � �������� 32, 45 � 56 ���� �� + ������. ���� �� �� ��������� �������� �� ���������, ������� + <command>show</command> � �������� ��������� ������� + <command>more</command> ��� ���������� ����������� �����.</para> + + <para><command>next</command> ������������ ��� �������� � ���������� + ���������, � <command>prev</command> ��� �������� � ����������� + ���������. ��� ������� ������������� ���������� ������� + <command>show</command>, ������� ��� �������� � ���������� ��������� + ��� ����� ������������� �������� �� �����.</para> + </sect2> + + <sect2 id="scan"> + <title><command>scan</command>—������������ ����� ���������</title> + + <para><command>scan</command> ������ ������� ������ ��������� � ����� + ������� �������� �����. ��� ������ ����, ��� ��� ������ ������� + <command>scan</command>.</para> + + <informalexample> + <screen> + 30+ 01/16 "Jordan K. Hubbar Re: FBSD 2.1<<> Do you want a library instead of + 31 01/16 Bruce Evans Re: location of bad144 table<<>> >It would appea + 32 01/16 "Jordan K. Hubbar Re: video is up<<> Anyway, mrouted won't run, ev + 33 01/16 Michael Smith Re: FBSD 2.1<<Nate Williams stands accused of sa + </screen> + </informalexample> + + <para>��� � ����������� ��� � MH, ���� ����� ����� ���������. ��� + ������� ������ ������ �� ���������. � ��� ������ ����� ���������, + ����, �����������, ������ ���� � �������� ������ ������, ���� �� + ����������. ���� <literal>+</literal> ��������, ��� ������ ��������� + �������� �������, ��� ��� ��� ���������� ������� + <command>show</command> ����� ������ ������ ��� ���������.</para> + + <para>����� �� �������� ���������� ��� ������� scan �������� �������� + <option>-reverse</option>. ��� ���� ���� ��������� ����� ���������� � + �������, ��� ������� ��������� � ����������� �������� ������� �������, + � ��������� � �������� �������� ����������. ������ �������� ���������� + ��� <command>scan</command> �������� ������ �� �����. ���� �� ������ + �������������� �������� ���� � �������� ������ �� FreeBSD ��� + ������������� ������� <command>inc</command>, �� ��� ����� ������� + �������� <command>scan -file + /var/mail/<replaceable>username</replaceable></command>. ��� ����� + ������� � ����� ������ � ������� <database>mbox</database>.</para> + </sect2> + + <sect2 id="rmm"> + <title><command>rmm</command> � <command>rmf</command>—�������� + �������� ��������� ��� ��������� �����</title> + + <para><command>rmm</command> ������������ ��� �������� ��������� + ���������. �� ��������� ������ ��������� �� ����� ���� �� ���������, + � ����������������� � ������������ ��������� MH. ��� ����� + ������������ ������������� ��������� � ��������� ������� + <quote>���������</quote> ���������.</para> + + <para>������� <command>rmf</command> ������������ ��� �������� �������� + ������. ��� �� ��������������� �����, � ������������� �� ������� � + �����, ��� ��� ��� ������������� ���� ������� ��� ����� ���� + �������������.</para> + </sect2> + + <sect2 id="samplereading"> + <title>�������� ����� ������ � �������������� MH</title> + + <para>������� ��� ����� �������� ����� ����� �������� + <command>inc</command>. ��� ��� � ��������� ������ �������� + <command>inc</command> � ������� <keycap>return</keycap>.</para> + + <informalexample> + <screen> +&prompt.user; <userinput>inc</> +Incorporating new mail into inbox... + + 36+ 01/19 "Stephen L. Lange Request...<<Please remove me as contact for pind + 37 01/19 Matt Thomas Re: kern/950: Two PCI bridge chips fail (multipl + 38 01/19 "Amancio Hasty Jr Re: FreeBSD and VAT<<>>> Bill Fenner said: > In +&prompt.user; + </screen> + </informalexample> + + <para>��� ���� �������� ���� ����� ����������� �����, ������� ���� + ��������� � ��� �������� ����. ��� ��� ���������� ���������� ����� + ����� ��������� �� ������� <command>show</command> � ������� �� + ��������� � ���������.</para> + + <informalexample> + <screen> +&prompt.user; <userinput>show</> +Received: by sashimi.wwa.com (Smail3.1.29.1 #2) + id m0tdMZ2-001W2UC; Fri, 19 Jan 96 13:33 CST +Date: Fri, 19 Jan 1996 13:33:31 -0600 (CST) +From: "Stephen L. Lange" <stvlange@wwa.com> +To: matt@garply.com +Subject: Request... +Message-Id: <Pine.BSD.3.91.960119133211.824A-100000@sashimi.wwa.com> +Mime-Version: 1.0 +Content-Type: TEXT/PLAIN; charset=US-ASCII + + +Please remove me as contact for pindat.com + +&prompt.user; <userinput>rmm</> +&prompt.user; <userinput>next</> +Received: from localhost (localhost [127.0.0.1]) by whydos.lkg.dec.com (8.6.11/8 +.6.9) with SMTP id RAA24416; Fri, 19 Jan 1996 17:56:48 GMT +Message-Id: <199601191756.RAA24416@whydos.lkg.dec.com> +X-Authentication-Warning: whydos.lkg.dec.com: Host localhost didn't use HELO pro +tocol +To: hsu@clinet.fi +Cc: hackers@FreeBSD.org +Subject: Re: kern/950: Two PCI bridge chips fail (multiple multiport ethernet + boards) +In-Reply-To: Your message of "Fri, 19 Jan 1996 00:18:36 +0100." + <199601182318.AA11772@Sysiphos> +X-Mailer: exmh version 1.5omega 10/6/94 +Date: Fri, 19 Jan 1996 17:56:40 +0000 +From: Matt Thomas <matt@lkg.dec.com> +Sender: owner-hackers@FreeBSD.org +Precedence: bulk + + +This is due to a typo in pcireg.h (to +which I am probably the guilty party). + </screen> + </informalexample> + + <para>�� ������� <command>rmm</command> ���� ������� ������� ���������, � + �� ������� <command>next</command> ��� �������� ������� � ���������� + ���������. ������, ���� � ������ ����������� ������ ��������� + ��������� ��� ������ ������ �� ���, � ������ ������� ���������:</para> + + <informalexample> + <screen> +&prompt.user; <userinput>scan last:10</> + 26 01/16 maddy Re: Testing some stuff<<yeah, well, Trinity has + 27 01/17 Automatic digest NET-HAPPENINGS Digest - 16 Jan 1996 to 17 Jan 19 + 28 01/17 Evans A Criswell Re: Hey dude<<>From matt@tempest.garply.com Tue + 29 01/16 Karl Heuer need configure/make volunteers<<The FSF is looki + 30 01/18 Paul Stephanouk Re: [alt.religion.scientology] Raw Meat (humor)< + 31 01/18 Bill Lenherr Re: Linux NIS Solaris<<--- On Thu, 18 Jan 1996 1 + 34 01/19 John Fieber Re: Stuff for the email section?<<On Fri, 19 Jan + 35 01/19 support@foo.garpl [garply.com #1138] parlor<<Hello. This is the Ne + 37+ 01/19 Matt Thomas Re: kern/950: Two PCI bridge chips fail (multipl + 38 01/19 "Amancio Hasty Jr Re: FreeBSD and VAT<<>>> Bill Fenner said: > In +&prompt.user; + </screen> + </informalexample> + + <para>������, ���� � ���� �������� ��������� ����� 27, � �������� ������� + <userinput>show 27</userinput>, � ��������� ����� ��������. ��� �� + ������ ������ �� ������� ����� �������� ������ ������, MH ������ ����� + � �������������, � �������� ����������� ����� � �� ����� ���������� � + �����.</para> + </sect2> + </sect1> + + <sect1> + <title>����� � ����� �����</title> + + <para>������, ��� �������� ����� ����������� �����, ����������� ��������� + �����������, ��������, ������� � ���������� ���� ����������� ����� + ���������� ���������. MH ����� ������ ��� �����, ��� �����-���� ������ + ����������. �� ���� ��� �� ��������� ��������� �����. ����������, �� + ��� ����������� � ������� ��� ������������� ������ �������� ��������. � + MH ����� ������������ �����. MH ����� ���� ��������� � ������ ��������� + � ��� �����. ��� ������ � MH �� ������ �������, ��� ��� ������� ������� + <command>inc</command> ������ ��� ��� ����������� �������� �������� + <filename>Mail</filename> � �������� ��������� ��� � ���� ��������. ���� + �� ���������� �� ���������� ����� ��������, �� ���������� ��� ������� � + ������ <filename>inbox</filename>. � ���� �������� ��������� ��� ���� + �������� �����, ������� �� ���� ��� ������ ����������.</para> + + <para>��� �������� ����� ����� � �������� ��������� MH + <filename>Mail</filename> ����� ������ ����� �������, � ��������� ���� + ����� ����� ����������� � ���� ��������. ����� �������� ����� + ����������� �����, �� ��� ����������� � �������� + <filename>inbox</filename> � ����� � ������, ��������������� ������ + ���������. �������, ���� ���� � ��� ��� �� ������ ����������� MH ��� + ������ ����� ����������� �����, �� ������ ���������� ������������ + ����������� ������� UNIX ��� ������ � ����� ���������� � ��������� ����� + ������. ����� ���������� ������ �� ����� ���� ���� ��� ������� ��� + ��������, ������� �� ������ ��������� ��� ����� ����������� + ������.</para> + + <para>��� ��, ��� �� ������ ������������ ������ ��������� ���� + <parameter>23 16 42</parameter> � ������������ ������ MH, ������� ����� + � ��� �����, ������� �� ������ ������ ����������� � ������ �������� MH. + ���� �� ���������� ������� <command>scan +freebsd</command>, ��� ����� + ����������� ���� ����� <filename>freebsd</filename>, � ���� ������� ����� + ����� �������� �� <filename>freebsd</filename>. ��� ���������� ������� + <command>show +freebsd 23 16 42</command>, <command>show</command> + �������� � ����� ����� <filename>freebsd</filename> � ������� ��������� + 23, 16 � 42. ������� ��������� ���� ��������� + <option>+<replaceable>folder</replaceable></option>. ��� ����� + ������������ ����� ������� ��� ������ � ������� �������. �������, ��� + ����� ������ ��� ����� �� ��������� �������� <filename>inbox</filename>, + ��� ��� ���������� ������� <command>folder +inbox</command> ������ ������ + ������� ��� ������� � ����� �����. �������, � ����������� ��������� MH + ����� ��������� ����� ���� ��������, �� � ����������� ������� ����� + �������� ����� <command>inbox</command>.</para> + + <sect2> + <title><command>pick</command>—����� ����� �� ���������� + ��������</title> + + <para>������� <command>pick</command> �������� ����� �� ����� ������� + ������ � ������� MH. ��� ��� ��� ����� ������������ �������� + ���������� �� + <citerefentry><refentrytitle>pick</refentrytitle><manvolnum>1</manvolnum></citerefentry> + ��� ��� ����� ������� ���������. � ���������� ������ �� ������ ������ + ����� ����� ����������:</para> + + <informalexample> + <screen> +&prompt.user; <userinput>pick -search pci</> +15 +42 +55 +56 +57 + </screen> + </informalexample> + + <para>������� <command>pick</command> ����� ������� �� �������� ������ + ������ ���� ��������� � ������� ����� � ������ ������� ��� ���������, + � ������� ���� ������� ����� <literal>pci</literal>. ����� �� ������� + <command>show</command> �� ������ ������� ��� ��������� � �������� �� + ��� ������� �������� <command>rmm</command>. ��� ����� ������ ������� + ���� <command>show 15 42 55-57</command> ��� �� ������. ����� �������� + ������� ���������:</para> + + <informalexample> + <screen> +&prompt.user; <userinput>pick -search pci -seq pick</> +5 hits +&prompt.user; <userinput>show pick</> + </screen> + </informalexample> + + <para>��� ���� ����� �������� �� �� ����� ���������, �� ��� �� �������� + ������� �� ��� ������� ������. �������� <option>-seq</option> �� ����� + ���� �������� ����������� ��������� ��� <option>-sequence</option>, � + <command>pick</command> �������� ������ ������������������, ������� + �������� ������ ���������, ������� ������������� ��������� �������. �� + ������ ������������ ������������������ ����������� � ���� �������� MH. + ��� ��� �� ������ ��������� ������� <command>rmm pick</command>, � ��� + ��� ��������� ����� �������. �� ������ ��������� ������������������ + ��� ������. ���� �� ����� ��������� ������� pick, �� ��� ����������� + ������ ������������������, ���� �� ����������� �� �� ����� ���.</para> + + <para>���������� ������� <command>pick -search</command> ����� ��������� + ����� ���������� ���������, ��� ������ ����� ��������� �� ����-�� ��� + ��� ����-��. ������� <command>pick</command> ��������� ��� + ������������ ����� ���������������� �������� ������:</para> + + <variablelist> + <varlistentry> + <term><option>-to</option></term> + + <listitem> + <para>����� �� �������� ���������</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><option>-cc</option></term> + + <listitem> + <para>����� �� ����������� cc-������</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><option>-from</option></term> + + <listitem> + <para>����� �� ����, �� ���� ������� ���������</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><option>-subject</option></term> + + <listitem> + <para>����� ����������� ����� � �������� ����� ������</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><option>-date</option></term> + + <listitem> + <para>����� ����������� ����� � ��������� �����</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><option>--<replaceable>component</replaceable></option></term> + + <listitem> + <para>����� �� ������ ������� ���������� ��������� ������. (�� ���� + <option>--reply-to</option> ��� ������ ���� ����������� ����� � + ������������� ��������� ���� reply-to � ���������)</para> + </listitem> + </varlistentry> + </variablelist> + + <para>��� ��������� ��� ��������� �������� ���� + + <informalexample> + <screen> +&prompt.user; <userinput>pick -to freebsd-hackers@FreeBSD.org -seq hackers</> + </screen> + </informalexample> + + ��� ��������� ������ ���� ����������� �����, ��������� � ������ + �������� FreeBSD hackers. ������� <command>pick</command> ����� + ��������� ��� ������������ ��� �������� ���������� ��������� ��� ������ + ��������� ����������:</para> + + <itemizedlist> + <listitem> + <para>… <option>-and</option> …</para> + </listitem> + + <listitem> + <para>… <option>-or</option> &hellip</para> + </listitem> + + <listitem> + <para><option>-not</option> …</para> + </listitem> + + <listitem> + <para><option>-lbrace</option> … + <option>-rbrace</option></para> + </listitem> + </itemizedlist> + + <para>��� ������� ��������� ��� ��������� ���������</para> + + <informalexample> + <screen>&prompt.user; <userinput>pick -to freebsd-hackers -and -cc freebsd-hackers</> + </screen> + </informalexample> + + <para>��� ���� ����� ����� ��� ����� � ����� �������� �������� �����, + ������� ���� ������� �� ������ freebsd-hackers ��� ���� ����� + ������������� � cc-������. ��������� brace ��������� ��� ������������ + �������� ������. ������ ��� ����� �����, ��� � ��������� + �������</para> + + <informalexample> + <screen>&prompt.user; <userinput>pick -lbrace -to freebsd-hackers -and + -not -cc freebsd-questions -rbrace -and -subject pci</> + </screen> + </informalexample> + + <para>� �����, ��� �������� <quote>������� (�� freebsd-hackers � �� + � cc-������ ��� freebsd-questions) � ����� pci</quote>. �� ���� + ������� ������ ���� ����������� ���� ����� � ������� ��� ���������, + ��������� � ������ freebsd-hackers, ������� �� ���� ����� �������� � + cc-������ ��� freebsd-questions, � � ������ ���� ������� �������������� + ���������� pci. ������ ��� ����� ���������� � ���, ��� ���������� + �������� ���������� ����������. �������, ��� ��� ���������� �������� + �������������� ��������� �� �������� ����� ������� � ������� �������� + � ������, � ������ ����� ���������� � ��������? � MH ������������ + ��� �� ����� ������ ��� ������� <command>pick</command>. �� ���������� + ������, ��� ��� ��� ����� ����� ������� ���������� ��������. ���� + �������� ������ �������� � MH.</para> + </sect2> + + <sect2> + <title><command>folder</command>, <command>folders</command>, + <command>refile</command>—��� �������� ��������� ��� ���������� + �������</title> + + <para>������� ��� ���������, ������� ������������� ������ ��� ���������� + ������ �������. ��������� <command>folder</command> ������������ ��� + ������������ ����� �������, �� ������ � ������ �� ������. � ����� + ������� ������ �� ������ ��������� ������� <command>folder + +<replaceable>newfolder</replaceable></command>, � �� ������������� �� + ����� <replaceable>newfolder</replaceable>. � ����� ������� ��� ���� + ������� MH ���� <command>comp</command>, <command>repl</command>, + <command>scan</command> � <command>show</command> ����� ����������� ��� + ���� ������ <command>newfolder</command>.</para> + + <para>������ ��� ������ � �������� ��������� � ����� ������ ���������� + <quote>holes</quote>. ���� �� ��������� ������� + <command>scan</command>, �� ������ ������� ������ ��������� 34, 35, 36, + 43, 55, 56, 57, 80. ���� �� ��������� ������� + <command>folder -pack</command>, �� ��� ������������ ��� ���� + ���������, ��� ��� ��� �� ����� ���. ������ ��� �� ������� ������� + ���������. ��� ��� ��� ����� ������������ ������������ ������������� + � ��������� ������� <command>rmm</command>-���������.</para> + + <para>���� ��� ����� ���������� � ����� ������, �� ������ �������� �� + ��������� <command>folders</command> ��� + <command>folder -all</command>, ������� ������� ������ ���� ����� + �����, ���������� ���������� � ��� ���������, ����� �������� ��������� + � ������ �����, � ��� �����. ����� ������ ����������, ������� ������� + ��� ������� ��� ���� �����, ����� ��� �� ����� ���, ��� �� ��������� + ��� ����� ����� �� ������� <command>folder +foldername</command>. + ��������� ���������� ������� <command>folders</command> �������� + �������� ���:</para> + + <informalexample> + <screen> Folder # of messages ( range ); cur msg (other files) + announce has 1 message ( 1- 1). + drafts has no messages. + f-hackers has 43 messages ( 1- 43). + f-questions has 16 messages ( 1- 16). + inbox+ has 35 messages ( 1- 38); cur= 37. + lists has 8 messages ( 1- 8). + netfuture has 1 message ( 1- 1). + out has 31 messages ( 1- 31). + personal has 6 messages ( 1- 6). + todo has 58 messages ( 1- 58); cur= 1. + + TOTAL= 199 messages in 13 folders. + </screen> + </informalexample> + + <para>������� <command>refile</command> ����� ������������ ��� + ����������� ��������� ����� �������. ����� �� ���������� ������� ���� + <command>refile 23 +netfuture</command>, �� ��������� ����� 23 + ������������ � ����� <filename>netfuture</filename>. �� ������ ����� + ��������� ������� ���� <command>refile 23 +netfuture/latest</command>, + ������� �������� ��������� ����� 23 � ����� � ������ + <filename>latest</filename>, ��������� � ����� + <filename>netfuture</filename>. ���� �� ������ ��������� ��������� + � ������� ����� � ������� ���, �� ������ ��������� ������� + <command>refile -link 23 +netfuture</command>, ������� ������� 23 + � ����� ������� ����� <filename>inbox</filename>, �� ����� � � ����� + ����� <filename>netfuture</filename>. ��������, �� ��� ������ + ��������, ����� �� ���������� ������ �������� �� ������ ��������� � + MH.</para> + </sect2> + </sect1> + + <sect1> + <title>������� �����</title> + + <para>����������� ����� ��� ����������� ����� �������� ������ � ��������� � + ��� ����, ��� ��� �� ������ �������� ������� ���-�� �������. ������, + ����� MH ��������� ������� �����, ����� ������� ���������� ������� ��� + �������������, �� �� ������������ ������������ ��������. ������� MH + �������� ���� ����������� � ��������� ����������� �����. ���� + ����������� � �������� ������������ ����� ������ ����������� ������ � ��� + ����������� ���� ����������� To: � Subject:. ����� �� ����������� � + ��������� �������, � ������� �� ���������� ���������� ���������� � + ��������� ���� ������ ���� �������������� �����. ����� ���������� + ��������� <command>whatnow</command>. �������� � ����������� + <prompt>What now?</prompt>, �� ������ ������� ���� �� �������� + <command>send</command>, <command>list</command>, + <command>edit</command>, <command>edit</command>, + <command>push</command> ��� <command>quit</command>. ����������� ���� + ������ ������� ���� �� ����. ����, ������� ������� ��������� �������� + ����������� ����� ���������, �������������� ����� ����������� ����� � + �������� ��������� <command>whatnow</command> ��������, ������� ����� + ������� � ����� ����������� ������.</para> + + <sect2> + <title><command>comp</command>, <command>forw</command>, + <command>reply</command>—��������, ��������� ��� ����� �� + ���-���� ���������</title> + + <para>��������� <command>comp</command> ����� ��������� �������� + ���������� ��������� ������. ����� ������ ������ �������� ����� + <option>-editor</option>. ��� ��������� MH ������������ �� ��������� + ���������� ������ ���������� ��������� <command>prompter</command>, + ������������ � MH. ��� �� ����� ��������������� ��������, �� ������ + ������ ��, ��� ������ ������. ��� ��� ����� �� ����������� �������� + ����-���� ������, �� ������ ��������������� ��������� + <command>comp -editor /usr/bin/vi/</command> ��� <command>comp -editor + /usr/local/bin/pico/</command>. ����� ������� + <emphasis>comp</emphasis> �� ������������ � ����� ��������� � ������ + ����� ����� ����������:</para> + + <informalexample> + <screen>To: +cc: +Subject: +-------- + </screen> + </informalexample> + + <para>��� ����� ������� �������, ������� �� ��������� �����, ����� ������ + <literal>To:</literal>. �� �� ����� ��������� � � ��������� + ����������, ��� ��� ��� ����� ����� ������� ���� ������ ����� ������ + <literal>Subject:</literal>. ����� ��� ������ ����� ������� ���� + ������ ����� �������������� ������. ��� ����� ���������� ��������� + ����������, ��� ��� ������ �������� ��������� ����� ����������� + ���������, ������� ����������� � ��� ��� ����������, �� ������������� � + ���� ���. ���� ��� �� ����� ���� ���� ��� �������������� + ��������.</para> + + <informalexample> + <screen>To:<userinput>freebsd-rave@FreeBSD.org</> +cc: +Subject:<userinput>And on the 8th day God created the FreeBSD core team</> +-------- +<userinput>Wow this is an amazing operating system. Thanks!</> + </screen> + </informalexample> + + <para>������ �� ������ ��������� ��� ��������� � ����� �� ���������. �� + ������� ����������� <prompt>What now?</prompt> � ����� ������ ������� + <userinput>send</userinput> ��� <userinput>s</userinput> � ������ + <keycap>return</keycap>. ����� ����� �������� ������ ������������� + FreeBSD ������� ���� ����� ����������. ��� � ������� ����, �� ������ + ����� ��������������� ������� ���������, ��������, + <command>quit</command>, ���� �� ������ �������� ���������.</para> + + <para>������� <command>forw</command> ����������� ������. ������� + �������� �������� ��, ��� ���������, ������� �� �����������, + ������������� ���������� � ��������� ���������. ����� �� ���������� + ������� <command>forw</command>, ��� ����� ���������� ���� ������� + ���������. �� ������ ������ ������� �� ��������� ������� ���������, + �������� ������� <command>forw 23</command>, ����� ���� � ��������� + ��������� ����� �������� ��������� ����� 23, � �� ������� ���������. + ����� ���� ��������� ��������, ������� <command>forw</command> �������� + ��������� ��� ��, ��� <command>comp</command>. �� ��������� ����� + � �������� ����� �� ������� ������� ���������.</para> + + <para>�� ������� <command>repl</command> ����� �������� ����� �� ������� + ���������, ���� ������ �� �� ������� ������ ����� ���������. ������� + <command>repl</command> �������� ��� ������, ����� �������� ������ � + ��������� ��������� ��������� ��������� ���������. ������� �� + ��������, ��� � ��������� <literal>To:</literal> ��� ������������ + ����� ����������. ����� ��� ����� ��������� ������ + <literal>Subject:</literal>. ����� �� ��������� ������� ������� + ��������� ��������� � �� ���� ��� �����������. ����� ������� ����� � + ��������� ��������� ������ <option>-cc</option>. �� ������ + ������������ ��������� <parameter>all</parameter>, + <parameter>to</parameter>, <parameter>cc</parameter> � + <parameter>me</parameter> ����� <option>-cc</option> ��� ����, ����� + <command>repl</command> ������������� �������� ��������� ������ � + cc-������ ���������. ��, ��������, ��������, ��� �������� ��������� + �� ����� ����������. ��� ����������, ������ ��� � ����������� �������� + MH ��� ������� ����������.</para> + </sect2> + + <sect2> + <title>����� <filename>components</filename> � + <filename>replcomps</filename>—����� ��������� ��� ������ + <command>comp</command> � <command>repl</command></title> + + <para>���� <filename>components</filename> ������ ������������� � + �������� <filename>/usr/local/lib/mh</filename>. �� ������ ����������� + ���� ���� � ��� ������� Mail ��� MH � ��������������� ��� ���, ����� �� + �������� ��, ��� �� ������. ��� ���������� ������� ����. � ������ + ����� ����������� ��������� �������� ���������, �������������� ������ + � ������ ������. ������� <command>comp</command> ������ �������� ���� + ���� <filename>components</filename> � ����� ����������� ���. �� + ������ �������� ����� ��������������� ��������� RFC822 ���������. + ��������, � ����� ����� <filename>components</filename> �� ������ + ��������� ���������:</para> + + <informalexample> + <screen> +To: +Fcc: out +Subject: +X-Mailer: MH 6.8.3 +X-Home-Page: http://www.FreeBSD.org/ +------- + </screen> + </informalexample> + + <para>����� MH ����� ���������� ���� ���� ����������� � �������� ��� � + ��� ��������. ���� <filename>components</filename> ������ �����. ���� + �� ������ � ���������� ����� �������, ������ ��������� ���� ������� � + ���� ���� <filename>components</filename>.</para> + + <para>���� <filename>replcomps</filename> ��������� ����� ������. �� + ��������� <filename>replcomps</filename> ����� ����� ���:</para> + + <informalexample> + <screen> +%(lit)%(formataddr %<{reply-to}%?{from}%?{sender}%?{return-path}%>)\ +%<(nonnull)%(void(width))%(putaddr To: )\n%>\ +%(lit)%(formataddr{to})%(formataddr{cc})%(formataddr(me))\ +%<(nonnull)%(void(width))%(putaddr cc: )\n%>\ +%<{fcc}Fcc: %{fcc}\n%>\ +%<{subject}Subject: Re: %{subject}\n%>\ +%<{date}In-reply-to: Your message of "\ +%<(nodate{date})%{date}%|%(pretty{date})%>."%<{message-id} + %{message-id}%>\n%>\ +-------- + </screen> + </informalexample> + + <para>�� ����� ����� �� ������� ������, ��� � ���� + <filename>components</filename>, �� �������� ��������� �������������� + ������������� �����. ������� <literal>%(lit)</literal> ����������� + ����� ��� ������. <literal>%(formataddr</literal> �������� ��������, + ������� ���������� ������ ����� ����������� �����. ��������� ������ + �������� <literal>%<</literal>, ������� �������� ������� ���� � + <literal>{reply-to}</literal> ������������� ���� reply-to ��������� + ���������. ����� �������, ��� ����� ���� ������������������� + ��������� �������:</para> + + <informalexample> + <screen> +%<<emphasis remap=bf>if</emphasis> {reply-to} +<emphasis remap=bf>� �������� ��������� ������� ���� reply-to</emphasis> +�� �������� ��� � formataddr, %? <emphasis remap=bf>else</emphasis> {from} +<emphasis remap=bf>����� ����� from</emphasis>, +%? <emphasis remap=bf>else</emphasis> {sender} +<emphasis remap=bf>����� ����� sender</emphasis>, %? +<emphasis remap=bf>else</emphasis> {return-path} +<emphasis remap=bf>����� return-path �� ��������� ���������</emphasis>, +%> <emphasis remap=bf>endif</emphasis>. + </screen> + </informalexample> + + <para>��� �� ������ ������, �������������� MH ����� ���� ���������� + �������. �� ������ ��������, ��� ������ ��������� ������� � + ����������. ��� ���������� �� ��������� ����� � ����� ������� + ��������� � ���������� �������� �� MH. ������������� ������� ����� + ��������� ��, ��� �������� ������ ����������� ���� + <filename>replcomps</filename>, ��� �� ����� ������ ��� �������. �� + ���� ������ �������� ��������� �� ���� ��� ��� ���� � ��������, ��� + ���� ��� MH.</para> + </sect2> + </sect1> +</article> diff --git a/ru_RU.KOI8-R/articles/solid-state/Makefile b/ru_RU.KOI8-R/articles/solid-state/Makefile new file mode 100644 index 0000000000..85b0cb3a94 --- /dev/null +++ b/ru_RU.KOI8-R/articles/solid-state/Makefile @@ -0,0 +1,26 @@ +# +# $FreeBSD$ +# $FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/solid-state/Makefile,v 1.2 2001/07/25 10:26:33 phantom Exp $ +# +# Original revision: 1.1 +# + +MAINTAINER=andy@FreeBSD.org.ua + +DOC?= article + +FORMATS?= html + +INSTALL_COMPRESSED?= gz +INSTALL_ONLY_COMPRESSED?= + +# +# SRCS lists the individual SGML files that make up the document. Changes +# to any of these files will force a rebuild +# + +# SGML content +SRCS= article.sgml + +DOC_PREFIX?= ${.CURDIR}/../../.. +.include "${DOC_PREFIX}/share/mk/doc.project.mk" diff --git a/ru_RU.KOI8-R/articles/solid-state/article.sgml b/ru_RU.KOI8-R/articles/solid-state/article.sgml new file mode 100644 index 0000000000..b1e1bc06b1 --- /dev/null +++ b/ru_RU.KOI8-R/articles/solid-state/article.sgml @@ -0,0 +1,693 @@ +<!-- + Copyright (c) 2001 The FreeBSD Documentation Project + + Redistribution and use in source (SGML DocBook) and 'compiled' forms + (SGML, HTML, PDF, PostScript, RTF and so forth) with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code (SGML DocBook) must retain the above + copyright notice, this list of conditions and the following + disclaimer as the first lines of this file unmodified. + + 2. Redistributions in compiled form (transformed to other DTDs, + converted to PDF, PostScript, RTF and other formats) must reproduce + the above copyright notice, this list of conditions and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + + THIS DOCUMENTATION IS PROVIDED BY THE FREEBSD DOCUMENTATION PROJECT "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, + THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL NIK CLAYTON BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN + ANY WAY OUT OF THE USE OF THIS DOCUMENTATION, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + The FreeBSD Russian Documentation Project + + $FreeBSD$ + $FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/solid-state/article.sgml,v 1.3 2001/07/01 16:56:58 phantom Exp $ + + Original revision: 1.1 +--> + +<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [ +<!ENTITY % man PUBLIC "-//FreeBSD//ENTITIES DocBook Manual Page Entities//EN"> +%man; +<!ENTITY legalnotice SYSTEM "../../share/sgml/legalnotice.sgml"> +]> + +<article> + <articleinfo> + <title>FreeBSD � ������������� ����������</title> + + <authorgroup> + <author> + <firstname>John</firstname> + <surname>Kozubik</surname> + + <affiliation> + <address><email>john@kozubik.com</email></address> + </affiliation> + </author> + </authorgroup> + + <pubdate>$FreeBSD: doc/en_US.ISO8859-1/articles/solid-state/article.sgml,v 1.1 2001/06/20 16:12:33 nik Exp $</pubdate> + + <copyright> + <year>2001</year> + <holder>The FreeBSD Documentation Project</holder> + </copyright> + + &legalnotice; + + <abstract> + <para>� ���� ������ ����������� ������������� ������������� �������� + ��������� ��� �������� ������������ ������ �� ������ FreeBSD.</para> + + <para>������������ ������� ����� ������������ � ���������� ���������� + �� ������� ���������� � ��� ���������� ������ (������� ������). ������ + ������� ������� �� ��������, ��� �������, ��� �������, �������� ����� + ����� �������� ������������ � ������������ ����� ������������� + ����������.</para> + + <para>� �������� ��������������� �������� ��������� ���� � �������������� + ������������� ���������, ���������� ��� ������������� � �������� ������ + �� FreeBSD, ��������� ����, ������� ������������ ������� � ����� + ��������, ��������� <filename>rc.diskless</filename>, ���������������� + ������������� ����� ������ � ��������������� ����������� �������� + ������, ��������� ������ ��� ������, � ����� ���������� �������� ������ + � ����. ������ ������������� ��������� ��������� ����� ��������� ��� + ������� ����� ������ FreeBSD � ����� � ������ ������ ��� ������.</para> + </abstract> + </articleinfo> + + <sect1 id="intro"> + <title>������������� �������� ����������</title> + + <para>��� ������ ����� �������������� ������������� ������������� �������� + ���������, ������� �������� �� ������ ����-������. ����-������ �������� + ������������� (����� ��� ���������� ������) ������������ �����������, + ������� �������� ����������������� (������ �������� � ������ ���� ����� + ���������� ���� ���������� �������). ����-������ ����� ���� + ���������������� � ������� ���������� ������������ � ���������� ������ + (������� �� ������ ����-������, ����������� � ���� ������, ������� + ���������, ��� ����� EIDE ��� �������� ������, � ������� ������� �� � + ������ ���������� �������� ������). ����� �� ����� ������ ������� + ����-������, ��������� �������� �������� ����� ����������� ����� � ���� + ������, �������� ��, ��� ������ ������ ����� ������������ ����������� �� + ���������������. �� ������ ������ ����������, ������� � ����� ���������� + �� ������ ����-������ ������������ ���������� ��� �� ����, ��� ������ + ������ ��������� �����������������. ���� ������ �������� �� ������ + ����-������ ������������� �������������� ����������� �����, � ��������� + ���� ������������ �������� ������ �� ����� ������, ������ �������� + ������� ����������� �� ���������� �������� ������, ������� ����� + ����������� � �����������. ����������� ������ ����� �������������� �� + 1,000,000 �� 10,000,000 ������ ������ �� ������. ��� �������������� + ����� �������� �� ����������� ������� �����.</para> + + <para>� ���������, �� ������� ���������� ������ ����-������, ����������� �� + ���������� ATA � ������ ����-������ Disk-On-Chip �������� M-Systems. + ����������� � ATA ���������� ����-����� ������ ��������� � �������� + �������� ������ ��� �������� �����. ������ ������� ������������ ��� + ����, ��� ��� ������������� ���� IDE �� ��������� � ���������� � ������� + ������ ATA. ����� �������, ��� ������ ����� �������� � �������� �������� + ����� ���������� ����� ������������ ��������������� � ���� IDE + ����������. ���� ��������� ���� �������, �� ����� ������������ �������, + ��� FreeBSD, ���������� ���� ��� ������� ��������� (������ ���������). + ������� M-Systems Disk-On-Chip ������� �� ��� �� ����� ���������� + ����-������, ��� � ����������� � ATA ���������� ����-�����, �� ���������� + ����-�������� DIP � �� ���������� � ATA. ��� ������������� ������ + ����������, �� �� ������ ������ ���������� ��� �� ����������� ����� � + �������� Disk-On-Chip, �� ����� �������� ������� `fla` �� ��� ���� + FreeBSD, � �������� ������ ��� ������������. ����� ����, � ����������� + ������� ����� ���������� ��������� ��������� ������, ��� ��� �� �� ������ + ������������� ��������� FreeBSD (� ������ �����-���� ������ ���������) + ��� ��� �������������.</para> + + <para>���������� � ������ ������� ��� ������������� ������, �� �� + ���������, ������������ � ������������� ��������� ������������� ������� + �� �� ����� ���� ������.</para> + </sect1> + + <sect1 id="kernel"> + <title>��������� ����</title> + + <para>��� ���. ��� ������� ������������ ������� FreeBSD, ������� + ������������ ��������� ���������� ����.</para> + + <para>��-������, ��� ������������ ������� FreeBSD, ������� ���������� + ����-������ � �������� ���������� �����, �������������� � ������������� + ������ � ������ � �������� ������ � ������. ��-�� ������������� + ���������� ������ ������, ������� ����� ��������� � ����-�������, ���� + � �������� ������� �� ��� �����, ������ �����, ������������� � ������ + ������� ������ ��� ������. � ����� ������ �������� ������� ���� + <filename>/tmp</filename> � <filename>/var</filename> ����������� ��� + �������� ������� � ������ ��� ����, ����� ��������� ������� ������� + ������� � �������� �������� � ��������� �����. �������� ������� � ������ + �������� ����������� ����������� �������� ������ FreeBSD �� ������������� + �����������.</para> + + <para>�� ������ ��������������, ��� � ���������������� ����� ������ ���� + ������������ ��������� ������:</para> + + <programlisting> +options MFS # Memory Filesystem +options MD_ROOT # md device usable as a potential root device +pseudo-device md # memory disk + </programlisting> + + <para>��-������, ���� �� ������ ������������ ������� M-Systems + Disk-On-Chip, �� ������ ����� �������� ����� ������:</para> + + <programlisting>device fla0 at isa?</programlisting> + </sect1> + + <sect1 id="ro-fs"> + <title><filename>rc.diskless</filename> �������� ������� � ������ ������ + ������</title> + + <para>������������� ������������ ������� FreeBSD ����� �������� ����������� + <filename>/etc/rc.diskless2</filename> + (<filename>/etc/rc.diskless1</filename> ��� ����������� �������� + ����������� BOOTP). ���� ��������� ������ ����������, ���� ��������� + � ���� <filename>/etc/rc.conf</filename> ����� ������:</para> + + <programlisting>diskless_mount=/etc/rc.diskless2</programlisting> + + <para><filename>rc.diskless2</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>/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>����� �������, ��� ������ <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> + �������� ��������� ���������, ���������� ��� ������ � ������, �������� + ������ ���������, ��� ��� ������ <filename>/</filename> (� ����� ������ + �������, ������� ����� ���������� �� ����-��������) ������ ������������� + � ������ ������ ��� ������. ���������, ��� <xref linkend="intro"> �� + �������� ����������� ����-������ - �������� �����������, ���������� + ������������ ������. ����� �� ����������� �������� ������� �� + ����-��������� � ������� ������ � ������, � �������� ������ �� ����� + �������� �� ����� ���� �����������. ���� �������� �� ����������� ������� + ����� �������� ����� ����-�������� ����� ��� �� ���. ������ + �������������� � �������� ��������� ������ �������� � ���� �� ����������. + �������, ����� �������� ������� <literal>swap</literal> � + <literal>/proc</literal> �� ������ ����� <filename>/etc/fstab</filename>, + �� ������ ����� �������� ���� ���������� ������ �������� ������� �� + <literal>ro</literal> ����� �������:</para> + + <programlisting> +# Device Mountpoint FStype Options Dump Pass# +/dev/ad0s1a / ufs ro 1 1 + </programlisting> + + <para>� ���������� ���� ��������� � ����������������� ������� ��������� + ���������� ���������� ���������� ��������. ��������, ����� �� ����� + ��������������� �� ������ ������ ��-�� ���������� ����� + <filename>/var/db/port.mkversion</filename>, cron �� ����� ��������� + ����������� � ���������� ���������� ������ ��� ���� � �������� + <filename>/var</filename>, ��������� + <filename>/etc/rc.diskless2</filename>, � syslog � dhcp ����� ���������� + �������� ��-�� ������� �������� ������� ������ ��� ������, � ����� + ���������� ������� � <filename>/var</filename>, ������� ��� ������ + �������� <filename>/etc/rc.diskless2</filename>. ���� ��� �������� + �������� ���������� � ����������� ������ � �������� ������� � �������� + ���������������� ����������� �������, � <xref + linkend="strategies">.</para> + + <para>����� �������, ��� �������� �������, ������� ���� ������������ + ������ ��� ������ ��� ������ ����� <filename>/etc/fstab</filename>, � + ����� ������ ����� ���� ������� ��������� �� ������ � ������ ������� + �������:</para> + + <screen> +&prompt.root; <userinput>/sbin/mount -uw <replaceable>partition</replaceable></userinput> + </screen> + + <para>� ����� ���� ���������� � ������ ������� ������ ��� ������ �� ����� + �������:</para> + + <screen> +&prompt.root; <userinput>/sbin/mount -ur <replaceable>partition</replaceable></userinput> + </screen> + </sect1> + + <sect1> + <title>�������� �������� ������� � ����</title> + + <para>��� ��� ����������� � ATA ���������� ����-����� ������������ �� + FreeBSD ��� ������� ������� ����� IDE, ��� ��� ���������� � ��������� + M-Systems Disk-On-Chip (����� �� ���������� ���� � ���������� ��������� + fla), �� ������������ �� ������ ���������� FreeBSD �� ���� ��� ������ + ������ kern � mfsroot ��� � �������-�����. ����� ����, ��� ��� �� ����� + ���������� ����� �� �� �� ���� ��������� ��������� �� ���������� + M-Systems, ������� �������������� ���������� �� ���������.</para> + + <para>������ ���� ��������� ��������� FreeBSD ��� ������ ������� �������� + ��������� ����� �������� � �������� ������� ��������, ����������� 200 + ��������. ��� ��� ����������� ����� ���������� ���������� ����-������ + �������� ������� (128 �������� ��������� ������ ������� - 32 ��� ���� 16 + �������� ������������ ������� ����), �� ��������� ������� ������� �� + ��������—������ �� ����� ��� ����� ���� ��� ����� ����������� + ���������.</para> + + <para>����� ������� �������� ������ ��� ����������� �� ����� �������� + ��������� FreeBSD ������� ������� �� ������� ������� ����. ����� + ��������� ���������, �������� ������������ ������� �� �������, ������� + ���������� �� ��� ����-��������, � ����� ��������� ������������� �������� + �������. ��������� ���� ������� ��� ����� ������� ���������� ����� + ����-������ ��� ����� ���������������� �������� �������. ���������, ��� + ��-�� ����, ��� ������� ��������� �� �����������, ����� ��������, ��� + ��������� �� �������, ��������, �������� �������� ������� � ��� ����� + ������ ���� ��������� �������. ����� ������ kern � mfsroot ��� ����� + ����� ��������������� �������� fixit. ���� �� ����������� M-Systems + Disk-On-Chip, �� ���� � ������� kern ������ ����� ���������������� + �������� <literal>fla</literal>, ����������� � <xref linkend="kernel">. + ����������, ���������� � <xref linkend="kern.flp"> ��� ��������� �������� + �� �������� ������ ���� ��� <filename>kern.flp</filename>.</para> + + <procedure> + <step> + <title>��������� ������ ����-�������� �� �������</title> + + <para>����� �������� ��� ������ ������ kern � mfsroot, �������� ����� + <literal>custom</literal> �� ���� ���������. �� ���������� ������ + ���� �������� <literal>partition</literal>. � ���� ������ � + ��������� �� ������ ������� ��� ������������ ������� ��� ������ + ������� <keycap>d</keycap>. ����� �������� ���� ��������� �������� + �������� ������ ��� ������ ������� <keycap>c</keycap> � ����������� + � ������������ �� ��������� �������� �������. ����� �� ������ + �������� �� ������� ���� �������, ��������������, ��� �������� ���� + ����� <literal>165</literal>. ������ �������� ��� ������� �������� + �� ����, ����� ������� <keycap>w</keycap> (�� ���� ������ ��� ����� + ������). �������� � ���� ������ ��������� ��������, �������� + �������� �� ����� <literal>None</literal>, ���� �� ����������� + M-Systems Disk-On-Chip. ���� �� ����������� ���������� ����-�����, + ����������� � ATA, �� ������ ������� FreeBSD Boot Manager. ������ + ������� ������� <keycap>q</keycap> ��� ������ �� ���� ������ � + ���������. ������ ���� ������ ��� ��� ���� ��� ������ ��������� + �������� - ��������� ��, ��� �� �������� �����.</para> + </step> + + <step> + <title>�������� �������� ������ �� ����� ���������� ����-������</title> + + <para>������� �� ���� ��������� custom, � �� �������� ���� ��������� + �������� ����� <literal>fixit</literal>. ����� ����� � ����� ������ + fixit, ������� ��������� �������:</para> + + <informaltable frame="none"> + <tgroup cols="2"> + <thead> + <row> + <entry align="center">����������� � ATA</entry> + + <entry align="center">Disk-On-Chip</entry> + </row> + </thead> + + <tbody> + <row> + <entry><para><screen>&prompt.root; <userinput>mknod /dev/ad0c 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/fla0c 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> + + <para>� ���� ������ �� ������� � �������� vi ��-��� ������� disklabel. + ���� �� ����������� Disk-On-Chip, �� ������ ����� ����� ��������� + �������� ���� ����� ������ ����� � <literal>ESDI</literal> �� + <literal>DOC2K</literal>. �����, ��� ����������� �� ����, + ����������� �� �� Disk-On-Chip ��� ����������� � ATA ���������� + ����-��������, ��� ����� �������� ������ a: � ����� �����. ��� + ������ <literal>a:</literal> ������ ��������� �������� ���:</para> + + <programlisting> +a: <replaceable>123456</replaceable> 0 4.2BSD 0 0 + </programlisting> + + <para>����� <replaceable>123456</replaceable> �������� ������, � + �������� ����������� � ���, ��� ������������� ������ ��������� + ������ ��� <literal>c:</literal>. � �����, �� ��������� ������������ + ������ ��� <literal>c:</literal> ��� ������ <literal>a:</literal>, + �� ������� ���������� fstype ��� <literal>4.2BSD</literal>. + ��������� ���� � ��������� ��������������.</para> + + <informaltable frame="none"> + <tgroup cols="2"> + <thead> + <row> + <entry align="center">����������� � ATA</entry> + + <entry align="center">Disk-On-Chip</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> + </step> + + <step> + <title>���������� ����� �������� ������� �� ����-��������</title> + + <para>����������� ������ ��� �������������� ����-��������:</para> + + <informaltable frame="none"> + <tgroup cols="2"> + <thead> + <row> + <entry align="center">����������� � ATA</entry> + + <entry align="center">Disk-On-Chip</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/fla0 /flash</userinput></screen></para></entry> + </row> + </tbody> + </tgroup> + </informaltable> + + <para>���������� ��� ������ � ����, ����� ����� ���� ��������� ��� + tar-���� � ����������� ��� � �������� ������� �� ����-��������. ��� + ������ ����, ��� ��� ����� �������:</para> + + <screen> +&prompt.root; <userinput>ifconfig xl0 192.168.0.10 netmask 255.255.255.0</userinput> +&prompt.root; <userinput>route add default 192.168.0.1</userinput> + </screen> + + <para>������, ����� ������ ��������� � ����, ���������� ��� tar-����. + ����� �� ������ ����������� � ��������� ��������� - ���� ����� ����� + ����-������ �����, � �������, 128 ����������, � ��� tar-���� + ��������� 64 ���������, �� �� �� ������ ������������ ���������� + tar-���� �� ����-�������� � ����������� ��� - ��� �� ������ �����. + ����� �� ������� ���� ��������, ���� �� ����������� ftp, �������� + ���������� ����� �� ����� ��� �������� �� ftp. ���� �� ��������� + ���� ������ ���, �� �� ������� �� �������� �� ����� ������������ + �������� ���� � ��� ����������:</para> + + <screen> +<prompt>ftp></prompt> <userinput>get tarfile.tar "| tar xvf -"</userinput> + </screen> + + <para>���� ��� ���� ��������� �������� gzip, �� ����� ������ ����� + ��������:</para> + + <screen> +<prompt>ftp></prompt> <userinput>get tarfile.tar "| zcat | tar xvf -"</userinput> + </screen> + + <para>����� ����, ��� �� �������� ���������� ����� ���������������� + �������� ������� �� �������� ������� ����-������, �� ������ + �������������� ����-������ � ��������� ������������:</para> + + <screen> +&prompt.root; <userinput>cd /</userinput> +&prompt.root; <userinput>umount /flash</userinput> +&prompt.root; <userinput>exit</userinput> + </screen> + + <para>�������, ��� �� ��������� ��������� ���� �������� ������� ��� + �� ���������� �� ������� ����� (� ����� �������� ��������, + �������������� � ������ ������� ������ ��� ������ � ������������ + �����������, ��������������� � ����) �� ������ ������� ��������� ���� + ������������ ������� �� ������ FreeBSD.</para> + </step> + </procedure> + </sect1> + + <sect1 id="kern.flp"> + <title>���������� ������������� ������� <filename>kern.flp</filename> � + ��������� fla</title> + + <note> + <para>���� ������ ������ ������������ ������ ���, ��� ���������� + ����-�������� M-Systems Disk-On-Chip.</para> + </note> + + <para>��������, ��� �� ����������� ������� <filename>kern.flp</filename> + ��� ���� �� ���������� ��������� <devicename>fla</devicename>, ������� + ��������� ��� ������ ������� � Disk-On-Chip. ���� �� ����������� � + ������������ ������ � ���������, ��� ����� �� ���� ����������, ��, + ��������, � ����� ���� ����������� ������� + <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> � ������� �������� �������� + �������, ��������� ������ ��� ������, �������� � ��������� ��� ������ + ������ ���������������� ����������� �������, ������������ �� FreeBSD. + � ���� ������ ����� ���� ������������ �� ��������� ���������� ������ + 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>������ ��� ��� �� �� ����� �������� � ����������� cron-������ + ����� ��������������. ����� ������� ���������������, �� �������� + ������� <filename>/var</filename>, ������� ������������� � ������, + ����� ����������, ������ �� ����� cron-���������, ������� �� ����� ��� + �����. ������� ����� �� ������� ����� ����� �������� cron-������ ��� + �������������, ������� ��� �����, ������������ ����� �������� ������� + <filename>/</filename> � ������ ������ � ������ � ����������� ���� + cron-������ � ���������� �����, ��������, + <filename>/etc/tabs</filename> � ����������� ���������� ������ � + ����� ������� <filename>/etc/rc.diskless2</filename> ��� ����������� + ���� cron-������ � ������� <filename>/var/cron/tabs</filename> ����� + ��� �������� �� ����� ������������� �������. ��� ����� ����� + ������������� �������� ������, ������� �������� ������ ������� � + ����� �� ��������, ������� �� ������� � �� �����, ������� �� + ����������� � ������� <filename>/etc/rc.diskless2</filename>.</para> + </sect2> + + <sect2> + <title>syslog</title> + + <para>� ����� <filename>syslog.conf</filename> ������ �������������� + ��������� ������ ����������, ������� ������� � �������� + <filename>/var/log</filename>. ��� ����� �� ��������� �������� + <filename>/etc/rc.diskless2</filename> �� ����� ������������� ������� + ������� ���-������ � ������� <filename>/etc/rc.diskless2</filename>, + ����� ������, ��������� �������� � <filename>/var</filename>, ��� ����� + �������� ����� ����� ����������:</para> + + <screen> +&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> + <title>��������� ������</title> + + <para>����� ���, ��� �������� ���������, ������� ����� ������� ��� + ��������� ������������� ������ ������, ���������� ��������� � ���, + ��� ���� �������� ������� �� ����-��������� �������� ������ ��� ������. + ������� ��� ����� �������� ����������� �� � ������ ������ � ������, + ��������� ��������� ��������� ������, ��� ��� �������� � + <xref linkend="ro-fs">. �� ������ ������ ��������������� ��� �������� + ������� � ����� ������ ��� ������ ����� ��������� ����� - ������ + ��������� �� � ������ ������ � ������, ����� �� ���� ������� �� ���� + ������ ���������������� ��� �����-���� ������ ������� ��������� + ���������� ������ �� ����-������ � ������� ��.</para> + + <para>����� ����� ���� ����� � ������� � ������� � ������� ��������� + ������� <command>make install</command>, ���������� ������� ����� + <filename>/var/db/port.mkversion</filename>, � ������� �������� + ���������� ����. ����� �� ������ ������� ������� ��� �������� � + �������� �������, �� ��������������� � ������, ��� ����� ��������� + ������� ����� ��������������. ��� ��� ��� ��������� ������� � ����� + ������ ��������� ������������ ����� �������� ������ ��� ������ � + ������, ����� ����� �������� ������� ����-�������� ����� � ��� ������ + ���������� � �������.</para> + + <para>������ ����� �������� ������� � ����� ������ � ��������. ������ + ��� ������� <filename>/var/db/pkg</filename>, �� �� �� ����� ���������� + ���� ������ �����, ��� ��� ��� �������� ����� ������������ + �������.</para> + + <screen>&prompt.root; <userinput>mkdir /etc/pkg</userinput></screen> + + <para>������ � ������ <filename>/etc/rc.diskless2</filename> �������� + ������, ������� ��������� ������� <filename>/etc/pkg</filename> � + <filename>/var/db/pkg</filename>. ��������:</para> + + <screen> +&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>, � ���������� � ������� + ����� ������� �������� � ������� <filename>/etc/pkg</filename> (��� ��� + �������� ������� ����� � ��� ����� ������������ ��� ������ � ������), + ������� ������ ����� ��������� ������������ ������� ��� + <filename>/var/db/pkg</filename>.</para> + </sect2> + + <sect2> + <title>���-������ Apache</title> + + <para>Apache ������ pid-����� � ��������� � �������� + <filename><replaceable>apache_install</replaceable>/logs</filename>. + ��� ��� ���� �������, ��� ��������, ������������� �� �������� �������, + ��������� ������ ��� ������, �� ��� �������� �� �����. ���������� + �������� ����� ������� � ������ ��������� �� + <filename>/etc/rc.diskless2</filename> ��� �� �������� � �������� + <filename>/var</filename> � ������� + <filename><replaceable>apache_install</replaceable>/logs</filename> � + <filename>/var/log/apache</filename>. ����� ����� ������ ����� ������� + � ��������� ������ ��������.</para> + + <para>������� �������� ������� <literal>log/apache</literal> � ������ + ���������, ����������� �������� + <filename>/etc/rc.diskless2</filename>.</para> + + <para>����� �������� � ������ <filename>/etc/rc.diskless2</filename> + ����� ������ �������� ��������� ����� �������:</para> + + <screen> +&prompt.root; <userinput>chmod 0774 /var/log/apache</userinput> +&prompt.root; <userinput>chown nobody:nobody /var/log/apache</userinput> + </screen> + + <para>� �������, ������� ������������ ������� + <filename><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> + </screen> + </sect2> + </sect1> +</article> diff --git a/ru_RU.KOI8-R/articles/vm-design/Makefile b/ru_RU.KOI8-R/articles/vm-design/Makefile new file mode 100644 index 0000000000..615994a3ba --- /dev/null +++ b/ru_RU.KOI8-R/articles/vm-design/Makefile @@ -0,0 +1,22 @@ +# +# $FreeBSD$ +# $FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/vm-design/Makefile,v 1.2 2001/07/25 10:26:34 phantom Exp $ +# +# Original revision: 1.1 +# + +MAINTAINER=andy@FreeBSD.org.ua + +DOC?= article + +FORMATS?= html + +IMAGES= fig1.eps fig2.eps fig3.eps fig4.eps + +INSTALL_COMPRESSED?= gz +INSTALL_ONLY_COMPRESSED?= + +SRCS= article.sgml + +DOC_PREFIX?= ${.CURDIR}/../../.. +.include "${DOC_PREFIX}/share/mk/doc.project.mk" diff --git a/ru_RU.KOI8-R/articles/vm-design/article.sgml b/ru_RU.KOI8-R/articles/vm-design/article.sgml new file mode 100644 index 0000000000..20aa8324d8 --- /dev/null +++ b/ru_RU.KOI8-R/articles/vm-design/article.sgml @@ -0,0 +1,922 @@ +<!-- + The FreeBSD Russian Documentation Project + + $FreeBSD$ + $FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/vm-design/article.sgml,v 1.3 2001/07/21 14:26:19 phantom Exp $ + + Original revision: 1.4 +--> + +<!DOCTYPE ARTICLE PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [ +<!ENTITY % man PUBLIC "-//FreeBSD//ENTITIES DocBook Manual Page Entities//EN"> +%man; +]> + +<article> + <articleinfo> + <title>�������� ����������� ������� ����������� ������ �� FreeBSD</title> + + <authorgroup> + <author> + <firstname>Matthew</firstname> + <surname>Dillon</surname> + + <affiliation> + <address> + <email>dillon@apollo.backplane.com</email> + </address> + </affiliation> + </author> + </authorgroup> + +<!-- + <para>������� �� ������� ����: ������ �������� + (<email>andy@FreeBSD.org</email>)</para> +--> + + <abstract> + <para>�������� ������ ������� ���� � ���, ��� � ��������� ������� � ����� + VM-������� �������� ������. ��������� ��� � ������������ ������ � + ������ ��� ����������� ��������� ������������ ���� FreeBSD, ����� + ������� ���������� VM � �������� ���� ������ �����������, � NFS + ��������� ‘����������� �������’. � ��������� ���� ����� + ����� ����. ��� �������� VM, �� � ������������ ������� �����������, + ������� � ������, �������� ��������� ���������� ��������. �������� + ����� ���� ������ ����������� � �������� � ��������� ����, � + ������������ �������� ���������� ���� � ��� ������������ ��������� + ���������� � VM-����������. � �������� ������������� ���� ������ + VM-���������� �������� ����������, � ����������� �������������� �� + ����������� ������������ �� ��������� ��������� ��� ����������� + John Dyson � David Greenman. �� ������� ���������, ��� ����, � �� ���� + �������� ������� ��������� ����������� ������� � �������, ������ ��� + ����������� �������.</para> + </abstract> + + <legalnotice> + <para>������������� ��� ������ ���� ������������ � ������ <ulink + url="http://www.daemonnews.org/">DaemonNews</ulink> �� ������ 2000 + ����. ��� ������ ������ ����� �������� ����������, ���������� + ��������� � ���������� VM �� FreeBSD �� ����� � ������ �������.</para> + </legalnotice> + </articleinfo> + + <sect1> + <title>��������</title> + + <para>����� ���, ��� ������� ��������������� � ������������ �����������, + �������� ������� ������� �� ������������ ������� � ������������� + ��������� � ������������ ������ ��������� �������� ����. � ���� + ���������������� ��������� ���������� ����� �������, ��� ���, � ������ + ��-�� ������������� ������ BSD ���������� ������� �������� ��������� + ���������� ����������. ��������, ��������� �����������, � ����� + ���������� �� ������� � �������� ����, ������� ����� ���� ���������� + ����� �������, �������� ��� � �������� ������� �������. ���� ��������� + ������� BSD ‘������’ ������������ ��������, �� �� ���, ��� + �������� ��� ���, ����� �� ������ �������� �� ‘������’ ����� + � ���������� ������������, ������� ���� ��������, ��������� ��� �������� + ����������� �����. �� �����������, � FreeBSD �������� ��������� + ��������, ��� ����������� �� ����, ��������� ������ ����� ���� ����� + ����. ��� ������ �������, �������, � ���������, �� ����� ����������. + ����� ������� �������, ������� ����� ��������� �����������, �������� + ������������� �������, � ��� ������ �� ������, ������� ������� ������ + ������ ����������� ������������ �������. ����� ���� �������� ����� + �������� NT, � ����������� ������. Linux ����� � ��������� ������� + �������� ��� ������—����������, ����� ��, ���� BSD, �� ������� + ���� �� ���� ��������� �� ����� ������ �����. �������� Linux ����������� + ������ � ���������� ����� � ������� ��� ��������� ����, ��������, ������� + ����� � ������ �������� ����������� Linux ����� ��� ��, ��� ��� �������� + � ���������� BSD—���������� ������� ��� �����. ������������ NT, + � ������ �������, ��������� ��������� �� �� ����� ������, ��� ���� + ������ � UNIX ������� ��� �����, � ����� ������ ���� �� �� ����������. + ����� � �����. ���� ��������� ������� ‘���������� ����������� + �����������’ � ‘�� ������ �����, ������ ��� ��� ������� ��� + ����� ������’. � ����� �������� ���, ���� �� ���� �������.</para> + + <para>����������� ��������� ��������� ����������� FreeBSD, �������� � + ���������� VM/Swap, �������� ������ ���������� ����, ��� ��� ������ + ��������� �������� � �������������������, ������� ����������� ��� + ��������� ��������. ��� �������� ������� �� ������ ����������� + ����������, � ��������� �� ���������� ��������. � ����� ������ ��������� + ����� ����������� ��� �������� �����������, ����� ��������� ������� + �������� ����������. ��� ��� � �������� ���������� VM/Swap �� FreeBSD, + �� �������� ������ ������ ����� � ���� ��� ��������������. ��-������, + ����� ������ �������� ��� �������������� ������������������ �������� ��, + ��� ���������� “������������ ������������ ��������”. ����� + ���������, ��� ����������� ������������������ ���� ������� ������ ���� + ���� ����, ����� ����������� ������� ������� �������. ��-������, + �������� ����� ����������� ����������� ����� ������ ���������������� + ����������� � �������� �������. ����� ��� ���������� ����������� + ����� ���� ���������, ��� ���������������� �����������, ��� ������ + ����������, ��� ���������� ����������� ����� �������������� ��� + ������������ ������� � ��������� ���������������� ����������� ����������� + �����������. ����� ���, ������� ������ ������ � ����������� ��������� + ����, ������ ������� ���� ��������� �������� � ������ ������, ���� ���� + ��� ����� ������ ������������������. �������� ��� ����� ���� ��, ��� + ��������� ������������ ���������������� �� ����� ���������� ����� + ����������������� �� ����� �������� ������, ������ ��� ������ ����������� + � ������ ��� ����� ������� ���. � ���� ��� ����������� ����� ��������� + ��������—����� �������� ��������� � ����������� ���������� � + ���������� ����.</para> + </sect1> + + <sect1> + <title>������� VM</title> + + <para>����� ����� ������ �������� VM-������� FreeBSD � ������� ��������� �� + ��� � ����� ������ ����������������� ��������. ������ ���������������� + ������� ����� ������, ������������� ������ ��� � ����������� �������� + ������������ VM, ���������� ��������� ����� �������� ������. ��� ������� + ����� ��������� ��������������. ��� ��������� � �� ������ �������� + ������ ������, ������������ � ������ (��� ������������� �������� ����), + ������ ��� ��������� �������� ������ ��� ������, ����� ��� ������ + ��������� ����������� � ������ �����������-���-������. BSS ��������� + ������������ ����� ����� ���� ���������� ������� ������, �����������, + ���� ��� �����������, ������, ��� ���������� ���������� ������� ������ + �� ����������. ��������� ����� ����� ����� ������������ � �������� + ������������, ������ ��� �������� ������������ ����������. ����� + ����������� ������� ���������, ����� ���������� �������������� ��������, + ������� �� ��������. ��������� ����� fork ��������� ��������� �������� + ���������� VM ��������� � ����� ���������, �������� � ��� ��������� + ����������.</para> + + <para>������������ ��������� �������� ������ �������� ��������� (������� + �������� ��������� ����������-���-������). �������� ��������� �������� + ������ �������������� ������������������ ������, ������� ������������� + ������������ ��������������� �� ����� ���������. ����� ��������� + ����������� � Vm-������������ ��������, ��� ������� ������� ������������ + � ������ � �������������� �������� ������ ���������, �������� VM-������� + �����������/�������� ������������ ��������, � ����� ��������� �� ����� + �� ��������� �����. ������ � ������, ����� ������� �������� ��� ������, + VM-������� ������ ������� ����� ��������, ������������� ������ ����� + ��������. ��� ��� ��� ����� ���� ��������, �� VM-������� �� ����� ������ + ����������� ��� ��������, ��� ��� ������������ �� ���������� ����� + ������������.</para> + + <para>�� ��� �� ��������, ��� ��, ��� ������� ���� ������� ������������ + ����� � ������, ���������� ������� ����� ������� ���������. ������ ����� + ���������������� �����������, ����� ��� ����������� ����� ����������� ��� + ������ ������� �� ���. ��������� ��� ����� �������������, ����� ������� + ��������� ����� fork. ��� ���� ����������� ��� ��������—������ �� + � ����������� �������� �������������, ���������� ��� ���������, + ����������� �������� ��������� �� ������ ������� + <function>fork()</function>. ���� �� ����� ��� VM-������� ������ ������ + ����� ������ �� ����� ������ <function>fork()</function>, ��� ��� ������ + ��������, ��� ���� �� ���� ��������� ����� ����� ������ ��� ������ �� + ��� ��������, ��� ��������� ������������� �������� ��������. ��, ��� + ���� ���������, ������������� ������ ��������, ��������� ����� ���������, + ���������� ��� ������, ��� ��� ������ �� ��������� (� ��������, � + �������) ��������, ��� �� ����������� ��������� ����� ������������ ����� + ������������ ������ ��, � �� �������� ����������� �������.</para> + + <para>FreeBSD ��������� ���� ���� ��� ������ �������������� ������ + VM-��������. �������� ���� � �������� ���������� ����������� �� ����� + ������ ������� �������� VM. ������� �������, ���������� ��� ������, + ��������� ���� ����, � ������ �� ��������, ������� ���� ����������� �� + ��������� �����. ���� ��������� ������������ �������� ������, + ����������� � ��������� �����, �� ������� VM ������������ ��� � ��������� + ����� ���� �������� �� ����� ������� �������. ����� ������� + �������������, ����������� ����� ������ VM-��������. ��� ����� �������� + �� ������� �������. ������� <function>fork()</function> �������� ����� + ��������� ��� ���� ������ *BSD, ��� ��� � ���� ������� ����� + ��������������� ���������, ������� �����������, � ����� �������������. + ����� ������� �����������, VM-������� ������� ��������� ������� ��������, + ��������� ��� A:</para> + + <mediaobject> + <imageobject> + <imagedata fileref="fig1" format="EPS"> + </imageobject> + + <textobject> + <literallayout class="monospaced">+---------------+ +| A | ++---------------+</literallayout> + </textobject> + + <textobject> + <phrase>�������</phrase> + </textobject> + </mediaobject> + + <para>A ������������� �����—�� ������������� �������� ������ ����� + �������������� � ������������ � �������� �����. ��������� � ����� + ����� ������������� ���������, ������ �� ����� ���� �� �� �����, ����� + ��� ������������ ������� � ����. ������� VM-������� ������� ������ + �������, B, ������� ��������� �������������� �������� ������������� + ��������:</para> + + <mediaobject> + <imageobject> + <imagedata fileref="fig2" format="EPS"> + </imageobject> + + <textobject> + <literallayout class="monospaced">+---------------+ +| B | ++---------------+ +| A | ++---------------+</literallayout> + </textobject> + </mediaobject> + + <para>��� ������ ������ � �������� ����� ���������� ���� ��������, � B + ��������� ����� ��������, ���������� ������� ������� �� A. ��� �������� + � B ����� ������������ � ����������� �� ���������� ��������. ����� + ��������� ��������, VM-������� ������� ��� ����� ������ ��������—C1 + ��� ������������ �������� � C2 ��� ������������—��� ������������� + ������ B:</para> + + <mediaobject> + <imageobject> + <imagedata fileref="fig3" format="EPS"> + </imageobject> + + <textobject> + <literallayout class="monospaced">+-------+-------+ +| C1 | C2 | ++-------+-------+ +| B | ++---------------+ +| A | ++---------------+</literallayout> + </textobject> + </mediaobject> + + <para>� ���� ������, ��������, ��� �������� � B ���� �������� ��������� + ������������ ���������. � �������� ��������� �������� ����������� ��� + ������ � �������� ����������� � C1, ��� ���� �������� �������� ��������� + � B ����������. ������ ��������, ��� �� �� ����� �������� � B ���������� + ����������� ���������. � �������� ��������� �������� ����������� ��� + ������ � �������� ����������� � C2. �������� �������� � B ������ + ��������� ������, ��� ��� � C1, � C2 ����� �����, � B ������������ ����� + ���� ����������, ���� ��� �� ������������ ����� '���������' �����). + ������ ����� ����������� �� ��� �� ������ �����������, ������ ��� ��� + �������� �� ������ ������ ������. �� FreeBSD ����� ����������� �� + �����������. ������ ������� (� ��� ����� ���������), ��� ����������� + ������� ��������� ����� <function>exec()</function>. ��� ������� + �������� ������������ ������ ���������� ����� �������� �������������, + �������������� ����� ����. � ���� ������ ������� C2 ������������:</para> + + <mediaobject> + <imageobject> + <imagedata fileref="fig4" format="EPS"> + </imageobject> + + <textobject> + <literallayout class="monospaced">+-------+ +| C1 | ++-------+-------+ +| B | ++---------------+ +| A | ++---------------+</literallayout> + </textobject> + </mediaobject> + + <para>� ���� ������ ���������� �������� B ���������� ������ ������ � ��� + ��������� � B ������ ����������� ����� C1. ��� ��������, ��� B � C1 + ����� ���� ����������. ��� �������� � B, ������� ����� ���������� � � + C1, �� ����� ����������� �� B ���������. ����� �������, ���� ����������� + �� ���������� ���� ����� �� ��������, �� ����� ������������ ������� + �������� ��� ��������� ������ ��������� ��� ��� ������ + <function>exec()</function>.</para> + + <para>����� ������ ������� ��������� ���������� ������������� �������. + ������, � ������� �� ������ �����������, ����������� � ������������ + ������� ������������������ ������� �������� VM, �� ������������ ������� + �������� ����� � ������. ������� ���������� ������� ����� ����������, + ����� �������� �������������, � ����� ������������� ��� ��� (��� + �����������, ��� � �����������). ������ �������� ����������� � ���, ��� + �� ������ ����������� � ��������, ������������ ���������� ������� � + �������� �������� VM. � ����� ��������� ������� ���� ��� ��������, ��� + � ������� �������� ���� � �� �� ��������, ��� ��� �������� ����������� + ����� ��������, � �������� �������� � B ���������� ������ �� ���������. + ����� �������� � B ����� ���� ������������.</para> + + <para>FreeBSD ������ �������� � �������� ����������� � ������� ������ + �����������, ������� ���������� “All Shadowed Case”. ���� + ������ ���������, ���� � C1 ���� C2 ��������� ������� ������� ����������� + ������� ��� ������, ��� ��� ��������� ��������� ��� �������� � B. + ��������, ��� ����� ��������� � C1. C1 ����� ������ ��������� �������� + B, ��� ��� ������ ������� C1->B->A � C2->B->A �� ������ ����� ������� + C1->A � C2->B->A. �� ����������, ��� ����������—������ B ����� + ������ ���� ������ (C2), ��� ��� �� ����� ���������� B � C2. � �������� + ����� B ����� ��������� ������ � �� ����� ������� C1->A � C2->A. ����� B + ����� ��������� ������� ���������� �������, � �� C1, �� C2 �� ������ + ��������� �� ��������. ���� �� ����� ������� ������� � �������� ����� + ������� D, ��� ����, ������, ����� ��������, ��� ���� �� ������� D + ���������� ������ ��������� ��������� ������� ������� ����� ������, + �������������� C1 � C2. �� �� ����� ����������� ����� �������� � ����� + ����� ����� � ������� ����������� ����� �������� ��, ��� ���� �� ������ + ����������� ������ � ���������� ����������� ��������� ����� �������� VM + �� ����� ������ ������ ������� �������. ��� ��� ��� ��� ������������, + ��� � ��� ������������ ���������, � �������� � ���� ��� � ������, ����� + ��������� ������ ��������, ��� � � ������, ����� ��������� ��������� + �������.</para> + + <para>�������� � ������� ��������� ��� ��� ����� �����, ����� C1 ��� C2 + �� ��������� ����������� B. ��-�� ������ ����������� ���� ������� + ����������� ���� ������ �� ������������ ������� �������� � �� ������ + ��������� ����� ��������� ������������. ���� ������� ���������� �������� + ����������� ������, ��� ��������� �� �������� � ������� ��������, ��� + �������� ��������� ������������ � ������� ��������, �� ��� ���.</para> + + <para>������������ ������ VM-�������� ����������� � ����� ������� + ���������� ������� <function>fork()</function>, ��� ��� ��� ���� �� + ����������� ��������� ����������� ������. ������� ����� ������� �������� + ��, ��� �� ������ ��������� ������������ ������� �������� �������� VM, + ������� ��������� ��������� ��������� �������� ���������� ������� ������, + � � ���� �� �������� ������ �� ���������� ����������� �������� VM. + ������ �����������, ����������� �� FreeBSD, ��������� ������� ���������� + ���� ������� �� �������, ����� �� ����� ��� ������ ������ + ������������.</para> + </sect1> + + <sect1> + <title>������ ������� ��������</title> + + <para>�������� � ������������ ������� ������������� �������� ����������, + ����������� ��� ������ ��� ������������ ������. ����� ����������� + ���������, �, ��������������, �����������, ��������� ��������� ������� + (������ ����) �� ����� ������ �������������� ��� �������� ����� ��������, + ����� VM-������� ����� ������������ �� �������� ��� ������ �����. � + ���� ������ �� ������ �������� ������� ��������. ������� �������� + ���������� ��� ����������� ��������� ������, ������� ����� �� ����� ���� + ��������. FreeBSD ������� ��������� ���������� ��������� ��� ������� + VM, ������ ����� ��� ������������� �����. ������ ��������� ���������� + ��������� ����������� ����� ��������� ��������.</para> + + <para>�� FreeBSD 3.x � ��������� ���������� �������� �������� + �������������� ���������� ������, ������� ������������ ����� ������, + ��������� �������� � ������� ��������—���� ���� ������ ��������� + ������� ����� ������� �������� � ������� ��������. ��� ������� �������� + ������������ ������ ���� � ������, ����� � ������ ������������ ������� + ������� ��� ����� �������� ��������, ���������� ������� ����� ������ ��� + ������ (RSS). ����� ��� ������������ ������ �������� � ������ ���� + �������������� ‘������ ���’, � �� ����� ��������� + ��������������. ��� ��� '������ ���' �������� ���������������� �������, + �� ������������������ ��� ������������� � ������������� ������ � ������� + �������� ������������ � �� ��������� ������� �� ���������� ������� ��� + O(n). ����� � �������� ������������� ������ � ������� �������� ��������� + ��������� ������ � ����, � ��� �������� � ��������� ���������� ��� + ���������� ������. �������� ��� ����� ����������� ��-�� ���, ����������� + �� ������������� ���������. ����� ����, ������ ������������� ������ � + ������� �������� ����� ����������� �����������������, ��� �������� � + ������������� ������������������ ��������. ������ ���� ����� ������ + �������������� �� ���� ������ ��� �������������� �������� �� ���������� + �������� �������� ��� �������� ������� ������ � ��� �������. ��������, + ��� ���� ��� ������������������ �������������.</para> + + <para>�� FreeBSD 4.x ���������� ���������� �������� �������� ���� ��������� + ���������� ����. ��� ���� ��������� ���������� �������� �������� + �������������� ��� ������ ���-�������, � �� ����� �������� ������, ��� + ���� �� ������������� ������ ��� ������������� � ������ � ������� + �������� �����������. ������ ����, ����� ������������ ���������������� + ������� ������ ��� ������������ ��������� ������������ � ������� + ��������, ������ ������������ ��������� ����� ������ ������� ��������, + ����������� � �������� � ���� ����������� ��������� � ����������� � + ��������� ������������, ����������� � ����� ��������. ��� �������� � + ����, ��� ��������� � ������������� ������ � ������� �������� ���������� + ��������� ��������� O(1). ��� ������ ����� �������������� ������� ��� + ����, ����� �������� ������������� ������ ���� �� ����� �������� � + �������� �������� ��� ���������� ����� ������ ��������� ������. � ����� + ������, ������� ���������� � ������� �������� ��� �������� ������, ��� + ��� �� ������ �������� ������������� ������ ���� � ����� ������� ��� + ��������� ������������� ����������. �������, ��� ���������� ������������ + ������ ����� ������������ ������� ���������������� ����� �� ���, + ��������� ������� ����������������� �������. � �� ������ ��������� ��� + � ��������� '��������� �� �������������', ������� ����� ������������� + �� ������� ������� �������� ��� ��������� ������ ��� ����������� � + ������� ������������� ���������������� ��������, ��� �� ������� ���� + �������������� ������, �� � �������, ��� ��� ����� ���� �������.</para> + </sect1> + + <sect1> + <title>����� ����������� ��������</title> + + <para>��� ��� ������� VM ���������� ��� ��������� ������ ��� ����������� + �����, �� ������ ������������� ��������� ������� ����� ����. ������� VM + ������� �� ����, ��� ��� ����� �������� ��������� �������� ��� ���������� + ������������� ��� ����� �������������. ����������� ����� ������� ��� + �������������, ��������, �������� ����� ������ �������� ����� VM-�������, + �� ���, ��� ��� ����� ���������, ������ ��� ��� ������������ ������ + ������� VM ��������� ����� ����������� �������� � �����, ����������� + ������ ������������������ ���� �������.</para> + + <para>����� �������������� �������� �� ����� �������� � ����������� ���� + ��� ��������� ������������� �� ��� ��������? ������ ������������ ����� + ����� ������ ��� ����� ����� ������ ������ ������������ ���������� � + �������� ���������� ������ ���������� ���������, ��� ��� �� ������ + ��������� �� ������������� ���������� ��� ����, ����� ���� �������� + ������� ���������� ��������. ��� ������ FreeBSD ����������� ������ + ������� � ������������������ ��� �������� �������� ������.</para> + + <para>�������� ����������� ��������� �������� ������� �� ������ ������� + ������������� ������� ������. ��� ��������� ���� ������� ������� + ���������� ����������� ���� ������������� ������, ������� ������� � + ����������� ���������� �������� ������� ������.</para> + + <para>� ����� ������, ��� ������������� �������� ���������, � � ��������� + ����� ������� ������ VM-������� ���������� � �������� ����� � + ������������, ��� ���� ��� ����������. ��� ��������� �� ��, ��� �������� + ������� ������������. ������������ �������� ���� ���, ������������� + ������� ������������� (� ���� ��������) ���������� ��������. ����� ����� + VM-������� ��������� ����������� ��������� ��������, �������� ������� + ��������� ���������� ��� ����������� �������� ��������� ����������� ��� + ���������� �������������.</para> + + <sidebar> + <title>���, ���� ���������� �� ����� ���� ������������� ��������?</title> + + <para>��� ��� ��������, ��� �� ����� ���� �����������, ������� ��������� + ���� ���. ��� ������� ����������� ��� �������� ��������, ��� �������� + � ������ ������� � ��������, ���� � �������� ����������� ��������� + ���������. ��� ������������� ���� ������ ������� ������ �������� + �������� ��� ������������ � ������� ������ �� ��������, ��� ��� ��� + ����� ��������������. ���� ������������� ������ ������ ������ ��� + ����������� ������������� �������� ������ ��������, ��� ��������, ��� + �������� ������������ �������� ��� ������ ����� � ����������, ��� + ��� ����� ����� �������� � ���������� �� � �����.</para> + </sidebar> + + <para>FreeBSD ���������� ��������� �������� ������� ��� ���������� ������ + ������� ��� ���������� �������������, � ����� ��� ����������� ����, ����� + �� ������� �������� ������ ���� �������� � ���������. ��� ��� ������� + ������� �� FreeBSD �������� ������������� ���������, ����������� ������ + �� ����� �������� �������� �� ��������� ������������ ������ ������������� + �� ��������. ����� ����, ��� ���������� ��������, �� ������ �������� + �������������, �������, ������ ��� � �����������. ������� ������ + �������� ����� ������� ����������, ������� ������������ ����� ���� + ������������ � ����� �����, � �������� ����������, ������� ������� ������ + ���� ���������� � ��������� ����� ���, ��� �� ����� ����� ������������ + ��������. ����� ���������� ���������� �������� ��� ������������ � + ���������� �������, ���� ��� �������� �������, ��� � ������� ����, ���� + ��� ������. ��������� ��������, �������������� �� ��������� ���������� + ������� ������� � ������, ����������, ����� ������� �������� � ���������� + ������� ������ ���� �������� �� ����. ����� ��� ����������, ���������� + �������� ������������ �� ���������� ������� � ������� ����. � ���� + ������ �������� � ������� ���� ����� ���� �������� �������������� VM �� + ������������ ������ ���������� ���������. ������ �������� � ������� ���� + �������������� ‘������������ ����������’ � �������� + ������������ � LRU-������� (������ ����� ������������), ����� ������� + ����������� ��������� �������������� ������.</para> + + <para>����� ��������, ��� �� FreeBSD VM-������� �������� ��������� ������ � + ������� �������� �� ��������� ������� ������������� � �������� ������� + ������� ������� (��� ���������� �� ���������� ����������� �����/������) � + �� ���������� ����������� �������� ����� ������� ���������, ����� + ���������� ���������� ������� �� ���������� �������� ��������. ��� + ������ �� ������ ������, ��� ��� ���������� ������� + <command>systat -vm</command> � ��������� �������� �������� �������� + ������� ���� ����, � ������� �������� ������� �������. ��� ��������� + �������� �� VM-������� ��� ��������� ������� ������ �� ��������� + ��������� �������� ������� � ������������, ������� �������� �������� + ������������. ������ ������ ����������� �������, ��� Linux ��������� + ������ �� �������������� �������� �� ���� �����, ��� FreeBSD, �� ��� �� + ���. �� ����� ���� FreeBSD ��������� �������� �� ���� �������������� + �������� ��� ������������ ����� ��� �������� ���, ����� ��� Linux ������ + �������������� �������� � ������ � ��������� ��� ��� � �������� ��������� + ������ ������. � �� ����, �������� �� ��� ������� �� ����������� + ����.</para> + </sect1> + + <sect1> + <title>����������� ������ ������� � ��������� � �� ���������</title> + + <para>�������, ��� ������ ������� � �������� ������ � VM �� �������� + ��������� � �������� ���������� ���������, ���� �������� ��� ��������� � + �������� ������ � ����� ���� ������ ���������� � �������� ������������ + ��������, ����� ���������, ��� ��� ������ ������ ��������, ���� �� + ����� ����������� ��������� �����. ������� �������� ���� �������� + �������� ������ ����� ��������, ��� &man.ls.1; ��� &man.ps.1;, ����� � + �����. ���� �������� ���� ��������� ��������� � ������, �� �� ��������� + � ������� �������, �� ��� ��������, � ������� ���������� ���������, + �������� ������������ ��� ������ ������� ���������. ��� �� ��� �� + ����������, ���� ��� �������� ��� ������������ � ���� VM, ��� ��� FreeBSD + ����� �������� ��������������� ������� ������� �������� �� ��� �������, + ��� ��� ������������� � VM-����. ������ �� FreeBSD ���� �� ����������� + ��������������� ����������� ��� ������ ������������ ������� ��� ���������� + ������ exec. ��������, ���� �� ���������� ��������� &man.ls.1; + ������������ � ���������� <command>vmstat 1</command>, �� ��������, ��� + ��� ������ ������ ��������� ���������� ������ ������� � ���������, ���� + ����� �� ���������� �� ����� � �����. ��� ������ ���������� ������, � �� + ������ ���� ��������� (������� ��� ���� ����������). ��������������� + ����������� ������� ��� ���������� ������� exec ��� fork ��������� � + �������, ��������� ����� ����������� ��������.</para> + + <para>������� ������� ������ ������� � ���������, ��������� � ������� ��� + ���������� ������. �� ������ ������ ������ ���, ������������ ����� + ������� <command>vmstat -s</command>. ��� ����������, ����� ������� + ���������� � ��������� � ����� ������� BSS. ������� BSS �������������� + ���������� ����������� ������, �� VM-������� �� ��������� � ��������� + ������ �� ��� ���, ���� ������� ������� � ��� �� ���������. ��� + ������������� ������ VM-������� ������ �� ������ �������� ����� ��������, + �� � ��������� �� ������. ��� ����������� �������� �� ���������� ������ + � ������� VM ������� ����������� �������������� �������� �������� � + �������� ��, � ����������� ��� ���������� �������� ��� ������������� + ������ ���������� ������. ��������������� ���������� ������ ����������, + ����� CPU �����������, ������ ���������� �������, ������� ������� ������� + ��������� ������, ����������, ��� ����, ����� �� ����������� ���� ������. + ��� ���������� ������ ���������� ��������� � VM-������� ���� ����������� + ������������ ����.</para> + </sect1> + + <sect1> + <title>����������� ������� �������</title> + + <para>����������� ������� ������� ���������� ����� �������������� ����� + ����������� VM �� FreeBSD � ��� ����������� ��� ��������� �������� ��� + ������������ ������������� <function>mmap()</function>. � �����, ��� ��� + �� ����� ���� ����������� ������ ����������� BSD-������, ���� � �� + ������, ����� ��� ���������� �������. ���� ��� �������� ������� � + �����������. ������ ����������� � ���, ��� ���������� ������� ������� + �� �������� ����������� ���������, � ������ ����� ����� ���� �������� � + ����� ������ � ������ ���������� ���������. ������ ������ ������� � ���, + ��� ������ �������� ������� ������� � ������� ����� ����������� ��������� + <literal>pv_entry</literal>, ������� ������� � ��������� + <literal>vm_page</literal>. FreeBSD ����� ������ ������������� ��� + �����������, ������� ����������, ����� ��� � Linux ������ ����������� ��� + ������� �������, ������� <emphasis>�����</emphasis> ��������� ������ + �����������, ��� � ��������� �������� ���� ���������� ��������� O(n^2). + ��-�� ����, ��� FreeBSD ��������� ������� �������� ���������� � + ���������� ������������� ��� ������ � ������� �������� ��������, ����� + ��������� �������� ������, ������� ���� ������ ������������������ ��� + ��������. ������ �� FreeBSD ��������� ������ ��������� ���� ��� + ������������ ��������� � ������� ��������� ������������ �������� + �������������, ������� ����� ��������� � �������, ������������� ������ + ���������������, ������ ��� ��������� <literal>pv_entry</literal> ����� + ��������� ������������.</para> + + <para>� � Linux, � �� FreeBSD ��������� ��������� � ���� �������. FreeBSD + �������� ��������������� ������������ �� ������������ ����� ����������� + ������ ��������� ����������� (� �������, �� ���� ��������� ����� + ���������� ��� �������� ������������ ����������), ����� ��� Linux + �������� ��������� ���� ���������. FreeBSD ����� ����� ����� ������������ + � ������������������ �� ���� ������������� �������������� ������, �� + FreeBSD �������� ���� � ������, ����� ������� ���� ��������� ������������ + ������� ���������. Linux, � ������ �������, �������� ���� � ������, + ����� ����� ��������� �������� ���������� ���� � �� �� ������������ + ����������, � ����� �������� ������������ ��� ������� ����������, ����� + �� �������� �������� ��������������, ��� ���.</para> + </sect1> + + <sect1> + <title>�������� �������</title> + + <para>�� �������� ������������� ������ ����������� ��������� �������. + �������� �������� ������� �����������, ������������� ��� ����, ����� + ������ � ���������������� �������� ����������� ������ + ����������� ����������� ��� ����������. � ������� ������� (�� ���� + ������ 10 ��� �����) ������������ ���� ������������ ���������� + ����������� ������, � �� ����������. ��� ��������� � ��������� + ���������� �������, ������� ������������� ������� ���� � ��������� + ������� ��� ������ ������������ ��������� � �������� � ���������� ������ + � ����. � ����������� ����������� ���� ���������� ���������� ������ + ������ ��� ������� ���� �������. ��� ��������, ��� ��� �������� �������� + � �������� ������������ ��������� ����� �� ��������������� ���� �������� + ��������� � ����. ����������, ���� �� �� ���� �� ������������, �� + �������� �������� � ����������� ������ ����� ������������ �� �� ����� + �������� � ���� ����������—��� �������� � ������ ���������� ������ + � �������� ������������������ CPU. ��� ��� ���� � �������������� + �������������� ������ (���� ����� ������ ��������� �������).</para> + + <para>��� ��������� ������ �� FreeBSD ��������� ����������� � ����������� + �������� �������, ���������� ��, ��� ��� ��������� ������ ����� �������� + ����� ��������� ��������, ������� �������� ����������������� � ����� + ������ ����. ��������, ���� �������� 16 ���������� ������ ����������� + �������� 0 ����������� ������ ��������, � � ��� ���������� 4 ��������, �� + ��� �������� ������� �� ����� ��������� �������� 20 ���������� + ������ �������� 1 ����������� ������ ��������. ������ ����� ����� + ��������� �������� 21 ���������� ������. ��� �������� ������� + ���������� �������� ���������� �������� 20, ������ ��� ����� ����������� + ������������� � ��� �� ����� ������ ���� ��� �������� 16, � �������� � + �������������� �����������. ��� �� ������ ������������, ����� ��� + ����������� ��������� ��������� � ���������� ��������� ������ VM, �� + ��������� ����� ����. �������� ������� ������ ������ VM �������������, + ��� � ������� ���������� ������, ������������ ������������������ + ����.</para> + </sect1> + + <sect1> + <title>����������</title> + + <para>����������� ������ � ����������� ������������ �������� ������ ������ + ��������� ��������� ����� ���������� � ��� ������ ��������. ��������� + � ��������������� ������, �������� ����������� ������� BSD, ��������� ��� + ������� � ������ ������������ ����������, � ����� ������������ ����� + �������� ������� ����� ����. �� ��������� ��������� ��� � VM-������� + FreeBSD ���� ������� ��������� ���������� ������������������, � ������ + ��� ���� ������������.</para> + </sect1> + + <sect1> + <title>�������������� ����� �������� � ������� �� ������ ������� (Allen + Briggs) <email>briggs@ninthwonder.com</email></title> + + <qandaset> + <qandaentry> + <question> + <para>��� ��� �� “�������� �����������”, ������� �� + ��������� � ������ ����������� ���������� ���������� �������� + �������� �� FreeBSD 3.x?</para> + </question> + + <answer> + <para>FreeBSD ���������� � ������� �������� �������� �����������, + � �������� �� ���������, ������ �������. ��� ��������, ��� FreeBSD + ����������� ������������ ��� ������� �������� ��������, ���� ���� + � ��� ������� ����� ���� ����, ��� ��� ��� �������. ��� ��� � + ������� �������� ������� �����������, �� �������� �������� + ������������, �������������� ‘������ ������� ��������’, + ����� �����������������, ���� � ��� ��� �� ����� ���� ������� + �������� ��������. ��������, ���� � ��� ��� ������� A � B, �� + ������������� ��������� ������������ ��� ���� ������� �������� �� + FreeBSD ����� ������������ � ������������ ������ �� 16 + �������:</para> + + <literallayout>A B C D A B C D A B C D A B C D</literallayout> + + <para>FreeBSD 3.x ���������� ‘���������������� ������ ��������� + ��������’ ��� ���������� ���������� ��������� � ������� + ��������. ���� ������� � ���, ��� ������� ���������������� ����� + ���������� ������������ ����� ���� ������������ ��� ������ ���� + ������������ ������ (<filename>kern/subr_rlist.c</filename>). �� + ��-�� ������������ ���������������� ������ ��� ���������� + �����������������. � ������� ���� ��������� �������������� + ������������ � A � B ����� �������� ��� ‘���������’, + � C � D ��� ‘��������� �������’. ������ + ������������������ A-B ��������� ��� ����� ���� ������, ������ ��� + C � D �������� ������, ��� ��� ���� ������ �� ����� ���� ������ + �� ��������� ������������������� A-B.</para> + + <para>������ �� ���������� ����������� � ������� �������� ������ + ����, ����� ������ ���������� ������� �������� � ���� ����� � + ��������� ���-�� ����� �����? ������ ��� ������� ����� �������� + ���������������� ������ ��������� ������������ � �������� � + ���������� �������������� ����������� ����� ����������� �������, + ��� �������� ���������� ��������� � ������ �����.</para> + + <para>������������ �������� ������ ��������. ������� + ���������������� ������� � 3.x � ���� ����� �������� ������������, + ��������� � ������������ � ������� �������� ���������� ���������� + ��������� O(N), � �� O(1). ������ � ������� ��������� (������ + ��������� � ������� ��������) �� ��������� ��������� ������� O(N^2) + � O(N^3), ��� �����. � ������� 3.x ����� ����� ������������� + ��������� KVM �� ����� ������ � �������� �������� ��� �������� + ������ ���� ������, ��� � ������� �������� ������ ����� �������� � + ����������, ���� ������� ���������� �������� �������� � ������� + ��������.</para> + + <para>� 4.x �� �� ���������� ���������������� ������. ������ ����� + �� ���������� �������� ������ � ������� ����� ������ ������� + ��������, � �� ������������ ������ �����. �� ��������� + ��������������� ��������� ���� ������� ����, ��������� ��� ���� + ������� ��������, �� ��� ���� �������� ������ ������, ������ ��� + �� ���������� ������� ����� (���� ��� �� ����), � �� ��������� + ������ �����. ������������� ��������� ������ ������ + ����������������� ������ ���� ��� ������������������ O(1) ��� + ����������� �� ������������ ������.</para> + </answer> + </qandaentry> + + <qandaentry> + <question> + <para>� �� ����� ���������:</para> + + <blockquote> + <para>����� ��������, ��� �� FreeBSD VM-������� �������� ��������� + ������ � ������� �������� �� ��������� ������� ������������� � + �������� ������� ������� ������� (��� ���������� �� ���������� + ����������� �����/������) � �� ���������� ����������� �������� + ����� ������� ���������, ����� ���������� ���������� ������� �� + ���������� �������� ��������. ��� ������ �� ������ ������, ��� + ��� ���������� ������� <command>systat -vm</command> � ��������� + �������� �������� �������� ������� ���� ����, � ������� �������� + ������� �������.</para> + </blockquote> + + <para>��� ���������� ������ � ������� (����������) ������� ������� � + ���������, ����� �� ������ ��������� ������� ������� ���� � + ������� ������� �������� ������� � ������ ������� + <command>systat -vm</command>? ����� ��������� ���������� �� + ������� �������� � ������� �������� ������ �� ������� �������� + �������?</para> + </question> + + <answer> + <para>��, ��� ����������. ����� ����������� � “��������” + � “��������������”. �� ������ ��������� ��������, �� + ���������� ������, ��� ���� � ��� ��� ������� � �������, ��� ��� �� + ����� ���� �� �����.</para> + + <para>��� ��������, ��� FreeBSD �� ����� ����� ������ ��������� ��� + ���������� ������� ������� (���������� �������) �� ������ ������� + (������� ����), ����� ������� �� ��������� ��� ���������, � �� + ����� �������������� �������� (�������� ������� -> ���������� + �������), ����� ������� �� ���������, ���� ���� ��� �� + ������������.</para> + </answer> + </qandaentry> + + <qandaentry> + <question> + <para>� ������� � &man.ls.1; / <command>vmstat 1</command> ����� �� + ��������� ������ ������� � �������� ���� �������� ������� ������ + (COW �� ����������� ����� � ��������� ��������)? �� ���� � + �������, ��� ������ ������� � ��������� �������� �������� �������� + ��� ���������� ������, � �������� ������ ���������. ��� �� + ������������, ��� FreeBSD ��������� �������������� COW ��� ������ + ���������?</para> + </question> + + <answer> + <para>������ COW ����� ���� ������� ��� ���������� ������ ��� ������ + ���������. �������� � ����� ������ ���� � ��� ��, ������ ��� + ��������� ������ ��������� ��� � ����. � �� ����� ���� �� ��� + �� ����, �� �������. FreeBSD �� ��������� ��������������� COW + ������ ��������� � ���������� ������, �� ��� + <emphasis>���������</emphasis> �������������� ����������� �������, + ������� ������� � �� ����.</para> + </answer> + </qandaentry> + + <qandaentry> + <question> + <para>� ����� ������� �� ����������� ������� �������, �� ����� �� �� + ����� �������� ���������� � <literal>pv_entry</literal> � + <literal>vm_page</literal> (��� vm_page ������ ���� + <literal>vm_pmap</literal>—��� � 4.4, cf. pp. 180-181 of + McKusick, Bostic, Karel, Quarterman)? � ������ ����� + ��������/������� ������ ������������� ��� ������������ + �����������?</para> + + <para>��� ������ Linux � ��� �������, ����� FreeBSD �������� ����� + (���������� ������������� ����������� ����� ����� ������� + ����������)?</para> + </question> + + <answer> + <para><literal>vm_page</literal> ������������ ����� ���� + (object,index#). <literal>pv_entry</literal> �������� ������� �� + ���������� ������� ������� (pte). ���� � ��� ������� ���� + ���������, ��������� ������������ ���� � �� �� ���������� ��������, + � � ���� �������� ������� ���� ��������� �� ����� ���� ������������ + ��������, �� �������� ����� �������������� ����� ���������� + <literal>vm_page</literal> � ����� ����������� + <literal>pv_entry</literal>.</para> + + <para>��������� <literal>pv_entry</literal> ������������ ��������, + ������������ MMU (���� ��������� <literal>pv_entry</literal> + ������������� ����� pte). ��� ��������, ���, ����� ��� ����� + ������ ��� ���������� ������ �� <literal>vm_page</literal> (��� + ����, ����� �������� ������������ �������� ��� ����-�� ���, + ��������� ��, ��������, �������� ��� ������� � ��� �����), �� + ����� ������ ����������� ������� ������ �������� + <literal>pv_entry</literal>, ��������� � ���� + <literal>vm_page</literal>, ��� ����, ����� ������� ��� �������� + pte �� �� ������ �������.</para> + + <para>� Linux ��� ������ �������� ������. ��� ����, ����� ������� + ��� ����������� ���������� ������� ������� ��� + <literal>vm_page</literal>, linux ������ ������ �� ������� ������� + ������� VM, ������� <emphasis>�����</emphasis> ���������� ��������. + � �������, ���� � ��� ������� 50 ���������, ������� ��� ���������� + �� �� ����� ������������ ���������� � ������ ���������� �� �������� + X � ���� ����������, �� ��� ����� �������� �� ������� ���� ������� + ������� ��� ������� �� ���� 50 ���������, ���� ���� ������ 10 �� + ��� �� ����� ���� ���������� ��������. ��� ��� Linux ���������� + �������� ������� �� ���� ������������������. ������ ��������� VM, + ������� ����� ��������� O(1) ��� (N �����) �� FreeBSD, � Linux + ����������� ��������� O(N), O(N^2) ��� ����. ��� ��� pte, + �������������� ���������� �������� � �������, ������ �����, ����� + � ��� �� ��������� �� ���� �������� �������, � ������� ��� + ������������, �� ���������� ���������� ��������� � ������� ������� + �� ���� �� ������ �������� ����� ��������� �������� ����������� + ���� L1 ��� ����� ��������, ��� �������� � ��������� + ������������������.</para> + + <para>�� FreeBSD ������� �������������� ��������� (����� � + <literal>pv_entry</literal>) ��� ���������� ������������������ + (�������� ���������� ��������� <emphasis>������</emphasis> � ��� + pte, ������� ����� ��������������).</para> + + <para>�� �� FreeBSD ������� �������� ���������������, ������� ��� � + Linux, ������ ��� ������� ������������ ����� �������� + <literal>pv_entry</literal>, � ��� �������� � ������������� ������� + ��� ������� ������ ��������� ������������ ������. � ���� ������ + � ��� ����� ���������� �������� �������� + <literal>pv_entry</literal>, ���� ���� ��������� ������ �������. + ��� ����� ���� ���������� ����� ���������� ����������� ���������� + �������� <literal>pv_entry</literal> ��� ���������, �� �� ����� + ���� ��� ����� ����� ������ ������ ������ ���.</para> + + <para>��� �������� ������������� ������ ��� ������� ������� ������ + ����� � <literal>pv_entry</literal>: Linux ���������� + ‘����������’ ������� �������, ������� �� ������������, + �� ��� �� ����� <literal>pv_entry</literal> ��� ������� + ������������ ������������� pte. FreeBSD ���������� + ‘������������’ ������� �������, �� ��� ������� + ������� ������������� pte ����������� ��������� + <literal>pv_entry</literal>. � �����, ��� ������������� ������ + ����� �������� ���������, ��� ����� ��� � FreeBSD ���� + ��������������� ������������, ������������� � ����������� + ���������� ������� ������� � ����� ������ ���������� + ���������.</para> + </answer> + </qandaentry> + + <qandaentry> + <question> + <para>�������, � ������� � �������� ������� ������ �� ���� + ����� ������� �������� ����, ��� ��� ������. � �� ������ ��� + �����.</para> + </question> + + <answer> + <para>������ �� ��, ��� �������� ���������� ��� ������ L1? ��������: + ����������� ������ � 16�� �������� ������ � ������ �� 128� ������ + ���� L1. � �����, ���� ��� �������� ���, ��� ������ ���� �� 128� + �������� ������ ���������� <emphasis>�� �� �����</emphasis> 128� + ����. ���� �� ����������� � �������� ������ �� �������� 0, � ����� + � �������� ������ �� �������� 128�, �� ��������������� ������ ����, + ���������� �� �������� 0!</para> + + <para>� ����� ������ ��� �������. ��, ��� � ������ ��� ������, + ���������� ‘�������� ������������’ ���������� ����� + ������. ����������� ����������� ����� �������� ��� ����������� + 2-���������� �������������� �������������� ��� 4-���������� + �������������� �������������� ������. ������������� + ��������������� ��������� ��� ���������� � ������ �� N ��������� + �������� ������, ������� ���������� ���� � �� �� ������ ���� ��� + ����������� ����� ���������� � ��� ������. �� ������ N.</para> + + <para>��� ��� ���� � ���� ������� 4-��������� ������������� ���, � + ���� ���������� � ������ �� �������� 0, �������� 128�, 256� � + �������� 384K, ����� ����� ���������� � ������ �� �������� 0 � + ������ �� �� ���� L1. ������, ���� ����� ����� � �������� � ������ + �� �������� 512�, ���� �� ����� ���������� � ��� �������� ������ + ����� �� ���� ������.</para> + + <para>��� ����������� �����… ��� ����������� ��������� � + ������ ���������� <emphasis>�����������</emphasis> �����, ����� + ������ ���������� � ���� L1, ��� ��� ��� L1 �������� �� �������� + ������� ������ ����������. � ������, ���� ������ � ���� L1 �� + ��������������, � ��� ������ � ���� L2 ��� � �������� ������, + ��������� ����� �����������, ���, ������, ������, ������ �����, + � �������� ��������� ������ �� �������� ������, ���� �� ��� ����� + ����� ���� ��������� <emphasis>�����</emphasis> ��������. �������� + ������ (������������ ���, ������� ����������� � ����������) + �������� �� ��������� �� ��������� ������ ���� ����������� + ����������� <emphasis>��������</emphasis>.</para> + + <para>������, � ������ ���������� �������� �������: ��� ����������� + ���� ������ �������� ��� ����������� + <emphasis>�����������</emphasis> ������. ��� �������� ������ + ���������� ������, � �� �����������. ��� ��������� ���� �� + ��������� �� �������� ������������ ���������� ���������, ��� ����� + �����.</para> + + <para>�� � ���� UNIX �� ��������� � ������������ ��������� + ��������������, � �� � �����������. ����� ���������, ���� + ����������, ����� ���� � ����������� �������� �������������, �� + ���������������. �������� <emphasis>����������</emphasis> + ��������, ��������������� ������������ ��������� ������������, �� + ����������� ����������� ��������� ���������������! �� ����� ���� + � ��� ����� ��������� ��� ��������, ������� � �������� ������������ + ��������� �������� �����������, �� ���������������� �� �������� 0 � + �� �������� 128� � <emphasis>����������</emphasis> ������.</para> + + <para>������ ��������� ��������, ��� ��� ���������� �������� ����� + ������������ ����������. �� ���� �� ������ ���������� � �������� + ������ � ����� ��������� ��� ��������� � ���� ������ ���� �����. + �� ��� ����� �����, ���� ������ ���������� ��������, + ��������������� ������������ ��������� ������������, ������������� + ����� (� ����� ����, ��� �������� � ���).</para> + + <para>��� ������ ��, ��� ��������� ��������. ������ ����, + ����� ��������� <emphasis>���������</emphasis> ���������� �������� + ����������� �������, ��� ����� �������� � ������������� ������ + ����, ��� �������� ������� ����������� ������� ����������� + <emphasis>�������� ���������� �� �������</emphasis> ���������� + ��������. ����� �������, ��������� ����� �������� � �������������, + ��� �������������� ����������� ����������� ���� ��� ������������ + ��������� ������������ ����� ������ ��, ��� ���� �� ��������� + �������� ��������������� � ���������� �������� ������������.</para> + + <para>��������, ��� � ������ ‘��������’ ����������, � �� + ������ ‘����������������’. � ����� ������ �������� + ������������� ���� � 128�, ���������� ����� 0 �������� � ���������� + ������� 128�. ��� ��� ��� ���������� �������� � ����� ����������� + �������� ������������ ����� ������������� �� �������� 128� � 132� + ���������� ������, �� ����� ����� ���������� �� �������� 128� � �� + �������� 4� ���������� ������, � ����� �� �� ����� �������������� + ������ ����. ��� ��� ��� �������� <emphasis>�� + �����</emphasis> ��������� � ���������������� ���������������� + �������� ���������� ������ ���������������� ��������� ����������� + ������, ���������� ������ �������� ������������ ������� �� + ��������� ���� � ������ � ����� ������ ������ ����.</para> + </answer> + </qandaentry> + </qandaset> + </sect1> +</article> diff --git a/ru_RU.KOI8-R/articles/vm-design/fig1.eps b/ru_RU.KOI8-R/articles/vm-design/fig1.eps new file mode 100644 index 0000000000..49d2c05a56 --- /dev/null +++ b/ru_RU.KOI8-R/articles/vm-design/fig1.eps @@ -0,0 +1,104 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: fig1.eps +%%Creator: fig2dev Version 3.2.3 Patchlevel +%%CreationDate: Sun Oct 8 19:54:25 2000 +%%For: nik@canyon.nothing-going-on.org (Nik Clayton) +%%BoundingBox: 0 0 119 65 +%%Magnification: 1.0000 +%%EndComments +/$F2psDict 200 dict def +$F2psDict begin +$F2psDict /mtrx matrix put +/col-1 {0 setgray} bind def +/col0 {0.000 0.000 0.000 srgb} bind def +/col1 {0.000 0.000 1.000 srgb} bind def +/col2 {0.000 1.000 0.000 srgb} bind def +/col3 {0.000 1.000 1.000 srgb} bind def +/col4 {1.000 0.000 0.000 srgb} bind def +/col5 {1.000 0.000 1.000 srgb} bind def +/col6 {1.000 1.000 0.000 srgb} bind def +/col7 {1.000 1.000 1.000 srgb} bind def +/col8 {0.000 0.000 0.560 srgb} bind def +/col9 {0.000 0.000 0.690 srgb} bind def +/col10 {0.000 0.000 0.820 srgb} bind def +/col11 {0.530 0.810 1.000 srgb} bind def +/col12 {0.000 0.560 0.000 srgb} bind def +/col13 {0.000 0.690 0.000 srgb} bind def +/col14 {0.000 0.820 0.000 srgb} bind def +/col15 {0.000 0.560 0.560 srgb} bind def +/col16 {0.000 0.690 0.690 srgb} bind def +/col17 {0.000 0.820 0.820 srgb} bind def +/col18 {0.560 0.000 0.000 srgb} bind def +/col19 {0.690 0.000 0.000 srgb} bind def +/col20 {0.820 0.000 0.000 srgb} bind def +/col21 {0.560 0.000 0.560 srgb} bind def +/col22 {0.690 0.000 0.690 srgb} bind def +/col23 {0.820 0.000 0.820 srgb} bind def +/col24 {0.500 0.190 0.000 srgb} bind def +/col25 {0.630 0.250 0.000 srgb} bind def +/col26 {0.750 0.380 0.000 srgb} bind def +/col27 {1.000 0.500 0.500 srgb} bind def +/col28 {1.000 0.630 0.630 srgb} bind def +/col29 {1.000 0.750 0.750 srgb} bind def +/col30 {1.000 0.880 0.880 srgb} bind def +/col31 {1.000 0.840 0.000 srgb} bind def + +end +save +newpath 0 65 moveto 0 0 lineto 119 0 lineto 119 65 lineto closepath clip newpath +-143.0 298.0 translate +1 -1 scale + +/cp {closepath} bind def +/ef {eofill} bind def +/gr {grestore} bind def +/gs {gsave} bind def +/sa {save} bind def +/rs {restore} bind def +/l {lineto} bind def +/m {moveto} bind def +/rm {rmoveto} bind def +/n {newpath} bind def +/s {stroke} bind def +/sh {show} bind def +/slc {setlinecap} bind def +/slj {setlinejoin} bind def +/slw {setlinewidth} bind def +/srgb {setrgbcolor} bind def +/rot {rotate} bind def +/sc {scale} bind def +/sd {setdash} bind def +/ff {findfont} bind def +/sf {setfont} bind def +/scf {scalefont} bind def +/sw {stringwidth} bind def +/tr {translate} bind def +/tnt {dup dup currentrgbcolor + 4 -2 roll dup 1 exch sub 3 -1 roll mul add + 4 -2 roll dup 1 exch sub 3 -1 roll mul add + 4 -2 roll dup 1 exch sub 3 -1 roll mul add srgb} + bind def +/shd {dup dup currentrgbcolor 4 -2 roll mul 4 -2 roll mul + 4 -2 roll mul srgb} bind def +/$F2psBegin {$F2psDict begin /$F2psEnteredState save def} def +/$F2psEnd {$F2psEnteredState restore end} def + +$F2psBegin +%%Page: 1 1 +10 setmiterlimit + 0.06000 0.06000 sc +% Polyline +7.500 slw +n 2400 4200 m 4050 4200 l 4050 4950 l 2400 4950 l + cp gs col0 s gr +% Polyline +n 4050 4200 m + 4350 3900 l gs col0 s gr +% Polyline +n 2400 4200 m 2700 3900 l 4350 3900 l 4350 4650 l + 4050 4950 l gs col0 s gr +/Helvetica-Bold ff 180.00 scf sf +3225 4650 m +gs 1 -1 sc (A) dup sw pop 2 div neg 0 rm col0 sh gr +$F2psEnd +rs diff --git a/ru_RU.KOI8-R/articles/vm-design/fig2.eps b/ru_RU.KOI8-R/articles/vm-design/fig2.eps new file mode 100644 index 0000000000..fcb8bd41ad --- /dev/null +++ b/ru_RU.KOI8-R/articles/vm-design/fig2.eps @@ -0,0 +1,115 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: fig2.eps +%%Creator: fig2dev Version 3.2.3 Patchlevel +%%CreationDate: Sun Oct 8 19:55:31 2000 +%%For: nik@canyon.nothing-going-on.org (Nik Clayton) +%%BoundingBox: 0 0 120 110 +%%Magnification: 1.0000 +%%EndComments +/$F2psDict 200 dict def +$F2psDict begin +$F2psDict /mtrx matrix put +/col-1 {0 setgray} bind def +/col0 {0.000 0.000 0.000 srgb} bind def +/col1 {0.000 0.000 1.000 srgb} bind def +/col2 {0.000 1.000 0.000 srgb} bind def +/col3 {0.000 1.000 1.000 srgb} bind def +/col4 {1.000 0.000 0.000 srgb} bind def +/col5 {1.000 0.000 1.000 srgb} bind def +/col6 {1.000 1.000 0.000 srgb} bind def +/col7 {1.000 1.000 1.000 srgb} bind def +/col8 {0.000 0.000 0.560 srgb} bind def +/col9 {0.000 0.000 0.690 srgb} bind def +/col10 {0.000 0.000 0.820 srgb} bind def +/col11 {0.530 0.810 1.000 srgb} bind def +/col12 {0.000 0.560 0.000 srgb} bind def +/col13 {0.000 0.690 0.000 srgb} bind def +/col14 {0.000 0.820 0.000 srgb} bind def +/col15 {0.000 0.560 0.560 srgb} bind def +/col16 {0.000 0.690 0.690 srgb} bind def +/col17 {0.000 0.820 0.820 srgb} bind def +/col18 {0.560 0.000 0.000 srgb} bind def +/col19 {0.690 0.000 0.000 srgb} bind def +/col20 {0.820 0.000 0.000 srgb} bind def +/col21 {0.560 0.000 0.560 srgb} bind def +/col22 {0.690 0.000 0.690 srgb} bind def +/col23 {0.820 0.000 0.820 srgb} bind def +/col24 {0.500 0.190 0.000 srgb} bind def +/col25 {0.630 0.250 0.000 srgb} bind def +/col26 {0.750 0.380 0.000 srgb} bind def +/col27 {1.000 0.500 0.500 srgb} bind def +/col28 {1.000 0.630 0.630 srgb} bind def +/col29 {1.000 0.750 0.750 srgb} bind def +/col30 {1.000 0.880 0.880 srgb} bind def +/col31 {1.000 0.840 0.000 srgb} bind def + +end +save +newpath 0 110 moveto 0 0 lineto 120 0 lineto 120 110 lineto closepath clip newpath +-174.0 370.0 translate +1 -1 scale + +/cp {closepath} bind def +/ef {eofill} bind def +/gr {grestore} bind def +/gs {gsave} bind def +/sa {save} bind def +/rs {restore} bind def +/l {lineto} bind def +/m {moveto} bind def +/rm {rmoveto} bind def +/n {newpath} bind def +/s {stroke} bind def +/sh {show} bind def +/slc {setlinecap} bind def +/slj {setlinejoin} bind def +/slw {setlinewidth} bind def +/srgb {setrgbcolor} bind def +/rot {rotate} bind def +/sc {scale} bind def +/sd {setdash} bind def +/ff {findfont} bind def +/sf {setfont} bind def +/scf {scalefont} bind def +/sw {stringwidth} bind def +/tr {translate} bind def +/tnt {dup dup currentrgbcolor + 4 -2 roll dup 1 exch sub 3 -1 roll mul add + 4 -2 roll dup 1 exch sub 3 -1 roll mul add + 4 -2 roll dup 1 exch sub 3 -1 roll mul add srgb} + bind def +/shd {dup dup currentrgbcolor 4 -2 roll mul 4 -2 roll mul + 4 -2 roll mul srgb} bind def +/$F2psBegin {$F2psDict begin /$F2psEnteredState save def} def +/$F2psEnd {$F2psEnteredState restore end} def + +$F2psBegin +%%Page: 1 1 +10 setmiterlimit + 0.06000 0.06000 sc +/Helvetica-Bold ff 180.00 scf sf +3750 5100 m +gs 1 -1 sc (B) dup sw pop 2 div neg 0 rm col0 sh gr +% Polyline +7.500 slw +n 4871 5100 m 4879 5100 l gs col0 s gr +% Polyline +n 2925 5400 m 4575 5400 l 4575 6150 l 2925 6150 l + cp gs col0 s gr +% Polyline +n 4575 4650 m + 4875 4350 l gs col0 s gr +% Polyline +n 2925 4650 m 4575 4650 l 4575 5400 l 2925 5400 l + cp gs col0 s gr +% Polyline +n 2925 4650 m 3225 4350 l 4875 4350 l 4875 5100 l + 4575 5400 l gs col0 s gr +/Helvetica-Bold ff 180.00 scf sf +3750 5850 m +gs 1 -1 sc (A) dup sw pop 2 div neg 0 rm col0 sh gr +% Polyline +n 4875 5100 m 4875 5850 l + 4575 6150 l gs col0 s gr +$F2psEnd +rs diff --git a/ru_RU.KOI8-R/articles/vm-design/fig3.eps b/ru_RU.KOI8-R/articles/vm-design/fig3.eps new file mode 100644 index 0000000000..0e3138b2ed --- /dev/null +++ b/ru_RU.KOI8-R/articles/vm-design/fig3.eps @@ -0,0 +1,133 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: fig3.eps +%%Creator: fig2dev Version 3.2.3 Patchlevel +%%CreationDate: Sun Oct 8 19:53:51 2000 +%%For: nik@canyon.nothing-going-on.org (Nik Clayton) +%%BoundingBox: 0 0 120 155 +%%Magnification: 1.0000 +%%EndComments +/$F2psDict 200 dict def +$F2psDict begin +$F2psDict /mtrx matrix put +/col-1 {0 setgray} bind def +/col0 {0.000 0.000 0.000 srgb} bind def +/col1 {0.000 0.000 1.000 srgb} bind def +/col2 {0.000 1.000 0.000 srgb} bind def +/col3 {0.000 1.000 1.000 srgb} bind def +/col4 {1.000 0.000 0.000 srgb} bind def +/col5 {1.000 0.000 1.000 srgb} bind def +/col6 {1.000 1.000 0.000 srgb} bind def +/col7 {1.000 1.000 1.000 srgb} bind def +/col8 {0.000 0.000 0.560 srgb} bind def +/col9 {0.000 0.000 0.690 srgb} bind def +/col10 {0.000 0.000 0.820 srgb} bind def +/col11 {0.530 0.810 1.000 srgb} bind def +/col12 {0.000 0.560 0.000 srgb} bind def +/col13 {0.000 0.690 0.000 srgb} bind def +/col14 {0.000 0.820 0.000 srgb} bind def +/col15 {0.000 0.560 0.560 srgb} bind def +/col16 {0.000 0.690 0.690 srgb} bind def +/col17 {0.000 0.820 0.820 srgb} bind def +/col18 {0.560 0.000 0.000 srgb} bind def +/col19 {0.690 0.000 0.000 srgb} bind def +/col20 {0.820 0.000 0.000 srgb} bind def +/col21 {0.560 0.000 0.560 srgb} bind def +/col22 {0.690 0.000 0.690 srgb} bind def +/col23 {0.820 0.000 0.820 srgb} bind def +/col24 {0.500 0.190 0.000 srgb} bind def +/col25 {0.630 0.250 0.000 srgb} bind def +/col26 {0.750 0.380 0.000 srgb} bind def +/col27 {1.000 0.500 0.500 srgb} bind def +/col28 {1.000 0.630 0.630 srgb} bind def +/col29 {1.000 0.750 0.750 srgb} bind def +/col30 {1.000 0.880 0.880 srgb} bind def +/col31 {1.000 0.840 0.000 srgb} bind def + +end +save +newpath 0 155 moveto 0 0 lineto 120 0 lineto 120 155 lineto closepath clip newpath +-174.0 370.0 translate +1 -1 scale + +/cp {closepath} bind def +/ef {eofill} bind def +/gr {grestore} bind def +/gs {gsave} bind def +/sa {save} bind def +/rs {restore} bind def +/l {lineto} bind def +/m {moveto} bind def +/rm {rmoveto} bind def +/n {newpath} bind def +/s {stroke} bind def +/sh {show} bind def +/slc {setlinecap} bind def +/slj {setlinejoin} bind def +/slw {setlinewidth} bind def +/srgb {setrgbcolor} bind def +/rot {rotate} bind def +/sc {scale} bind def +/sd {setdash} bind def +/ff {findfont} bind def +/sf {setfont} bind def +/scf {scalefont} bind def +/sw {stringwidth} bind def +/tr {translate} bind def +/tnt {dup dup currentrgbcolor + 4 -2 roll dup 1 exch sub 3 -1 roll mul add + 4 -2 roll dup 1 exch sub 3 -1 roll mul add + 4 -2 roll dup 1 exch sub 3 -1 roll mul add srgb} + bind def +/shd {dup dup currentrgbcolor 4 -2 roll mul 4 -2 roll mul + 4 -2 roll mul srgb} bind def +/$F2psBegin {$F2psDict begin /$F2psEnteredState save def} def +/$F2psEnd {$F2psEnteredState restore end} def + +$F2psBegin +%%Page: 1 1 +10 setmiterlimit + 0.06000 0.06000 sc +/Helvetica-Bold ff 180.00 scf sf +4125 4350 m +gs 1 -1 sc (C2) dup sw pop 2 div neg 0 rm col0 sh gr +% Polyline +7.500 slw +n 4871 5100 m 4879 5100 l gs col0 s gr +% Polyline +n 2925 5400 m 4575 5400 l 4575 6150 l 2925 6150 l + cp gs col0 s gr +% Polyline +n 4575 4650 m + 4875 4350 l gs col0 s gr +% Polyline +n 2925 4650 m 4575 4650 l 4575 5400 l 2925 5400 l + cp gs col0 s gr +% Polyline +n 4875 3600 m 4875 5100 l + 4575 5400 l gs col0 s gr +% Polyline +n 2925 4650 m 2925 3900 l 3225 3600 l + 4875 3600 l gs col0 s gr +% Polyline +n 2925 3900 m 4425 3900 l 4575 3900 l + 4875 3600 l gs col0 s gr +% Polyline +n 4575 4650 m + 4575 3900 l gs col0 s gr +% Polyline +n 3750 4650 m 3750 3900 l + 4050 3600 l gs col0 s gr +/Helvetica-Bold ff 180.00 scf sf +3750 5850 m +gs 1 -1 sc (A) dup sw pop 2 div neg 0 rm col0 sh gr +/Helvetica-Bold ff 180.00 scf sf +3750 5100 m +gs 1 -1 sc (B) dup sw pop 2 div neg 0 rm col0 sh gr +/Helvetica-Bold ff 180.00 scf sf +3375 4350 m +gs 1 -1 sc (C1) dup sw pop 2 div neg 0 rm col0 sh gr +% Polyline +n 4875 5100 m 4875 5850 l + 4575 6150 l gs col0 s gr +$F2psEnd +rs diff --git a/ru_RU.KOI8-R/articles/vm-design/fig4.eps b/ru_RU.KOI8-R/articles/vm-design/fig4.eps new file mode 100644 index 0000000000..24fc1b5add --- /dev/null +++ b/ru_RU.KOI8-R/articles/vm-design/fig4.eps @@ -0,0 +1,133 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: fig4.eps +%%Creator: fig2dev Version 3.2.3 Patchlevel +%%CreationDate: Sun Oct 8 19:55:53 2000 +%%For: nik@canyon.nothing-going-on.org (Nik Clayton) +%%BoundingBox: 0 0 120 155 +%%Magnification: 1.0000 +%%EndComments +/$F2psDict 200 dict def +$F2psDict begin +$F2psDict /mtrx matrix put +/col-1 {0 setgray} bind def +/col0 {0.000 0.000 0.000 srgb} bind def +/col1 {0.000 0.000 1.000 srgb} bind def +/col2 {0.000 1.000 0.000 srgb} bind def +/col3 {0.000 1.000 1.000 srgb} bind def +/col4 {1.000 0.000 0.000 srgb} bind def +/col5 {1.000 0.000 1.000 srgb} bind def +/col6 {1.000 1.000 0.000 srgb} bind def +/col7 {1.000 1.000 1.000 srgb} bind def +/col8 {0.000 0.000 0.560 srgb} bind def +/col9 {0.000 0.000 0.690 srgb} bind def +/col10 {0.000 0.000 0.820 srgb} bind def +/col11 {0.530 0.810 1.000 srgb} bind def +/col12 {0.000 0.560 0.000 srgb} bind def +/col13 {0.000 0.690 0.000 srgb} bind def +/col14 {0.000 0.820 0.000 srgb} bind def +/col15 {0.000 0.560 0.560 srgb} bind def +/col16 {0.000 0.690 0.690 srgb} bind def +/col17 {0.000 0.820 0.820 srgb} bind def +/col18 {0.560 0.000 0.000 srgb} bind def +/col19 {0.690 0.000 0.000 srgb} bind def +/col20 {0.820 0.000 0.000 srgb} bind def +/col21 {0.560 0.000 0.560 srgb} bind def +/col22 {0.690 0.000 0.690 srgb} bind def +/col23 {0.820 0.000 0.820 srgb} bind def +/col24 {0.500 0.190 0.000 srgb} bind def +/col25 {0.630 0.250 0.000 srgb} bind def +/col26 {0.750 0.380 0.000 srgb} bind def +/col27 {1.000 0.500 0.500 srgb} bind def +/col28 {1.000 0.630 0.630 srgb} bind def +/col29 {1.000 0.750 0.750 srgb} bind def +/col30 {1.000 0.880 0.880 srgb} bind def +/col31 {1.000 0.840 0.000 srgb} bind def + +end +save +newpath 0 155 moveto 0 0 lineto 120 0 lineto 120 155 lineto closepath clip newpath +-174.0 370.0 translate +1 -1 scale + +/cp {closepath} bind def +/ef {eofill} bind def +/gr {grestore} bind def +/gs {gsave} bind def +/sa {save} bind def +/rs {restore} bind def +/l {lineto} bind def +/m {moveto} bind def +/rm {rmoveto} bind def +/n {newpath} bind def +/s {stroke} bind def +/sh {show} bind def +/slc {setlinecap} bind def +/slj {setlinejoin} bind def +/slw {setlinewidth} bind def +/srgb {setrgbcolor} bind def +/rot {rotate} bind def +/sc {scale} bind def +/sd {setdash} bind def +/ff {findfont} bind def +/sf {setfont} bind def +/scf {scalefont} bind def +/sw {stringwidth} bind def +/tr {translate} bind def +/tnt {dup dup currentrgbcolor + 4 -2 roll dup 1 exch sub 3 -1 roll mul add + 4 -2 roll dup 1 exch sub 3 -1 roll mul add + 4 -2 roll dup 1 exch sub 3 -1 roll mul add srgb} + bind def +/shd {dup dup currentrgbcolor 4 -2 roll mul 4 -2 roll mul + 4 -2 roll mul srgb} bind def +/$F2psBegin {$F2psDict begin /$F2psEnteredState save def} def +/$F2psEnd {$F2psEnteredState restore end} def + +$F2psBegin +%%Page: 1 1 +10 setmiterlimit + 0.06000 0.06000 sc +/Helvetica-Bold ff 180.00 scf sf +3375 4350 m +gs 1 -1 sc (C1) dup sw pop 2 div neg 0 rm col0 sh gr +% Polyline +7.500 slw +n 4871 5100 m 4879 5100 l gs col0 s gr +% Polyline +n 2925 5400 m 4575 5400 l 4575 6150 l 2925 6150 l + cp gs col0 s gr +% Polyline +n 4575 4650 m + 4875 4350 l gs col0 s gr +% Polyline +n 2925 4650 m 4575 4650 l 4575 5400 l 2925 5400 l + cp gs col0 s gr +% Polyline +n 4875 4350 m 4875 5100 l + 4575 5400 l gs col0 s gr +% Polyline +n 2925 4650 m 2925 3900 l 3225 3600 l + 4050 3600 l gs col0 s gr +% Polyline +n 3750 4650 m 3750 3900 l + 4050 3600 l gs col0 s gr +% Polyline +n 2925 3900 m + 3750 3900 l gs col0 s gr +% Polyline +n 3750 4650 m 4050 4350 l + 4875 4350 l gs col0 s gr +% Polyline +n 4050 4350 m + 4050 3600 l gs col0 s gr +/Helvetica-Bold ff 180.00 scf sf +3750 5850 m +gs 1 -1 sc (A) dup sw pop 2 div neg 0 rm col0 sh gr +/Helvetica-Bold ff 180.00 scf sf +3750 5100 m +gs 1 -1 sc (B) dup sw pop 2 div neg 0 rm col0 sh gr +% Polyline +n 4875 5100 m 4875 5850 l + 4575 6150 l gs col0 s gr +$F2psEnd +rs diff --git a/ru_RU.KOI8-R/articles/zip-drive/Makefile b/ru_RU.KOI8-R/articles/zip-drive/Makefile new file mode 100644 index 0000000000..eec9ac0c43 --- /dev/null +++ b/ru_RU.KOI8-R/articles/zip-drive/Makefile @@ -0,0 +1,26 @@ +# +# $FreeBSD$ +# $FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/zip-drive/Makefile,v 1.2 2001/07/25 10:26:34 phantom Exp $ +# +# Original revision: 1.1 +# + +MAINTAINER=andy@FreeBSD.org.ua + +DOC?= article + +FORMATS?= html + +INSTALL_COMPRESSED?= gz +INSTALL_ONLY_COMPRESSED?= + +# +# SRCS lists the individual SGML files that make up the document. Changes +# to any of these files will force a rebuild +# + +# SGML content +SRCS= article.sgml + +DOC_PREFIX?= ${.CURDIR}/../../.. +.include "${DOC_PREFIX}/share/mk/doc.project.mk" diff --git a/ru_RU.KOI8-R/articles/zip-drive/article.sgml b/ru_RU.KOI8-R/articles/zip-drive/article.sgml new file mode 100644 index 0000000000..6c5fb01b36 --- /dev/null +++ b/ru_RU.KOI8-R/articles/zip-drive/article.sgml @@ -0,0 +1,299 @@ +<!-- + The FreeBSD Russian Documentation Project + + $FreeBSD$ + $FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/zip-drive/article.sgml,v 1.2 2001/06/30 11:18:56 phantom Exp $ + + Original revision: 1.2 +--> + +<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [ +<!ENTITY % man PUBLIC "-//FreeBSD//ENTITIES DocBook Manual Page Entities//EN"> +%man; +]> + +<article> + <articleinfo> + <title>���������� ZIP</title> + + <authorgroup> + <author> + <firstname>Jason</firstname> + <surname>Bacon</surname> + + <affiliation> + <address><email>acadix@execpc.com</email></address> + </affiliation> + </author> + </authorgroup> + </articleinfo> + + <sect1> + <title>����� ��������� ZIP</title> + + <para>����� ZIP �������� �������� ���������� ������� ������� �������, + ������ � ������ �� ������� ����� ����������� ������������ ZIP �� �������� + iomega. ����� ZIP ������ �� �������, ����� ����, ��� ��� �������� + ������� �������, � ����� ������� ������� �������. ����� ��� ������� + ������ ����� ������� � 1.44 ���������, ����� ZIP ����� ���� ���� + ��������������, �������� 100 � 250 ��������. ����� ZIP �� ����� + ������ � �����-��������� ������� � 120 ��������, ������ ��� ������� ����� + ����� �������� � � �������� ��������� ������� 1.44 ���������.</para> + + <para>IOMEGA ������� ����� ����� ����� � ���������������� ����������, + ������� ���������� JAZZ. ���������� JAZZ ������ ��������� 1 � 2 + ���������.</para> + + <para>���������� ZIP ��������� ��� �� �������, ��� � �� ���������� + ����������, � ���������� ���� �� ���� �����������:</para> + + <orderedlist> + <listitem> + <para>��������� SCSI (Small Computer Standard Interface) �������� ����� + �������, �������, ����������� � ����� �������. ��������� SCSI + ����������� �� ���� ����� ����������� �� PC �� ������� ������� RISC � + ���������������, ��� ����������� ������������� ���������, �����, ��� + �������� � ��������� ����������, ������� � ��� �����. ���������� ZIP + � ����������� SCSI ����� ���� �� ���������� � ������� ����������, � + ��������������, ��� ��� ������� ����� ������� ������.</para> + + <note> + <para>���� �� ����������� ������� ���������� SCSI, �� � ���� ������ + ������ ���������� ��� ��������� ��� �� ���� SCSI ��� ���������� + ����������. � ��������� ������ ��� ����� �������� � ����� �������� + ������� �� ������, ������� ���� ����������.</para> + </note> + + <para>���� �� ������ �������� ������������ ������������������ � + �������� ���������, �� ����� ����� ������������ ��������� SCSI. ��� + ����� ����������� ���������� SCSI-��������, ��� ��� ����������� PC + (�� ����������� ���������������������� ��������) �� ����� ���������� + ��������� SCSI. ������ SCSI-�������, � ����������� �� ������, ����� + ������������ 7 ��� 15 ��������� SCSI.</para> + + <para>������ SCSI-���������� ����� ����������� ����������, � ��� + ����������� ������ ������ � ������ ��������������� (������ ����� + `S' � ����� SCSI �������� Standard), ��� ��� � ����� ������ + ������������ ������� ��� ����� SCSI �������� �������� ���������, �� + �� ����� �������� ��������� SCSI � ��� �����. ��� ��������� + ��������� SCSI ������������ ������� ����� ������� ������ ��� + ����������� �������� � ������������� ������� ��� ������� ���� + ���������, ������� �������, ������� SCSI-�����, ������� SCSI-�������� + � ��� �����. ���� ��������� ���������� SCSI, � �������� ����� + ������������ ������������������� ���������� (� �������, �������� + DAT), �� ��� ����� �������� � � ������������� ���������. ������ + ������������� ������� ����� �� ������������ ��������� ������������ + ����������� ����������.</para> + + <para>������������� SCSI-���������� ZIP �������� � ����������� ����, + ����� ���� ���������� � �������� <filename>/dev</filename> + ������������� ���������� ZIP. ��� ����� ���� �������� �� ����������, + ���������� ��� �������� FreeBSD (����� �������� �� ����� ����� � + ����� <filename>/var/log/messages</filename>), ����� ������� �� + ������� ����� �������:</para> + + <programlisting> +da1: <IOMEGA ZIP 100 D.13> Removable Direct Access SCSI-2 Device + </programlisting> + + <para>��� ��������, ��� ���������� ZIP ������������� + <filename>/dev/da1</filename>.</para> + </listitem> + + <listitem> + <para>��������� IDE (Integrated Drive Electronics) �������� ������� + �����������, ������������ ������� �� ������ ���������� ��. + ����������� IDE-��������� �������� ������ �����������.</para> + + <para>������������������ ��������� ZIP � ����������� IDE �������� �� + SCSI-������������ ZIP. (��������� IDE �� ��� �����, ��� SCSI, �� + ������������������ ��������� ZIP ���������� � �������� ��������� + ����������, � �� ����������� ����.)</para> + + <para>������� ��� ������������� ���������� IDE �������� ��� + ��������������. ����������� ��������� IDE ����� ������������ ������ + ��� ����������, � ��������� IDE �� ��� ��������� �� ������� + ����������. ��������, ������������ ��������� IDE �� ������������ + ���������� � ����������� �������, ����������� 1024, ��� ���������� + ������ ����������� ��������� ����������. ���� � ��� ���� ����� �� + ���������� ������������ ������ �� ����������� ��������������� �����, + �������� ��� �������, ��� ����� ���������� � ������������ + SCSI-�������� � ���������� ZIP � ����������� SCSI �� ��������� + ������� � �������.</para> + + <para>���������� IDE �� FreeBSD ������������ ������ + <literal>w</literal>. ��������, ������� ���� IDE ����� ���������� + <filename>/dev/wd0</filename>, IDE (ATAPI) ������ �������-������ + ����� ���������� <filename>/dev/wcd1</filename>, � ��� �����.</para> + </listitem> + + <listitem> + <para>��������� ������������� ����� ��������� ��� ����������� ������� + ���������, �����, ��� ������� ���������� ZIP � �������, ������ ��� + ����������� ����� ��������� ����� ����������� ������������ ���� + (������ ������������ ��� ����������� ��������). ��� �������� ����� + ���, ��� ��������� ������ ����� ����������� ������������ ����������� + ������ ZIP-����������.</para> + + <para>��� �������, ������������������ ����� ����, ��� � ������ + ZIP-��������� � ������������ SCSI ��� IDE, ��� ��� ��� ���������� + ��������� ������������� �����. ���������� ����������� ������������� + ����� ����������� ����������� ����� ������� ������������, � �������� + ����� ������������� � BIOS ����������. ��������� ������� ����� ����� + ������������ ��������� BIOS �� ������ ������������� ����� � + ��������������� ������. (������������ ����� ���������� ���� + ������������� ������ ��� ������ �� ��������)</para> + </listitem> + </orderedlist> + </sect1> + + <sect1> + <title>���������� ZIP ��� ������������� �����: ������� ���������� + <devicename>vpo</devicename></title> + + <para>��� ������������� ZIP-���������� � ����������� ������������� ����� + �� FreeBSD � ���� ������ ���� �������������� ����������. ���������� ZIP + ��� ������������� ����� ����� ���������� ���������� SCSI. ������� vpo + ��������� ���� FreeBSD �������� �� SCSI-������������ ZIP-���������� ����� + ������������ ����.</para> + + <para>��� ��� ������� vpo �� ������ � ����������� ���� (������� � FreeBSD + 3.2), �� ��� ������������� ���������� ��� ���������� ����������� ����. + ������� ���������� ���� �������� ������ � ������ �������. ���� ��������� + ������� ������������������ ����� ��� ��������� �������� vpo:</para> + + <orderedlist> + <listitem> + <para>��������� <command>/stand/sysinstall</command> � ���������� � + ����� ������� �������� ��� ����.</para> + + <screen> +&prompt.root; <userinput>cd /sys/i386/conf</userinput> +&prompt.root; <userinput>cp GENERIC MYKERNEL</userinput> + </screen> + + <para>�������������� ���� <filename>MYKERNEL</filename>, ������� ������ + <literal>ident</literal> �� <literal>MYKERNEL</literal> � + ���������������� �������, ����������� ������� vpo.</para> + + <para>���� � ��� ������� ������ ������������ ����, ��� ����� + ������������� ����������� ������ ��� <literal>ppc0</literal>, ����� + ������� ���������� <literal>ppc1</literal>. ������ ������������ + ����, ��� �������, ���������� IRQ 5 � ����� 378. � ���������������� + ����� ��������� ������� ������ IRQ.</para> + + <para>���� ���� � �������� �������� �������� �������� ������ � + ����������� SCSI, �� �� ������ ����������� � ��������� � + ������������������ ����������� ���������, ��� ����� �������� � + ������� ������������� ZIP-���������� � �������� ����� � �������� + �������� ��������. ��� ����� ��������� � ������ ��������, ���� �� �� + ��������� �������� �������� ������� FreeBSD �� ��� ZIP-����! ��� + ����� ��� ����� <quote>�������������</quote> �������� ����, � ������ + ��������� ���� ������������� ��������� ���������� � ����������� + <filename>/dev/da0</filename>, �� ���� � �������� SCSI-������. ����� + ZIP-���� ����� ������ �� ��������� ��������� SCSI-������, ��������, � + <literal>/dev/da1</literal>. ��� ����, ����� ��������� ��� SCSI-���� + � ���������� <literal>da0</literal>, �������� ������� + + <programlisting>device da0</programlisting> + + �� + + <programlisting>disk da0 at scbus0 target 0 unit 0</programlisting> + </para> + + <para>��� ����� ������������� ������� ����� ���������� (target) ���� �� + SCSI ID ������ �����. ����� ��� ����� ��������� scbus0 � ������ + �����������. ��������, ���� � ��� ���������� ���������� Adaptec + 15xx, ��� ����� ������� + + <programlisting>controller scbus0</programlisting> + + �� + + <programlisting>controller scbus0 at aha0</programlisting> + </para> + + <para>� �������, ��� �� ������������ ���������������� ���� ����, �� + ������ ������ ������� ��� �������� ��������. ��� ����� ������ � + ������� �������������, � ������ ���� �� ������� �� �������� + ����������. �������� �������� ��������� �������� ������ ����, ��� + ���� ������ ������ ��� ����� ����������. ��� ����������� ����, + ����� �������� �� �����, ��������� � ����� ����� + <filename>/var/log/messages</filename>, � ������� ������� � + ������������ "not found". ����� ��������������� ��� ���������� � + ���������������� ����� ������ ����. �� ������ ����� �������� ������ + ��������� ��� ���������� ������� � ��������� ������ ������ ����. + �������� ������ � �������������� ������ ���� ��� ��������� ����� + ������ ����������.</para> + </listitem> + + <listitem> + <para>������ ������ ����� ���������� ����:</para> + + <screen> +&prompt.root; <userinput>/usr/sbin/config MYKERNEL</userinput> +&prompt.root; <userinput>cd ../../compile/MYKERNEL</userinput> +&prompt.root; <userinput>make clean depend && make all install</userinput> + </screen> + </listitem> + </orderedlist> + + <para>����� ����, ��� ���� ����� �����������, ��� ����� ��������� + ������������. ����� ���, ��� ��� �������, ��������������, ��� + ZIP-���������� ���������� � ������������� �����. �� ������ ������� + ZIP-���������� ����� ���������, ���������� ��� ��������, ��� ���������� + vpo0 ��� vpo1, � ����������� �� ����, � ������ ������������� ����� + ��� ����������. ����� ����, ����� �������, � ������ ����� ���������� + ��� �������� ZIP-����. ��� ����� <filename>/dev/da0</filename>, ���� + � ������� ��� ������ SCSI-������, ��� <filename>/dev/da1</filename> � + ������, ���� ��� SCSI-���� ������������ � �������� ��������� + ����������.</para> + </sect1> + + <sect1> + <title>������������ ������ ZIP</title> + + <para>��� ������ � ZIP-������ �� ������ ��� ������������, ����� ��� ��, ��� + � ����� ������ �������� ����������. �������� ������� �� ���������� + ������������ ��� ����� 4, ������� ��� ��������� � ������������ ��� + SCSI-����������� ��� ����� ������� ���������:</para> + + <screen> +&prompt.root; <userinput>mount_msdos /dev/da1s4 /mnt</userinput> + </screen> + + <para>��� ��������� ZIP � ����������� IDE ����������� ��� ���:</para> + + <screen> +&prompt.root; <userinput>mount_msdos /dev/wd1s4 /mnt</userinput> + </screen> + + <para>��� ���������� ������������ ����� ������� ����� �������� ���� + <filename>/etc/fstab</filename>. �������� ������, ��������������� + ����� �������, ��������� ���������: + + <programlisting>/dev/da1s4 /zip msdos rw,noauto 0 0</programlisting> + + � �������� ������� <filename>/zip</filename>. + </para> + + <para>������ �� ������ ����������� ���� ������ �� ������� + + <screen>&prompt.root; <userinput>mount /zip</userinput></screen> + + � ��������� ��������������� �� ������� + + <screen>&prompt.root; <userinput>umount /zip</userinput></screen> + </para> + + <para>����� ��������� ���������� � ������� ����� + <filename>/etc/fstab</filename> ��������� � &man.fstab.5;.</para> + + <para>�� ������ ����� ������� �������� ������� FreeBSD �� ZIP-����� ��� + ������ &man.newfs.8;. ������ ���� ����� ����� ������������ ������ � + ������� FreeBSD �, ����� ����, � ��� ����������� ������� Unix, ������� + ���������� �������� ������� FreeBSD. (����������� ����� �� ����� ������ + DOS � Windows.)</para> + </sect1> +</article> \ No newline at end of file