+ ru/articles & ru/books/handbook: restore <replaceable> tags, which

were lost during conversion to the DocBook5.

P.S.: special thanks to wblock@ for his script [1], which made this
  task much easier.

1. http://lists.freebsd.org/pipermail/freebsd-doc/2014-March/023463.html
This commit is contained in:
Taras Korenko 2014-06-13 14:53:24 +00:00
parent 653f1e8d0c
commit e5712d4822
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=45050
40 changed files with 445 additions and 445 deletions
ru_RU.KOI8-R
articles
committers-guide
console-server
cups
custom-gcc
cvs-freebsd
fbsd-from-scratch
fonts
geom-class
ipsec-must
mh
new-users
pam
portbuild
problem-reports
releng
solid-state
books/handbook
advanced-networking
basics
boot
bsdinstall
config
cutting-edge
desktop
disks
filesystems
firewalls
geom
install
kernelconfig
l10n
linuxemu
mac
mirrors
multimedia
network-servers
ports
ppp-and-slip
printing
security
serialcomms

View file

@ -87,9 +87,9 @@
&a.src-developers;, &a.src-committers;. (Каждому репозиторию
проекта соответствуют отдельные списки рассылки с суффиксами
-developers и -committers. Архивы этих списков хранятся в файлах
<filename>/home/mail/repository-name-developers-archive</filename>
<filename>/home/mail/<replaceable>repository-name</replaceable>-developers-archive</filename>
и
<filename>/home/mail/repository-name-committers-archive</filename>
<filename>/home/mail/<replaceable>repository-name</replaceable>-committers-archive</filename>
на машинах кластера <systemitem class="fqdomainname">FreeBSD.org</systemitem>).
</entry>
</row>
@ -337,7 +337,7 @@ alias scvs cvs -d <replaceable>user</replaceable>@ncvs.FreeBSD.org:/home/ncvs</p
<para>Теперь все операции с CVS могут выполняться на локальной машине,
а для внесения изменений в официальное дерево CVS следует использовать
ËÏÍÁÎÄÕ <command>Xcvs commit</command>.
ËÏÍÁÎÄÕ <command><replaceable>X</replaceable>cvs commit</command>.
Если вам нужно добавить в проект что-либо совершенно новое (например,
исходные тексты сторонних разработчиков), нужно использовать команду
<command>cvs import</command>; обратитесь к странице справочника по
@ -1136,7 +1136,7 @@ Host pcvs.FreeBSD.org
</listitem>
<listitem>
<para>äÏÂÁרÔÅ ÓÅÂÑ × ÆÁÊÌ <filename>src/share/misc/committers-ÒÅÐÏÚÉÔÏÒÉÊ.dot</filename>,
<para>äÏÂÁרÔÅ ÓÅÂÑ × ÆÁÊÌ <filename>src/share/misc/committers-<replaceable>ÒÅÐÏÚÉÔÏÒÉÊ</replaceable>.dot</filename>,
где репозиторием будет являться либо doc, либо ports, либо src в зависимости от полученных вами коммиттерских
привилегий.</para>
</listitem>
@ -1162,7 +1162,7 @@ Host pcvs.FreeBSD.org
<listitem>
<para>Зайдите на машину <systemitem>hub.FreeBSD.org</systemitem> и создайте
ÆÁÊÌ <filename>/var/forward/user</filename>
ÆÁÊÌ <filename>/var/forward/<replaceable>user</replaceable></filename>
(замените <replaceable>user</replaceable> на ваше имя пользователя).
Этот файл должен содержать адрес электронной почты, на который
будет переправляться вся почта на адрес
@ -1345,7 +1345,7 @@ Host pcvs.FreeBSD.org
использует <application>GNATS</application>. Если вы исправили ошибку
или внесли изменения, описанные в одном из сообщений об ошибках (PR),
не забудьте закрыть это сообщение, используя команду
<command>edit-pr pr-number</command> ÎÁ ÍÁÛÉÎÅ
<command>edit-pr <replaceable>pr-number</replaceable></command> ÎÁ ÍÁÛÉÎÅ
<systemitem>freefall</systemitem>. Хорошо будет, если вы потратите немного
времени на поиск и закрытие других PR по этой теме. Вы и сами можете
пользоваться &man.send-pr.1; для предложения изменений, которые, по
@ -1670,7 +1670,7 @@ docs:Documentation Bug:freebsd-doc:</programlisting>
<filename>$HOME/.ssh/id_dsa.pub</filename>
или <filename>$HOME/.ssh/id_rsa.pub</filename>)
вашему будущему ментору, чтобы он мог быть помещен в файл
<filename>yourlogin</filename> × ËÁÔÁÌÏÇÅ
<filename><replaceable>yourlogin</replaceable></filename> × ËÁÔÁÌÏÇÅ
<filename>/c/ssh-keys/</filename> на машине
<systemitem>freefall</systemitem>.
</para>
@ -2343,7 +2343,7 @@ docs:Documentation Bug:freebsd-doc:</programlisting>
<screen>&prompt.root; <userinput>make install</userinput>
&prompt.root; <userinput>make package</userinput>
&prompt.root; <userinput>make deinstall</userinput>
&prompt.root; <userinput>pkg_add ÉÍÑ ÓÏÂÒÁÎÎÏÇÏ ÐÁËÅÔÁ</userinput>
&prompt.root; <userinput>pkg_add <replaceable>ÉÍÑ ÓÏÂÒÁÎÎÏÇÏ ÐÁËÅÔÁ</replaceable></userinput>
&prompt.root; <userinput>make deinstall</userinput>
&prompt.root; <userinput>make reinstall</userinput>
&prompt.root; <userinput>make package</userinput>
@ -2363,7 +2363,7 @@ docs:Documentation Bug:freebsd-doc:</programlisting>
<para>Закройте PR, если новый порт пришел в виде PR. Для этого
воспользуйтесь командой
<userinput>edit-pr PR#</userinput>
<userinput>edit-pr <replaceable>PR#</replaceable></userinput>
на машине <systemitem>freefall</systemitem> и измените значение в строке
<varname>state</varname> с <constant>open</constant> на
<constant>closed</constant>. Затем опишите причину смены
@ -2786,8 +2786,8 @@ docs:Documentation Bug:freebsd-doc:</programlisting>
<para>Для проверки следует использовать скрипт
<filename>chkorigin.sh</filename>: <command>env
PORTSDIR=/path/to/ports
sh -e /path/to/ports/Tools/scripts/chkorigin.sh
PORTSDIR=<replaceable>/path/to/ports</replaceable>
sh -e <replaceable>/path/to/ports</replaceable>/Tools/scripts/chkorigin.sh
</command>. Эта команда проверит
<emphasis>каждый</emphasis> порт в дереве, в том числе и
те, что не включены в процесс сборки, так что ее можно
@ -2854,7 +2854,7 @@ docs:Documentation Bug:freebsd-doc:</programlisting>
<listitem>
<para>
Добавьте в каталог
<filename>distrib/cvsup/sup/ports-categoryname</filename>
<filename>distrib/cvsup/sup/ports-<replaceable>categoryname</replaceable></filename>
два файла:
<filename>list.cvs</filename> и
<filename>releases</filename>.</para>
@ -3035,7 +3035,7 @@ bak/packages
получить доступ к машине
<systemitem class="fqdomainname">cvsup-master.FreeBSD.org</systemitem>, приложив
вывод команды <command>cvpasswd
yourusername@FreeBSD.org
<replaceable>yourusername</replaceable>@FreeBSD.org
freefall.FreeBSD.org</command>. Обратите внимание: в командной
строке вы должны указать <systemitem>freefall.FreeBSD.org</systemitem>,
хотя реальным сервером будет <systemitem>cvsup-master</systemitem>.

View file

@ -424,7 +424,7 @@
Перейдите в каталог этого порта и
(работая как пользователь <systemitem class="username">root</systemitem>) наберите:</para>
<screen>&prompt.root; <userinput>make DEFAULTHOST=consolehost install</userinput></screen>
<screen>&prompt.root; <userinput>make DEFAULTHOST=<replaceable>consolehost</replaceable> install</userinput></screen>
<para>где <replaceable>consolehost</replaceable> является именем
машины, на которой работает консольный сервер. Задание этого при
@ -506,22 +506,22 @@ trusted: 127.0.0.1 buzz</programlisting>
будут располагаться в каталоге <filename>/var/log/consoles</filename>.
Символ <quote>&amp;</quote> в каждой строке указывает на то, что файл
журнала для этой машины будет называться
<filename>/var/log/consoles/machine</filename>.</para>
<filename>/var/log/consoles/<replaceable>machine</replaceable></filename>.</para>
<para>В следующих трёх строках показаны три машины, к которым нам нужно
подключаться. Мы используем устройства
<filename>cuaEx</filename> ×ÍÅÓÔÏ
<filename>ttyEx</filename>, ĞÏÔÏÍÕ ŞÔÏ
<filename>cuaE<replaceable>x</replaceable></filename> ×ÍÅÓÔÏ
<filename>ttyE<replaceable>x</replaceable></filename>, ĞÏÔÏÍÕ ŞÔÏ
на консольных портах обычно отсутствует несущая. Это означает, что
ÏÔËÒÙÔÉÅ <filename>ttyEx</filename>
ÏÔËÒÙÔÉÅ <filename>ttyE<replaceable>x</replaceable></filename>
будет зависать, и <application>conserver</application> никогда не
сможет осуществить подключение. Использование устройства
<filename>cuaEx</filename> ĞÏÚ×ÏÌÑÅÔ
<filename>cuaE<replaceable>x</replaceable></filename> ĞÏÚ×ÏÌÑÅÔ
уйти от этой проблемы. Другим решением будет использование устройств
<filename>ttyEx</filename> É ÒÁÚÒÅÛÅÎÉÅ
<filename>ttyE<replaceable>x</replaceable></filename> É ÒÁÚÒÅÛÅÎÉÅ
использования на этим портах <quote>программной несущей</quote>,
возможно, путём установки этого при помощи устройства
<filename>ttyiEx</filename> × ÆÁÊÌÅ
<filename>ttyiE<replaceable>x</replaceable></filename> × ÆÁÊÌÅ
<filename>/etc/rc.serial</filename>. Посмотрите комментарии в этом
файле для выяснения всех деталей. Также посмотрите &man.sio.4; для
получения информации об устройствах с начальным состоянием и с

View file

@ -114,7 +114,7 @@ add path 'usb/<replaceable>X</replaceable>.<replaceable>Y</replaceable>.<replace
в каталоге <filename>/dev/usb</filename>. Чтобы
найти требуемые значения, просмотрите вывод &man.dmesg.8; и найдите
связанное с вашим принтером имя специального устройства
<filename>ugenX.Y</filename>,
<filename>ugen<replaceable>X</replaceable>.<replaceable>Y</replaceable></filename>,
последнее будет символической ссылкой на искомое устройство в каталоге
<filename>/dev/usb</filename>.</para>
</note>

View file

@ -90,7 +90,7 @@
<para>äÌÑ ÕÓÔÁÎÏ×ËÉ ÏÄÎÏÇÏ ÉÚ ×ÙÛÅÕÐÏÍÑÎÕÔÙÈ ÐÏÒÔÏ×
<application>GCC</application>, ÎÁÂÅÒÉÔÅ ÓÌÅÄÕÀÝÕÀ ËÏÍÁÎÄÕ:</para>
<screen>&prompt.root; <userinput>cd /usr/ports/lang/gcc44 &amp;&amp; make install</userinput></screen>
<screen>&prompt.root; <userinput>cd /usr/ports/lang/<replaceable>gcc44</replaceable> &amp;&amp; make install</userinput></screen>
</sect2>
</sect1>

View file

@ -83,7 +83,7 @@
инициализировать, для чего выдать <application>CVS</application>
такую команду:</para>
<screen>&prompt.user; <userinput>cvs -d path-to-repository init</userinput></screen>
<screen>&prompt.user; <userinput>cvs -d <replaceable>path-to-repository</replaceable> init</userinput></screen>
<para>Результатом ее выполнения будет созданный
<application>CVS</application> служебный
@ -99,12 +99,12 @@
могли писать в хранилище. Для этой группы мы примем стандартное для
FreeBSD название <literal>ncvs</literal>.</para>
<screen>&prompt.root; <userinput>pw groupadd ncvs</userinput></screen>
<screen>&prompt.root; <userinput>pw groupadd <replaceable>ncvs</replaceable></userinput></screen>
<para>Затем вы должны при помощи команды &man.chown.8; сменить владельца и
группу для только что добавленного каталога:</para>
<screen>&prompt.root; <userinput>chown -R :ncvs path-to-your-repository</userinput></screen>
<screen>&prompt.root; <userinput>chown -R :<replaceable>ncvs</replaceable> <replaceable>path-to-your-repository</replaceable></userinput></screen>
<para>Это нужно для того, чтобы никто не мог записывать в хранилище, не
являясь членом группы.</para>
@ -141,7 +141,7 @@
<filename>CVSROOT</filename> и скопируйте файлы FreeBSD поверх ваших
локальных (неизмененных) копий:</para>
<screen>&prompt.user; <userinput>cvs -d path-to-your-repository checkout CVSROOT</userinput>
<screen>&prompt.user; <userinput>cvs -d <replaceable>path-to-your-repository</replaceable> checkout CVSROOT</userinput>
&prompt.user; <userinput>cd CVSROOT</userinput>
&prompt.user; <userinput>cp ../CVSROOT-freebsd/* .</userinput>
&prompt.user; <userinput>cvs add *</userinput></screen>
@ -584,7 +584,7 @@
себя. Так что убедитесь, что всё именно так, как вы и предполагали, а
затем выполните следующее:</para>
<screen>&prompt.user; <userinput>cvs commit -m '- Initial FreeBSD scripts commit'</userinput></screen>
<screen>&prompt.user; <userinput>cvs commit -m '<replaceable>- Initial FreeBSD scripts commit</replaceable>'</userinput></screen>
</sect2>
<sect2>
@ -594,7 +594,7 @@
<filename>avail</filename>, чтобы убедиться, что всё работает так, как
ожидалось.</para>
<screen>&prompt.user; <userinput>cvs commit -f -m 'Forced commit to test the new CVSROOT scripts' avail</userinput></screen>
<screen>&prompt.user; <userinput>cvs commit -f -m '<replaceable>Forced commit to test the new CVSROOT scripts</replaceable>' avail</userinput></screen>
<para>Если всё работает, поздравляем! Теперь у вас имеется работающая
настройка скриптов FreeBSD для вашего хранилища. Если
@ -694,7 +694,7 @@
<screen>&prompt.root; <userinput>mv /usr/bin/cvs /usr/bin/ncvs</userinput>
&prompt.root; <userinput>mv cvs /usr/bin/cvs</userinput>
&prompt.root; <userinput>chown root:ncvs /usr/bin/cvs /usr/bin/ncvs</userinput>
&prompt.root; <userinput>chown root:<replaceable>ncvs</replaceable> /usr/bin/cvs /usr/bin/ncvs</userinput>
&prompt.root; <userinput>chmod o-rx /usr/bin/ncvs</userinput>
&prompt.root; <userinput>chmod u-w,g+s /usr/bin/cvs</userinput></screen>
@ -718,7 +718,7 @@
протестировать его, выполнив принудительный коммит в файл
<filename>access</filename>:</para>
<screen>&prompt.user; <userinput>cvs commit -f -m 'Forced commit to test the new CVSROOT scripts' access</userinput></screen>
<screen>&prompt.user; <userinput>cvs commit -f -m '<replaceable>Forced commit to test the new CVSROOT scripts</replaceable>' access</userinput></screen>
<para>И снова, если это не сработает, проверьте, правильно ли были выполнены
все вышеперечисленные шаги.</para>

View file

@ -253,7 +253,7 @@
аргументом, например</para>
<informalexample>
<screen>&prompt.root; <userinput>./stage_1.sh default</userinput></screen>
<screen>&prompt.root; <userinput>./stage_1.sh <replaceable>default</replaceable></userinput></screen>
</informalexample>
<para>будет считывать свою конфигурацию из файла
@ -326,7 +326,7 @@
<listitem>
<para>успешно выполнили <command>make buildkernel
KERNCONF=whatever</command></para>
KERNCONF=<replaceable>whatever</replaceable></command></para>
</listitem>
</itemizedlist>
@ -455,7 +455,7 @@ Do you wish to delete what is left of /var/tmp/temproot.stage1? [no] <userinput>
указывающим на конфигурационный файл, к примеру</para>
<informalexample>
<screen>&prompt.root; <userinput>./stage_2.sh default</userinput></screen>
<screen>&prompt.root; <userinput>./stage_2.sh <replaceable>default</replaceable></userinput></screen>
</informalexample>
<para>который будет считывать перечень портов из
@ -529,7 +529,7 @@ news inn-stable CONFIGURE_ARGS="--enable-uucp-rnews --enable-setgid-inews"
то, что вы хотите конфигурировать, следующим простым вызовом:</para>
<informalexample>
<screen>&prompt.root; <userinput>make -f stage_3.mk target</userinput></screen>
<screen>&prompt.root; <userinput>make -f stage_3.mk <replaceable>target</replaceable></userinput></screen>
</informalexample>
<para>Как и в случае с <filename>stage_2.sh</filename>, убедитесь, что файл

View file

@ -741,7 +741,7 @@ EOF</userinput>
<para>óÏÚÄÁÊÔÅ ÆÁÊÌ <filename>.afm</filename> ÐÏ ÔÁËÏÊ ËÏÍÁÎÄÅ:</para>
<screen>
<prompt>%</prompt> <userinput>gs -dNODISPLAY -q -- ttf2pf.ps TTF_name PS_font_name AFM_name</userinput>
<prompt>%</prompt> <userinput>gs -dNODISPLAY -q -- ttf2pf.ps <replaceable>TTF_name</replaceable> <replaceable>PS_font_name</replaceable> <replaceable>AFM_name</replaceable></userinput>
</screen>
<para>úÄÅÓØ <replaceable>TTF_name</replaceable> ÏÂÏÚÎÁÞÁÅÔ ×ÁÛ ÆÁÊÌ ÓÏ
@ -796,7 +796,7 @@ Converting 3of9.ttf to A.pfa and B.afm.
<screen>
<prompt>%</prompt> <userinput>afmtodit -d DESC -e text.enc file.afm \
generate/textmap PS_font_name</userinput>
generate/textmap <replaceable>PS_font_name</replaceable></userinput>
</screen>
<para>úÄÅÓØ <filename>file.afm</filename> Ñ×ÌÑÅÔÓÑ ÆÁÊÌÏÍ

View file

@ -496,7 +496,7 @@ KMOD=geom_journal
<listitem>
<para>программа решает каким классом geom ей придется
управлять и ищет библиотеку
<filename>geom_CLASSNAME.so</filename>
<filename>geom_<replaceable>CLASSNAME</replaceable>.so</filename>
(которая обычно находится в <filename>/lib/geom</filename>).</para>
</listitem>

View file

@ -99,7 +99,7 @@
<para>ëÏÍÁÎÄÁ</para>
<screen><userinput>tcpdump -c 4000 -s 10000 -w dumpfile.bin</userinput></screen>
<screen><userinput>tcpdump -c 4000 -s 10000 -w <replaceable>dumpfile.bin</replaceable></userinput></screen>
<para>ÓÏÈÒÁÎÉÔ 4000 ÐÁËÅÔÏ× × ÆÁÊÌ
<replaceable>dumpfile.bin</replaceable>. ÷ ÄÁÎÎÏÍ ÐÒÉÍÅÒÅ ÏÂߣÍ
@ -142,8 +142,8 @@
(7,18), Á ÏÂÙÞÎÏÅ ÓÏÅÄÉÎÅÎÉÅ &mdash; ×ÓÅÇÏ ÌÉÛØ 29%
(2,1).</para>
<screen>&prompt.user; <userinput>tcpdump -c 4000 -s 10000 -w ipsecdemo.bin</userinput>
&prompt.user; <userinput>uliscan ipsecdemo.bin</userinput>
<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

View file

@ -149,7 +149,7 @@
<informalexample>
<screen>
&prompt.user; <userinput>inc -host mail.pop.org -user username -norpop</userinput>
&prompt.user; <userinput>inc -host mail.pop.org -user <replaceable>username</replaceable> -norpop</userinput>
</screen>
</informalexample>
@ -228,7 +228,7 @@
ÐÒÏÓËÁÎÉÒÏ×ÁÔØ ÐÏÞÔÏ×ÙÊ ÑÝÉË Ó ×ÈÏÄÑÝÅÊ ÐÏÞÔÏÊ ×Ï FreeBSD ÂÅÚ
ÉÓÐÏÌØÚÏ×ÁÎÉÑ ËÏÍÁÎÄÙ <command>inc</command>, ÔÏ ÜÔÏ ÍÏÖÎÏ ÓÄÅÌÁÔØ
ËÏÍÁÎÄÏÊ <command>scan -file
/var/mail/username</command>. üÔÏ ÍÏÖÎÏ
/var/mail/<replaceable>username</replaceable></command>. üÔÏ ÍÏÖÎÏ
ÓÄÅÌÁÔØ Ó ÌÀÂÙÍ ÆÁÊÌÏÍ × ÆÏÒÍÁÔÅ <database>mbox</database>.</para>
</sect2>
@ -564,7 +564,7 @@ which I am probably the guilty party).</screen>
×ÁÛÉÍÉ ÐÁÐËÁÍÉ. ðÒÏÇÒÁÍÍÁ <command>folder</command> ÉÓÐÏÌØÚÕÅÔÓÑ ÄÌÑ
ÐÅÒÅËÌÀÞÅÎÉÑ ÍÅÖÄÕ ÐÁÐËÁÍÉ, ÉÈ ÓÖÁÔÉÑ É ×Ù×ÏÄÁ ÉÈ ÓÐÉÓËÁ. ÷ ÓÁÍÏÍ
ÐÒÏÓÔÏÍ ÓÌÕÞÁÅ ×Ù ÍÏÖÅÔÅ ×ÙÐÏÌÎÉÔØ ËÏÍÁÎÄÕ <command>folder
+newfolder</command>, É ×Ù ÐÅÒÅËÌÀÞÉÔÅÓØ ÎÁ
+<replaceable>newfolder</replaceable></command>, É ×Ù ÐÅÒÅËÌÀÞÉÔÅÓØ ÎÁ
ÐÁÐËÕ <replaceable>newfolder</replaceable>. ó ÜÔÏÇÏ ÍÏÍÅÎÔÁ ×ÓÅ ×ÁÛÉ
ËÏÍÁÎÄÙ <application>MH</application> ÔÉÐÁ <command>comp</command>, <command>repl</command>,
<command>scan</command> É <command>show</command> ÂÕÄÕÔ ×ÙÐÏÌÎÑÔØÓÑ ÎÁÄ

View file

@ -247,7 +247,7 @@
<varlistentry>
<term><command>view
filename</command></term>
<replaceable>filename</replaceable></command></term>
<listitem>
<para>Позволяет вам просмотреть файл (с именем
@ -260,7 +260,7 @@
<varlistentry>
<term><command>cat
filename</command></term>
<replaceable>filename</replaceable></command></term>
<listitem>
<para>Выдаёт содержимое <replaceable>filename</replaceable> на экран.
@ -296,7 +296,7 @@
<variablelist>
<varlistentry>
<term><command>apropos text</command></term>
<term><command>apropos <replaceable>text</replaceable></command></term>
<listitem>
<para>Всё, что содержит строку <replaceable>text</replaceable> в
@ -305,7 +305,7 @@
</varlistentry>
<varlistentry>
<term><command>man text</command></term>
<term><command>man <replaceable>text</replaceable></command></term>
<listitem>
<para>Страница справки по <replaceable>text</replaceable>. Это
@ -323,7 +323,7 @@
</varlistentry>
<varlistentry>
<term><command>which text</command></term>
<term><command>which <replaceable>text</replaceable></command></term>
<listitem>
<para>Покажет, в каком месте из маршрута поиска пользователя
@ -332,7 +332,7 @@
</varlistentry>
<varlistentry>
<term><command>locate text</command></term>
<term><command>locate <replaceable>text</replaceable></command></term>
<listitem>
<para>Все маршруты, где находится строчка
@ -341,7 +341,7 @@
</varlistentry>
<varlistentry>
<term><command>whatis text</command></term>
<term><command>whatis <replaceable>text</replaceable></command></term>
<listitem>
<para>Описывает, что делает команда <replaceable>text</replaceable>
@ -351,7 +351,7 @@
</varlistentry>
<varlistentry>
<term><command>whereis text</command></term>
<term><command>whereis <replaceable>text</replaceable></command></term>
<listitem>
<para>Ищет файл <replaceable>text</replaceable> и выдаёт полный путь
@ -369,7 +369,7 @@
<command>script</command>. Команда <command>more</command> позволит
вам читать постранично, как и в DOS, например, <command>ls -l |
more</command> или <command>more
filename</command>. úÎÁË
<replaceable>filename</replaceable></command>. úÎÁË
<literal>*</literal> работает как общий шаблон&mdash;например,
<command>ls w*</command> выдаст перечень файлов, начинающихся с буквы
<literal>w</literal>.</para>
@ -468,7 +468,7 @@
<para>Для редактирования файла наберите</para>
<informalexample>
<screen>&prompt.root; <userinput>vi filename</userinput></screen>
<screen>&prompt.root; <userinput>vi <replaceable>filename</replaceable></userinput></screen>
</informalexample>
<para>Передвигайтесь по тексту при помощи клавиш со стрелками.
@ -541,7 +541,7 @@
</varlistentry>
<varlistentry>
<term><command>/text</command></term>
<term><command>/<replaceable>text</replaceable></command></term>
<listitem>
<para>для перемещения курсора на <replaceable>text</replaceable>;
@ -560,7 +560,7 @@
</varlistentry>
<varlistentry>
<term><command>nG</command></term>
<term><command><replaceable>n</replaceable>G</command></term>
<listitem>
<para>Для перехода к строке <replaceable>n</replaceable> в файле,
@ -589,7 +589,7 @@
<para>Поупражняйтесь с редактором <command>vi</command> в своём домашнем
каталоге, создав новый файл по команде <command>vi
filename</command>, ÄÏÂÁ×ÌÑÑ É ÕÄÁÌÑÑ ÔÅËÓÔ,
<replaceable>filename</replaceable></command>, ÄÏÂÁ×ÌÑÑ É ÕÄÁÌÑÑ ÔÅËÓÔ,
сохраняя файл и вызывая его снова. Редактор <command>vi</command>
преподносит некоторые сюрпризы, потому что он на самом деле достаточно
сложный, и иногда вы можете неправильно вызвать команду, которая сделает
@ -723,7 +723,7 @@
</varlistentry>
<varlistentry>
<term><command>rm filename</command></term>
<term><command>rm <replaceable>filename</replaceable></command></term>
<listitem>
<para>удаляет <replaceable>filename</replaceable>.</para>
@ -731,7 +731,7 @@
</varlistentry>
<varlistentry>
<term><command>rm -R dir</command></term>
<term><command>rm -R <replaceable>dir</replaceable></command></term>
<listitem>
<para>удаляет каталог <replaceable>dir</replaceable> и все его
@ -773,7 +773,7 @@
её подкаталогов при помощи команды</para>
<informalexample>
<screen>&prompt.user; <userinput>find /usr -name "filename"</userinput></screen>
<screen>&prompt.user; <userinput>find /usr -name "<replaceable>filename</replaceable>"</userinput></screen>
</informalexample>
<para>Вы можете использовать <literal>*</literal> в качестве шаблона внутри
@ -799,7 +799,7 @@
также Web-сайте находятся различные пакеты и порты. В Руководстве
рассказывается более подробно о том, как их использовать (получить
пакет, если он существует, командой <command>pkg_add
/cdrom/packages/All/packagename</command>,
/cdrom/packages/All/<replaceable>packagename</replaceable></command>,
где <replaceable>packagename</replaceable> является именем файла
пакета). На CDROM находится перечни пакетов и портов с их краткими
описаниями в файлах <filename>cdrom/packages/index</filename>,

View file

@ -525,7 +525,7 @@ sshd password required pam_permit.so</programlisting>
<title xml:id="pam-module-naming.title">Именование модулей</title>
<para>Во FreeBSD каждый механизм реализуется в отдельном модуле с
<20>턱터 <literal>pam_mechanism.so</literal>
<20>턱터 <literal>pam_<replaceable>mechanism</replaceable>.so</literal>
(например, <literal>pam_unix.so</literal> для механизма &unix;.)
В других реализациях иногда отдельные модули используются для разных
подсистем, и в их имя включается, кроме названия механизма, и имя

View file

@ -102,17 +102,17 @@
<para>Пакеты собираются в ограниченной (<literal>chroot</literal>) среде,
которая разворачивается скриптом <filename>portbuild</filename> из архива
<filename>${arch}/${branch}/tarballs/bindist.tar</filename>.
<filename><replaceable>${arch}</replaceable>/<replaceable>${branch}</replaceable>/tarballs/bindist.tar</filename>.
Этот архив создается при помощи скрипта <command>mkbindist</command>,
конфигурация которого описывается файлом
<filename>${arch}/${branch}/mkbindist.conf</filename>.
<filename><replaceable>${arch}</replaceable>/<replaceable>${branch}</replaceable>/mkbindist.conf</filename>.
</para>
<para>Скрипт должен запускаться с правами пользователя
<systemitem class="username">root</systemitem> и следующими параметрами:
</para>
<screen>/var/portbuild&prompt.root; <userinput>scripts/mkbindist ${arch} ${branch}</userinput></screen>
<screen>/var/portbuild&prompt.root; <userinput>scripts/mkbindist <replaceable>${arch}</replaceable> <replaceable>${branch}</replaceable></userinput></screen>
<para>При указании в файле <filename>mkbindist.conf</filename> параметра
<literal>ftp=1</literal> с адреса
@ -133,10 +133,10 @@
делается при помощи скрипта <command>makeworld</command>:
</para>
<screen>/var/portbuild&prompt.root; <userinput>scripts/makeworld ${arch} ${branch} [-nocvs]</userinput></screen>
<screen>/var/portbuild&prompt.root; <userinput>scripts/makeworld <replaceable>${arch}</replaceable> <replaceable>${branch}</replaceable> [-nocvs]</userinput></screen>
<para>Эта команда соберет систему на базе исходных текстов в дереве
<filename>${arch}/${branch}/src</filename>
<filename><replaceable>${arch}</replaceable>/<replaceable>${branch}</replaceable>/src</filename>
и установит ее в <replaceable>${worlddir}</replaceable>.
Исходные тексты будут обновлены, если не указан параметр
<literal>-nocvs</literal>.
@ -197,7 +197,7 @@
на <command>dopackages.wrapper</command>. Могут быть указаны
многочисленные параметры, например:</para>
<screen><command>dopackages.6 ${arch} [-options]</command></screen>
<screen><command>dopackages.6 <replaceable>${arch}</replaceable> [-options]</command></screen>
<para><literal>[-options]</literal> может быть произвольным набором из
следующих опций:</para>
@ -349,7 +349,7 @@
не ссылался на пустые подкаталоги. В особенности это важно для сборки
ветви -exp. Если процесс сборки обнаруживает пустой каталог, обе
фазы сборки вскоре остановятся. При этом в файлы
<filename>${arch}/${branch}/make.[0|1]</filename>
<filename><replaceable>${arch}</replaceable>/<replaceable>${branch}</replaceable>/make.[0|1]</filename>
будет записано сообщение об ошибке примерно такого вида:
</para>
@ -432,7 +432,7 @@
</orderedlist>
<para>[*] Результаты выполнения этих шагов записываются в файл
<filename>${arch}/${branch}/build.log</filename>,
<filename><replaceable>${arch}</replaceable>/<replaceable>${branch}</replaceable>/build.log</filename>,
а также в стандартный вывод для ошибок консоли, с которой запускался скрипт
<command>dopackages</command>.</para>
@ -440,13 +440,13 @@
прекращается.</para>
<para>[++] Результаты выполнения пишутся в файл
<filename>${arch}/${branch}/make.[0|1]</filename>,
<filename><replaceable>${arch}</replaceable>/<replaceable>${branch}</replaceable>/make.[0|1]</filename>,
где <filename>make.0</filename> соответствует первой, а
<filename>make.1</filename> второй фазе сборки. Журналы сборки отдельных
портов записываются в файлы
<filename>${arch}/${branch}/logs</filename>,
<filename><replaceable>${arch}</replaceable>/<replaceable>${branch}</replaceable>/logs</filename>,
а журналы портов, собравшихся неудачно, в
<filename>${arch}/${branch}/errors</filename>.
<filename><replaceable>${arch}</replaceable>/<replaceable>${branch}</replaceable>/errors</filename>.
</para>
<para>Ранее из репозитория извлекалось также дерево документации;
@ -467,7 +467,7 @@
<screen>&prompt.user; <userinput>killall -HUP sh ssh make</userinput></screen>
<para>Удалите файл
<filename>${arch}/lock</filename>
<filename><replaceable>${arch}</replaceable>/lock</filename>
перед тем, как перезапустите сборку.
</para>
</sect1>
@ -476,7 +476,7 @@
<title>Слежение за процессом</title>
<para>Команда
<command>scripts/stats ${branch}</command>
<command>scripts/stats <replaceable>${branch}</replaceable></command>
показывает количество собранных на настоящий момент пакетов.</para>
<para>Команда <command>cat /var/portbuild/*/loads/*</command>
@ -484,7 +484,7 @@
запущенных на них.</para>
<para>Выполнение
<command>tail -f ${arch}/${branch}/build.log</command>
<command>tail -f <replaceable>${arch}</replaceable>/<replaceable>${branch}</replaceable>/build.log</command>
продемонстрирует общее состояние процесса сборки.</para>
<para>В случае, если порт не собирается, и из логов не понятны причины
@ -493,7 +493,7 @@
Для этого создайте файл <filename>.keep</filename> в каталоге порта.
При следующей сборке порта кластером архив <literal>WRKDIR</literal>
будет помещен в файл
<filename>${arch}/${branch}/wrkdirs</filename>.
<filename><replaceable>${arch}</replaceable>/<replaceable>${branch}</replaceable>/wrkdirs</filename>.
</para>
<para>Следите за выводом команды &man.df.1;. Если файловая система,
@ -527,11 +527,11 @@
Затем, на этапе финальной обработки, соберите список файлов при помощи
команды</para>
<screen>&prompt.user; <userinput>cd ${arch}/${branch}</userinput>
&prompt.user; <userinput>find distfiles &gt; distfiles-${release}</userinput></screen>
<screen>&prompt.user; <userinput>cd <replaceable>${arch}</replaceable>/<replaceable>${branch}</replaceable></userinput>
&prompt.user; <userinput>find distfiles &gt; distfiles-<replaceable>${release}</replaceable></userinput></screen>
<para>Этот файл обычно копируют в каталог
<filename>i386/${branch}</filename>
<filename>i386/<replaceable>${branch}</replaceable></filename>
главной машины кластера.</para>
<para>Данная процедура помогает чистить комплект дистрибутивных архивов,
@ -541,12 +541,12 @@
<para>После копирования дистрибутивов (см. ниже) надо создать окончательный
комплект пакетов для релиза. Для полного спокойствия, запустите скрипт
<filename>${arch}/${branch}/cdrom.sh</filename>
<filename><replaceable>${arch}</replaceable>/<replaceable>${branch}</replaceable>/cdrom.sh</filename>
вручную, чтобы быть уверенным, что все пакеты ограниченного
распространения и их исходные архивы удалены. Затем скопируйте каталог
<filename>${arch}/${branch}/packages</filename>
<filename><replaceable>${arch}</replaceable>/<replaceable>${branch}</replaceable>/packages</filename>
в
<filename>${arch}/${branch}/packages-${release}</filename>.
<filename><replaceable>${arch}</replaceable>/<replaceable>${branch}</replaceable>/packages-<replaceable>${release}</replaceable></filename>.
После того, как пакеты переложены в надежное место, свяжитесь с группой
&a.re; и сообщите им расположение финального комплекта пакетов.</para>
@ -585,12 +585,12 @@
<para>Пакеты можно копировать во временную область на
<systemitem>ftp-master</systemitem> примерно такой командой:</para>
<screen>&prompt.root; <userinput>cd /var/portbuild/${arch}/${branch}</userinput>
&prompt.root; <userinput>tar cfv - packages/ | ssh portmgr@ftp-master tar xfC - w/ports/${arch}/tmp/${branch}</userinput></screen>
<screen>&prompt.root; <userinput>cd /var/portbuild/<replaceable>${arch}</replaceable>/<replaceable>${branch}</replaceable></userinput>
&prompt.root; <userinput>tar cfv - packages/ | ssh portmgr@ftp-master tar xfC - w/ports/<replaceable>${arch}</replaceable>/tmp/<replaceable>${branch}</replaceable></userinput></screen>
<para>Затем, на машине <systemitem>ftp-master</systemitem>, убедитесь, что набор
пакетов скопирован корректно, удалите старый набор (из каталога
<filename>~/w/ports/${arch}</filename>),
<filename>~/w/ports/<replaceable>${arch}</replaceable></filename>),
и переместите новый на его место.</para>
<note><para>Некоторые каталоги на <systemitem>ftp-master</systemitem> на самом деле
@ -602,12 +602,12 @@
<command>rsync</command>. Так мы не создаём сильной загрузки на
зеркалах:</para>
<screen>&prompt.root; <userinput>rsync -n -r -v -l -t -p --delete packages/ portmgr@ftp-master:w/ports/${arch}/${branch}/ | tee log</userinput></screen>
<screen>&prompt.root; <userinput>rsync -n -r -v -l -t -p --delete packages/ portmgr@ftp-master:w/ports/<replaceable>${arch}</replaceable>/<replaceable>${branch}</replaceable>/ | tee log</userinput></screen>
<para>Дистрибутивные архивы копируются при помощи команды
<command>rsync</command>:</para>
<screen>&prompt.root; <userinput>cd /var/portbuild/${arch}/${branch}</userinput>
<screen>&prompt.root; <userinput>cd /var/portbuild/<replaceable>${arch}</replaceable>/<replaceable>${branch}</replaceable></userinput>
&prompt.root; <userinput>rsync -r -v -l -p -c -n distfiles/ portmgr@ftp-master:w/ports/distfiles/ | tee log</userinput></screen>
<para><emphasis>ВСЕГДА</emphasis> для начала используйте ключ

View file

@ -763,8 +763,8 @@
с &man.sh.1; или &man.mount.8;, то вам прежде всего необходимо
определить принадлежность программы к базовой системе
или к установке из коллекции портов. Если вы не уверены,
×ÙÐÏÌÎÉÔÅ ËÏÍÁÎÄÕ <command>whereis ÉÍÑ
ÐÒÏÇÒÁÍÍÙ</command>. ÷ &os; ÄÌÑ ËÏÌÌÅËÃÉÉ ÐÏÒÔÏ×
×ÙÐÏÌÎÉÔÅ ËÏÍÁÎÄÕ <command>whereis <replaceable>ÉÍÑ
ÐÒÏÇÒÁÍÍÙ</replaceable></command>. ÷ &os; ÄÌÑ ËÏÌÌÅËÃÉÉ ÐÏÒÔÏ×
существует договоренность: установка ведется в <filename>/usr/local</filename>, однако это может быть
переопределено системным администратором. Для таких программ
следует использовать категорию <literal>ports</literal> (даже
@ -802,7 +802,7 @@
<note>
<para>Если проблема с чем-то из порта, называемого
<literal>www/someportname
<literal>www/<replaceable>someportname</replaceable>
</literal>, то она все же принадлежит к категории
<literal>ports</literal>.</para>
</note>

View file

@ -251,11 +251,11 @@
<title>Создание ветки релиза</title>
<para>Как сказано во вводной части, ветка
<literal>RELENG_X_Y</literal>
<literal>RELENG_<replaceable>X</replaceable>_<replaceable>Y</replaceable></literal>
является сравнительно новым добавлением в нашей методологии
подготовки релизов. Первым шагом в создании этой ветки является
проверка того, что вы работаете с самой последней версией исходных
ÔÅËÓÔÏ× <literal>RELENG_X</literal>, ÉÚ
ÔÅËÓÔÏ× <literal>RELENG_<replaceable>X</replaceable></literal>, ÉÚ
<emphasis>которой</emphasis> вы хотите создать новую ветку.</para>
<screen>/usr/src&prompt.root; <userinput>cvs update -rRELENG_4 -P -d</userinput></screen>
@ -271,7 +271,7 @@
<note>
<para><emphasis>Использование тэгов
<literal>RELENG_*</literal> ÒÁÚÒÅÛÅÎÏ
<literal>RELENG_<replaceable>*</replaceable></literal> ÒÁÚÒÅÛÅÎÏ
только менеджерам CVS и участникам группы по выпуску
релизов.</emphasis></para>
</note>
@ -468,7 +468,7 @@
<itemizedlist>
<listitem>
<para><filename>doc/share/images/articles/releng/branches-relengX.pic</filename></para>
<para><filename>doc/share/images/articles/releng/branches-releng<replaceable>X</replaceable>.pic</filename></para>
</listitem>
<listitem>
@ -540,7 +540,7 @@
создания последних тэгов может потребоваться внесение исправлений.
На практике это не является проблемой, так как <acronym>CVS</acronym>
позволяет выполнять манипуляции с тэгами по команде <command>cvs
tag -d tagname filename</command>. ïÞÅÎØ
tag -d <replaceable>tagname filename</replaceable></command>. ïÞÅÎØ
важно, чтобы все последние изменения были помечены соответствующим
тэгом, как часть релиза. Релизы &os; должны быть всегда
повторяемыми. Локальные изменения в параметры окружения выпускающего
@ -839,7 +839,7 @@
<variablelist>
<varlistentry>
<term><filename>/pub/FreeBSD/releases/arch/X.Y-RELEASE/</filename></term>
<term><filename>/pub/FreeBSD/releases/<replaceable>arch</replaceable>/<replaceable>X.Y</replaceable>-RELEASE/</filename></term>
<listitem>
<para>Установочный каталог FTP, получаемый по команде <command>make
@ -848,7 +848,7 @@
</varlistentry>
<varlistentry>
<term><filename>/pub/FreeBSD/ports/arch/packages-X.Y-release/</filename></term>
<term><filename>/pub/FreeBSD/ports/<replaceable>arch</replaceable>/packages-<replaceable>X.Y</replaceable>-release/</filename></term>
<listitem>
<para>Полный комплект построенных пакетов для этого релиза.</para>
@ -856,7 +856,7 @@
</varlistentry>
<varlistentry>
<term><filename>/pub/FreeBSD/releases/arch/X.Y-RELEASE/tools</filename></term>
<term><filename>/pub/FreeBSD/releases/<replaceable>arch</replaceable>/<replaceable>X.Y</replaceable>-RELEASE/tools</filename></term>
<listitem>
<para>Символическая ссылка на
@ -865,16 +865,16 @@
</varlistentry>
<varlistentry>
<term><filename>/pub/FreeBSD/releases/arch/X.Y-RELEASE/packages</filename></term>
<term><filename>/pub/FreeBSD/releases/<replaceable>arch</replaceable>/<replaceable>X.Y</replaceable>-RELEASE/packages</filename></term>
<listitem>
<para>Символическая ссылка на
<filename>../../../ports/arch/packages-X.Y-release</filename>.</para>
<filename>../../../ports/<replaceable>arch</replaceable>/packages-<replaceable>X.Y</replaceable>-release</filename>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><filename>/pub/FreeBSD/releases/arch/ISO-IMAGES/X.Y/X.Y-RELEASE-arch-*.iso</filename></term>
<term><filename>/pub/FreeBSD/releases/<replaceable>arch</replaceable>/ISO-IMAGES/<replaceable>X.Y</replaceable>/<replaceable>X.Y</replaceable>-RELEASE-<replaceable>arch</replaceable>-*.iso</filename></term>
<listitem>
<para>ISO-образы. Здесь <quote>*</quote> это

View file

@ -205,12 +205,12 @@ pseudo-device md # memory disk</programlisting>
любой момент может быть сделана доступной по чтению и записи выдачей
команды:</para>
<screen>&prompt.root; <userinput>/sbin/mount -uw partition</userinput></screen>
<screen>&prompt.root; <userinput>/sbin/mount -uw <replaceable>partition</replaceable></userinput></screen>
<para>и может быть возвращена к режиму доступа только для чтения по такой
команде:</para>
<screen>&prompt.root; <userinput>/sbin/mount -ur partition</userinput></screen>
<screen>&prompt.root; <userinput>/sbin/mount -ur <replaceable>partition</replaceable></userinput></screen>
</sect1>
<sect1>
@ -446,7 +446,7 @@ pseudo-device md # memory disk</programlisting>
</note>
<para>Далее в статье подразумевается,
ÞÔÏ Apache ÓÏÈÒÁÎÑÅÔ Ó×ÏÉ ÌÏÇ ÆÁÊÌÙ × ËÁÔÁÌÏÇ <filename>apache_log_dir</filename>
ÞÔÏ Apache ÓÏÈÒÁÎÑÅÔ Ó×ÏÉ ÌÏÇ ÆÁÊÌÙ × ËÁÔÁÌÏÇ <filename><replaceable>apache_log_dir</replaceable></filename>
вне каталога <filename>/var</filename>. Когда этот
каталог расположен на файловой системе, смонтированной в режиме только
для чтения, Apache не сможет сохранять лог файлы, что в свою очередь
@ -454,7 +454,7 @@ pseudo-device md # memory disk</programlisting>
необходимо добавить новый каталог к списку каталогов из
<filename>/etc/rc.d/var</filename> для их создания в каталоге
<filename>/var</filename> и связать
<filename>apache_log_dir</filename>
<filename><replaceable>apache_log_dir</replaceable></filename>
с <filename>/var/log/apache</filename>. Нужно также задать права
доступа и владельца нового каталога.</para>
@ -469,11 +469,11 @@ pseudo-device md # memory disk</programlisting>
&prompt.root; <userinput>chown nobody:nobody /var/log/apache</userinput></screen>
<para>И наконец, удалите существующий каталог
<filename>apache_install/logs</filename>
<filename><replaceable>apache_install</replaceable>/logs</filename>
и замените его ссылкой:</para>
<screen>&prompt.root; <userinput>rm -rf apache_log_dir</userinput>
&prompt.root; <userinput>ln -s apache_log_dir</userinput></screen>
<screen>&prompt.root; <userinput>rm -rf <replaceable>apache_log_dir</replaceable></userinput>
&prompt.root; <userinput>ln -s <replaceable>apache_log_dir</replaceable></userinput></screen>
</sect2>
</sect1>
</article>

View file

@ -562,7 +562,7 @@ route_internalnet2="-net 192.168.2.0/24 192.168.1.2"</programlisting>
есть только одна строка, это
<replaceable>internalnet2</replaceable>. Затем мы добавили
переменную
<literal>route_internalnet2</literal>,
<literal>route_<replaceable>internalnet2</replaceable></literal>,
куда помещены все параметры, которые необходимо передать
команде &man.route.8;. В примере выше была использована
команда:</para>
@ -855,7 +855,7 @@ wi0: flags=8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; mtu 1500
доступа:</para>
<screen>
&prompt.root; <userinput>ifconfig wi0 ssid my_net channel 11 media DS/11Mbps mediaopt hostap up stationname "FreeBSD AP"</userinput>
&prompt.root; <userinput>ifconfig wi0 ssid <replaceable>my_net</replaceable> channel 11 media DS/11Mbps mediaopt hostap up stationname "<replaceable>FreeBSD AP</replaceable>"</userinput>
</screen>
<para>Строчка &man.ifconfig.8; активизирует интерфейс
@ -954,7 +954,7 @@ wi0: flags=8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; mtu 1500
<para>Теперь мы можем изменить настройки адаптера на те, что соответствуют
нашей сети:</para>
<screen>&prompt.root; <userinput>ifconfig wi0 inet 192.168.0.20 netmask 255.255.255.0 ssid my_net</userinput></screen>
<screen>&prompt.root; <userinput>ifconfig wi0 inet <replaceable>192.168.0.20</replaceable> netmask <replaceable>255.255.255.0</replaceable> ssid <replaceable>my_net</replaceable></userinput></screen>
<para>Замените <systemitem class="ipaddress">192.168.0.20</systemitem> и <systemitem class="netmask">255.255.255.0</systemitem> на правильные IP-адрес и
сетевую маску в вашей проводной сети. Запомните, что наша точка
@ -1023,11 +1023,11 @@ wi0: flags=8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; mtu 1500
<para>Он лучше, чем ничего, так что используйте следующую команду для
включения WEP в вашей новой точке доступа FreeBSD:</para>
<screen>&prompt.root; <userinput>ifconfig wi0 inet up ssid my_net wepmode on wepkey 0x1234567890 media DS/11Mbps mediaopt hostap</userinput></screen>
<screen>&prompt.root; <userinput>ifconfig wi0 inet up ssid <replaceable>my_net</replaceable> wepmode on wepkey <replaceable>0x1234567890</replaceable> media DS/11Mbps mediaopt hostap</userinput></screen>
<para>Вы можете включить WEP на клиенте следующей командой:</para>
<screen>&prompt.root; <userinput>ifconfig wi0 inet 192.168.0.20 netmask 255.255.255.0 ssid my_net wepmode on wepkey 0x1234567890</userinput></screen>
<screen>&prompt.root; <userinput>ifconfig wi0 inet <replaceable>192.168.0.20</replaceable> netmask <replaceable>255.255.255.0</replaceable> ssid <replaceable>my_net</replaceable> wepmode on wepkey <replaceable>0x1234567890</replaceable></userinput></screen>
<para>Отметьте, что вы должны заменить
<replaceable>0x1234567890</replaceable> на более уникальный ключ.</para>
@ -1209,15 +1209,15 @@ wi0: flags=8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; mtu 1500
&windows;:</para>
<screen>&prompt.root; <userinput>cd /usr/src/sys/modules/if_ndis</userinput>
&prompt.root; <userinput>cp /path/to/driver/W32DRIVER.SYS ./</userinput>
&prompt.root; <userinput>cp /path/to/driver/W32DRIVER.INF ./</userinput></screen>
&prompt.root; <userinput>cp <replaceable>/path/to/driver/W32DRIVER.SYS</replaceable> ./</userinput>
&prompt.root; <userinput>cp <replaceable>/path/to/driver/W32DRIVER.INF</replaceable> ./</userinput></screen>
<para>Теперь используйте утилиту <command>ndiscvt</command> для
создания заголовка определения драйвера
<filename>ndis_driver_data.h</filename> перед сборкой
модуля:</para>
<screen>&prompt.root; <userinput>ndiscvt -i W32DRIVER.INF -s W32DRIVER.SYS -o ndis_driver_data.h</userinput></screen>
<screen>&prompt.root; <userinput>ndiscvt -i <replaceable>W32DRIVER.INF</replaceable> -s <replaceable>W32DRIVER.SYS</replaceable> -o ndis_driver_data.h</userinput></screen>
<para>Параметры <option>-i</option> и <option>-s</option> задают
соответственно файл настройки и бинарный файл. Мы используем
@ -2359,7 +2359,7 @@ subnet 192.168.4.0 netmask 255.255.255.0 {
значения деклараций <literal>host</literal> как имя хоста для
бездисковой машины. Альтернативным способом было бы добавление
<literal>option host-name
margaux</literal> ×ÎÕÔÒÉ ÏÂßÑ×ÌÅÎÉÊ
<replaceable>margaux</replaceable></literal> ×ÎÕÔÒÉ ÏÂßÑ×ÌÅÎÉÊ
<literal>host</literal>.</para>
</callout>
@ -2476,7 +2476,7 @@ margaux:ha=0123456789ab:tc=.def100
<application>Etherboot</application> и наберите:</para>
<screen>
&prompt.root; <userinput>gmake bin32/devicetype.fd0</userinput>
&prompt.root; <userinput>gmake bin32/<replaceable>devicetype</replaceable>.fd0</userinput>
</screen>
<para><replaceable>devicetype</replaceable> зависит от типа адаптера
@ -2707,7 +2707,7 @@ cd /usr/src/etc; make distribution</programlisting>
подкачки подходящего размера вы можете выполнить следующие
команды:</para>
<screen>&prompt.root; <userinput>dd if=/dev/zero of=/path/to/swapfile bs=1k count=1 oseek=100000</userinput></screen>
<screen>&prompt.root; <userinput>dd if=/dev/zero of=<replaceable>/path/to/swapfile</replaceable> bs=1k count=1 oseek=<replaceable>100000</replaceable></userinput></screen>
<para>Для активации этого файла подкачки следует добавить в файл
<filename>rc.conf</filename> строку</para>
@ -3901,8 +3901,8 @@ round-trip min/avg/max/stddev = 2.530/2.643/2.774/0.103 ms</screen>
<screen>&prompt.root; <userinput>ifconfig gif0 create</userinput>
&prompt.root; <userinput>ifconfig gif0</userinput>
gif0: flags=8010&lt;POINTOPOINT,MULTICAST&gt; mtu 1280
&prompt.root; <userinput>ifconfig gif0 tunnel MY_IPv4_ADDR MY_IPv4_REMOTE_TUNNEL_ENDPOINT_ADDR</userinput>
&prompt.root; <userinput>ifconfig gif0 inet6 alias MY_ASSIGNED_IPv6_TUNNEL_ENDPOINT_ADDR MY_IPv6_REMOTE_TUNNEL_ENDPOINT_ADDR</userinput></screen>
&prompt.root; <userinput>ifconfig gif0 tunnel <replaceable>MY_IPv4_ADDR</replaceable> <replaceable>MY_IPv4_REMOTE_TUNNEL_ENDPOINT_ADDR</replaceable></userinput>
&prompt.root; <userinput>ifconfig gif0 inet6 alias <replaceable>MY_ASSIGNED_IPv6_TUNNEL_ENDPOINT_ADDR</replaceable> <replaceable>MY_IPv6_REMOTE_TUNNEL_ENDPOINT_ADDR</replaceable></userinput></screen>
<para>Замените слова, написанные заглавными буквами, информацией, которую
вам дал вышестоящий узел 6bone.</para>
@ -3924,7 +3924,7 @@ gif0: flags=8010&lt;POINTOPOINT,MULTICAST&gt; mtu 1280
6bone должна быть весьма проста:</para>
<screen>&prompt.root; <userinput>route add -inet6 default -interface gif0</userinput>
&prompt.root; <userinput>ping6 -n MY_UPLINK</userinput></screen>
&prompt.root; <userinput>ping6 -n <replaceable>MY_UPLINK</replaceable></userinput></screen>
<screen>&prompt.root; <userinput>traceroute6 www.jp.FreeBSD.org</userinput>
(3ffe:505:2008:1:2a0:24ff:fe57:e561) from 3ffe:8060:100::40:2, 30 hops max, 12 byte packets

View file

@ -1788,7 +1788,7 @@ total 530
<replaceable>FILE</replaceable>, а затем добавит права на выполнение для
всех:</para>
<screen>&prompt.user; <userinput>chmod go-w,a+x FILE</userinput></screen>
<screen>&prompt.user; <userinput>chmod go-w,a+x <replaceable>FILE</replaceable></userinput></screen>
<!--
<para>Большинство пользователей не знают об этом, но необходимо отметить, что
при использовании восьмеричного метода права на файл будут установлены явно,
@ -1895,7 +1895,7 @@ total 530
<screen>&prompt.root; <userinput>chmod 4755 suidexample.sh</userinput></screen>
<para>Теперь права доступа на файл
<filename>suidexample.sh</filename>
<filename><replaceable>suidexample.sh</replaceable></filename>
выглядят подобно следующему:</para>
<programlisting>-rwsr-xr-x 1 trhodes trhodes 63 Aug 29 06:36 suidexample.sh</programlisting>
@ -2183,7 +2183,7 @@ root 5211 0.0 0.2 3620 1724 2 I+ 2:09AM 0:00.01 passwd</screen>
непосредственно в <filename>/usr/local</filename>, а не
в <filename>/usr/local/share</filename>, и документация портов,
которая расположена в
<filename>share/doc/port</filename>.
<filename>share/doc/<replaceable>port</replaceable></filename>.
</entry>
</row>
@ -2912,7 +2912,7 @@ root 5211 0.0 0.2 3620 1724 2 I+ 2:09AM 0:00.01 passwd</screen>
<para>Пример использования (простейший случай):</para>
<informalexample>
<screen>&prompt.root; <userinput>mount ÕÓÔÒÏÊÓÔ×Ï ÔÏŞËÁ-ÍÏÎÔÉÒÏ×ÁÎÉÑ</userinput></screen>
<screen>&prompt.root; <userinput>mount <replaceable>ÕÓÔÒÏÊÓÔ×Ï</replaceable> <replaceable>ÔÏŞËÁ-ÍÏÎÔÉÒÏ×ÁÎÉÑ</replaceable></userinput></screen>
</informalexample>
<para>Перечислим основные опции, которые может принимать команда
@ -3334,7 +3334,7 @@ Swap: 256M Total, 38M Used, 217M Free, 15% Inuse
сама посылает сигнал. Это может быть очень полезно, но в разных
оболочках имя сигнала указывается по-разному. Чем
пытаться выучить их все, гораздо проще использовать
<command>/bin/kill ...</command>
<command>/bin/kill <replaceable>...</replaceable></command>
непосредственно.</para>
</note>
</step>
@ -3588,7 +3588,7 @@ Swap: 256M Total, 38M Used, 217M Free, 15% Inuse
назвать <application>ee</application>, что расшифровывается как
<quote>easy editor</quote>, т.е. <quote>простой редактор</quote>. Чтобы
начать редактировать какой-либо файл, наберите в командной строке
<command>ee filename</command>, ÇÄÅ
<command>ee <replaceable>filename</replaceable></command>, ÇÄÅ
<replaceable>filename</replaceable> имя
редактируемого файла. Например, для редактирования файла
<filename>/etc/rc.conf</filename>, наберите <command>ee
@ -3825,7 +3825,7 @@ Swap: 256M Total, 38M Used, 217M Free, 15% Inuse
настройки. Для просмотра этих страниц существует команда
<command>man</command>:</para>
<screen>&prompt.user; <userinput>man command</userinput></screen>
<screen>&prompt.user; <userinput>man <replaceable>command</replaceable></userinput></screen>
<para>Здесь <literal>command</literal> &ndash; это команда, о которой вы
хотите получить информацию. Например, чтобы узнать побольше о команде

View file

@ -199,7 +199,7 @@ Default: F2</screen>
существующую MBR на MBR от FreeBSD, то воспользуйтесь следующей
командой:</para>
<screen>&prompt.root; <userinput>fdisk -B -b /boot/boot0 device</userinput></screen>
<screen>&prompt.root; <userinput>fdisk -B -b /boot/boot0 <replaceable>device</replaceable></userinput></screen>
<para>Здесь <replaceable>device</replaceable> является устройством, с
которого вы загружаетесь, таким, как <filename>ad0</filename> в
@ -280,7 +280,7 @@ boot:
<filename>boot1</filename> и <filename>boot2</filename>, то используйте
утилиту &man.bsdlabel.8;:</para>
<screen>&prompt.root; <userinput>bsdlabel -B diskslice</userinput></screen>
<screen>&prompt.root; <userinput>bsdlabel -B <replaceable>diskslice</replaceable></userinput></screen>
<para>Здесь <replaceable>diskslice</replaceable> являются диском и
слайсом, с которых вы загружаетесь, например,
@ -360,8 +360,8 @@ boot:
<varlistentry>
<term>boot
<optional>-ÐÁÒÁÍÅÔÒÙ</optional>
<optional>ÉÍÑ ÑÄÒÁ</optional></term>
<optional><replaceable>-ÐÁÒÁÍÅÔÒÙ</replaceable></optional>
<optional><replaceable>ÉÍÑ ÑÄÒÁ</replaceable></optional></term>
<listitem>
<para>Продолжить процесс загрузки указанного ядра, если оно было
@ -386,7 +386,7 @@ boot:
<varlistentry>
<term>help
<optional>ÔÅÍÁ</optional></term>
<optional><replaceable>ÔÅÍÁ</replaceable></optional></term>
<listitem>
<para>Вывод сообщений подсказки из файла
@ -410,7 +410,7 @@ boot:
<varlistentry>
<term>load <optional>-t
ÔÉÐ</optional>
<replaceable>ÔÉÐ</replaceable></optional>
<replaceable>имя файла</replaceable></term>
<listitem>
@ -422,7 +422,7 @@ boot:
<varlistentry>
<term>ls <optional>-l</optional>
<optional>ÍÁÒÛÒÕÔ</optional></term>
<optional><replaceable>ÍÁÒÛÒÕÔ</replaceable></optional></term>
<listitem>
<para>Выводит список файлов по указанному маршруту или в корневом
@ -507,7 +507,7 @@ boot:
ваше старое (или другое) ядро:</para>
<screen><userinput>unload</userinput>
<userinput>load kernel.old</userinput></screen>
<userinput>load <replaceable>kernel.old</replaceable></userinput></screen>
<para>Вы можете использовать <filename>kernel.GENERIC</filename>
для обозначения стандартного ядра, поставляемого на установочном
@ -520,7 +520,7 @@ boot:
используйте такие команды:</para>
<screen><userinput>unload</userinput>
<userinput>set kernel="kernel.old"</userinput>
<userinput>set kernel="<replaceable>kernel.old</replaceable>"</userinput>
<userinput>boot-conf</userinput></screen>
</note>
</listitem>
@ -530,7 +530,7 @@ boot:
скрипт, который выполняет то, что вы обычно делаете в
конфигураторе ядра во время загрузки):</para>
<screen><userinput>load -t userconfig_script /boot/kernel.conf</userinput></screen>
<screen><userinput>load -t userconfig_script <replaceable>/boot/kernel.conf</replaceable></userinput></screen>
</listitem>
</itemizedlist>
</sect3>
@ -654,7 +654,7 @@ bitmap_load="YES"
bitmap_name="<replaceable>/boot/splash.bmp</replaceable>"</programlisting>
<para>Вышеприведённый пример подразумевает, что файл
<filename>/boot/splash.bmp</filename>
<filename><replaceable>/boot/splash.bmp</replaceable></filename>
содержит изображение заставки. Если же требуется выводить файл
формата <acronym>PCX</acronym>, то используйте следующие строки
(в зависимости от необходимого разрешения может также
@ -666,8 +666,8 @@ bitmap_name="<replaceable>/boot/splash.pcx</replaceable>"</programlisting>
<para>Возможное имя файла не ограничено одним лишь словом
<quote>splash</quote>. Оно может выбираться произвольно, например:
<filename>splash_640x400.bmp</filename>
ÉÌÉ <filename>blue_wave.pcx</filename>.
<filename><replaceable>splash_640x400.bmp</replaceable></filename>
ÉÌÉ <filename><replaceable>blue_wave.pcx</replaceable></filename>.
Важен лишь тип файла: он должен быть либо <acronym>BMP</acronym>,
либо <acronym>PCX</acronym>.</para>
@ -824,11 +824,11 @@ bitmap_name="<replaceable>/boot/splash.pcx</replaceable>"</programlisting>
стандартный символ <quote>#</quote>. Строки строятся следующим
образом:</para>
<screen><userinput>hint.driver.unit.keyword="value"</userinput></screen>
<screen><userinput>hint.driver.unit.keyword="<replaceable>value</replaceable>"</userinput></screen>
<para>Синтаксис для начального загрузчика Стадии 3 таков:</para>
<screen><userinput>set hint.driver.unit.keyword=value</userinput></screen>
<screen><userinput>set hint.driver.unit.keyword=<replaceable>value</replaceable></userinput></screen>
<para><literal>driver</literal> определяет имя драйвера устройства,
<literal>unit</literal> соответствует порядковому номеру модуля

View file

@ -439,7 +439,7 @@
<para>Образы для флеш-накопителя для &os;&nbsp;9.0-RELEASE и более
поздних могут быть скачаны с каталога
<filename>ISO-IMAGES/</filename>
ÐÏ ÁÄÒÅÓÕ <literal>ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/arch/arch/ISO-IMAGES/version/&os;-version-RELEASE-arch-memstick.img</literal>.
ÐÏ ÁÄÒÅÓÕ <literal>ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/<replaceable>arch</replaceable>/<replaceable>arch</replaceable>/ISO-IMAGES/<replaceable>version</replaceable>/&os;-<replaceable>version</replaceable>-RELEASE-<replaceable>arch</replaceable>-memstick.img</literal>.
Замените <replaceable>arch</replaceable> и
<replaceable>version</replaceable> соответственно на архитектуру
и номер версии которую вы планируете установить. Например,
@ -490,7 +490,7 @@
быть записан непосредственно на целевое устройство при помощи
&man.dd.1;:</para>
<screen>&prompt.root; <userinput>dd if=&os;-9.0-RELEASE-&arch.i386;-memstick.img of=/dev/da0 bs=64k</userinput></screen>
<screen>&prompt.root; <userinput>dd if=&os;-9.0-RELEASE-&arch.i386;-memstick.img of=/dev/<replaceable>da0</replaceable> bs=64k</userinput></screen>
</step>
</procedure>
@ -2108,7 +2108,7 @@ Trying to mount root from cd9660:/dev/iso9660/FREEBSD_INSTALL [ro]...</screen>
</listitem>
<listitem>
<para><literal>Invite user into
<para><literal>Invite <replaceable>user</replaceable> into
other groups?</literal> &mdash; Перечень групп, в которые будет
внесен пользователь.</para>
</listitem>

View file

@ -817,7 +817,7 @@ sshd is running as pid 433.</screen>
<para>Как только вы убедились, что карта поддерживается, потребуется
определить подходящий драйвер. В файлах
<filename>/usr/src/sys/conf/NOTES</filename> и
<filename>/usr/src/sys/arch/conf/NOTES</filename>
<filename>/usr/src/sys/<replaceable>arch</replaceable>/conf/NOTES</filename>
находится список
драйверов сетевых интерфейсов с информацией о поддерживаемых
чипсетах/картах. Если вы сомневаетесь в том, какой драйвер
@ -865,7 +865,7 @@ ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto</screen>
скомпилировав собственное ядро. Информацию о том, какие
параметры нужно включать в ядро, можно получить из
<filename>/usr/src/sys/conf/NOTES</filename>,
<filename>/usr/src/sys/arch/conf/NOTES</filename>
<filename>/usr/src/sys/<replaceable>arch</replaceable>/conf/NOTES</filename>
и страницы справочника драйвера сетевой карты.
За более подробной информацией о сборке собственного ядра
обращайтесь к <xref linkend="kernelconfig"/>. Если карта
@ -2504,7 +2504,7 @@ kern.maxvnodes: 100000</programlisting>
поскольку он может быть очень большим. Копия
<acronym>ASL</acronym> может быть создана командой:</para>
<screen>&prompt.root; <userinput>acpidump -t -d &gt; name-system.asl</userinput></screen>
<screen>&prompt.root; <userinput>acpidump -t -d &gt; <replaceable>name</replaceable>-<replaceable>system</replaceable>.asl</userinput></screen>
<para>(Замените вашим логином
<filename>name</filename> и производителем/моделью

View file

@ -1197,7 +1197,7 @@ Fetching 133 new ports or files... done.</screen>
<para>Если вы параноик, можете поискать файлы, владельцем которых
является та группа, которую вы переименовываете или удаляете:</para>
<screen>&prompt.root; <userinput>find / -group GID -print</userinput></screen>
<screen>&prompt.root; <userinput>find / -group <replaceable>GID</replaceable> -print</userinput></screen>
<para>выдаст список всех файлов, владельцем которых является группа
<replaceable>GID</replaceable> (задаваемая именем или
@ -1342,7 +1342,7 @@ Script done, &hellip;
<para>Общий формат командной строки, которую вы будет набирать,
таков:</para>
<screen>&prompt.root; <userinput>make -x -DVARIABLE target</userinput></screen>
<screen>&prompt.root; <userinput>make -<replaceable>x</replaceable> -D<replaceable>VARIABLE</replaceable> <replaceable>target</replaceable></userinput></screen>
<para>В этом примере <option>-<replaceable>x</replaceable></option>
является параметром, который вы передаете в &man.make.1;.
@ -1356,7 +1356,7 @@ Script done, &hellip;
<filename>/etc/make.conf</filename>, и это &mdash; еще один способ
их задания.</para>
<screen>&prompt.root; <userinput>make -DNO_PROFILE=true target</userinput></screen>
<screen>&prompt.root; <userinput>make -DNO_PROFILE=true <replaceable>target</replaceable></userinput></screen>
<para>является другим способом указания того, что библиотеки для
профилирования строить не нужно, и соответствует строке</para>
@ -1380,7 +1380,7 @@ Script done, &hellip;
примерно так:</para>
<screen>
&prompt.root; <userinput>make target</userinput>
&prompt.root; <userinput>make <replaceable>target</replaceable></userinput>
</screen>
<para>Замените <replaceable>target</replaceable> на одну или более из
@ -1492,12 +1492,12 @@ Script done, &hellip;
<note>
<para>Если вы хотите построить собственное ядро и уже подготовили файл
конфигурации, просто используйте
<literal>KERNCONF=MYKERNEL</literal>
<literal>KERNCONF=<replaceable>MYKERNEL</replaceable></literal>
следующим образом:</para>
<screen>&prompt.root; <userinput>cd /usr/src</userinput>
&prompt.root; <userinput>make buildkernel KERNCONF=MYKERNEL</userinput>
&prompt.root; <userinput>make installkernel KERNCONF=MYKERNEL</userinput></screen>
&prompt.root; <userinput>make buildkernel KERNCONF=<replaceable>MYKERNEL</replaceable></userinput>
&prompt.root; <userinput>make installkernel KERNCONF=<replaceable>MYKERNEL</replaceable></userinput></screen>
</note>
<para>Заметьте, что, если вы установили
@ -2188,7 +2188,7 @@ Building everything..
перечислить их все в переменной <varname>KERNCONF</varname>, причём
первым должно быть имя её собственного ядра. Машина построения должна
хранить конфигурационные файлы ядра каждой машины в каталоге
<filename>/usr/src/sys/arch/conf</filename>,
<filename>/usr/src/sys/<replaceable>arch</replaceable>/conf</filename>,
если на ней будут строиться соответствующие ядра..</para>
</sect2>

View file

@ -629,7 +629,7 @@
<para>Если вы хотите собрать локализованную версию, то вместо
предыдущей командной строки используйте следующее:</para>
<screen>&prompt.root; <userinput>make LOCALIZED_LANG=your_language install clean</userinput></screen>
<screen>&prompt.root; <userinput>make LOCALIZED_LANG=<replaceable>your_language</replaceable> install clean</userinput></screen>
<para>Вам следует изменить
<replaceable>your_language</replaceable> на корректный ISO

View file

@ -900,19 +900,19 @@ add path 'da*' mode 0660 group operator</programlisting>
файловая система. Каталог должен принадлежать пользователю,
монтирующему файловую систему. Один из способов сделать это
под пользователем <systemitem class="username">root</systemitem> - создать каталог
<filename>/mnt/username</filename>
<filename>/mnt/<replaceable>username</replaceable></filename>
(замените <replaceable>username</replaceable> именем
пользователя, а <replaceable>usergroup</replaceable> &mdash; именем
главной группы пользователя):</para>
<screen>&prompt.root; <userinput>mkdir /mnt/username</userinput>
&prompt.root; <userinput>chown username:usergroup /mnt/username</userinput></screen>
<screen>&prompt.root; <userinput>mkdir /mnt/<replaceable>username</replaceable></userinput>
&prompt.root; <userinput>chown <replaceable>username</replaceable>:<replaceable>usergroup</replaceable> /mnt/<replaceable>username</replaceable></userinput></screen>
<para>Предположим, что USB брелок подключен, и появилось устройство
<filename>/dev/da0s1</filename>. Поскольку эти устройства обычно поставляются
форматированными с файловой системой FAT, их можно смонтировать так:</para>
<screen>&prompt.user; <userinput>mount -t msdosfs -o -m=644,-M=755 /dev/da0s1 /mnt/username</userinput></screen>
<screen>&prompt.user; <userinput>mount -t msdosfs -o -m=644,-M=755 /dev/da0s1 /mnt/<replaceable>username</replaceable></userinput></screen>
<para>Если вы отключите устройство (диск должен быть сначала
размонтирован), вы должны увидеть в буфере системных сообщений
@ -1026,7 +1026,7 @@ umass0: detached</screen>
пространстве имён файловой системы &unix;. В самом простом случае она
используется так:</para>
<screen>&prompt.root; <userinput>mkisofs -o imagefile.iso /path/to/tree</userinput></screen>
<screen>&prompt.root; <userinput>mkisofs -o <replaceable>imagefile.iso</replaceable> <replaceable>/path/to/tree</replaceable></userinput></screen>
<indexterm>
<primary>файловые системы</primary>
@ -1121,7 +1121,7 @@ umass0: detached</screen>
<filename>/usr/sbin/burncd</filename>. Использовать её очень просто,
так как параметров у ней немного:</para>
<screen>&prompt.root; <userinput>burncd -f cddevice data imagefile.iso fixate</userinput></screen>
<screen>&prompt.root; <userinput>burncd -f <replaceable>cddevice</replaceable> data <replaceable>imagefile.iso</replaceable> fixate</userinput></screen>
<para>По этой команде файл <replaceable>imagefile.iso</replaceable> будет
скопирован на <replaceable>cddevice</replaceable>. По умолчанию
@ -1148,7 +1148,7 @@ umass0: detached</screen>
использовать её ещё проще, чем <command>burncd</command>. Запись образа
ISO 9660 делается такой командой:</para>
<screen>&prompt.root; <userinput>cdrecord dev=device imagefile.iso</userinput></screen>
<screen>&prompt.root; <userinput>cdrecord dev=<replaceable>device</replaceable> <replaceable>imagefile.iso</replaceable></userinput></screen>
<para>Тонким моментом при использовании <command>cdrecord</command>
является определение правильного устройства <option>dev</option>. Чтобы
@ -1217,7 +1217,7 @@ scsibus1:
<para>Воспользуйтесь <command>cdrecord</command> для записи файлов
<filename>.wav</filename>.</para>
<screen>&prompt.user; <userinput>cdrecord -v dev=2,0 -dao -useinfo *.wav</userinput></screen>
<screen>&prompt.user; <userinput>cdrecord -v dev=<replaceable>2,0</replaceable> -dao -useinfo *.wav</userinput></screen>
<para>Значение, соответствующее <replaceable>2,0</replaceable>,
должно быть установлено правильно, как это описано в <xref linkend="cdrecord"/>.</para>
@ -1238,7 +1238,7 @@ scsibus1:
<step>
<para>Драйвер устройств ATAPI CD делает каждую дорожку доступной как
<filename>/dev/acddtnn</filename>,
<filename>/dev/acd<replaceable>d</replaceable>t<replaceable>nn</replaceable></filename>,
где <replaceable>d</replaceable> является номером привода, а
<replaceable>nn</replaceable> соответствует номеру дорожки, который
записывается двумя десятичными цифрами с нулём в начале, если это
@ -1271,7 +1271,7 @@ scsibus1:
аудио, и что <command>burncd</command> должна зафиксировать диск
по окончании работы.</para>
<screen>&prompt.root; <userinput>burncd -f /dev/acd0 audio track1.cdr track2.cdr ... fixate</userinput></screen>
<screen>&prompt.root; <userinput>burncd -f <replaceable>/dev/acd0</replaceable> audio track1.cdr track2.cdr <replaceable>...</replaceable> fixate</userinput></screen>
</step>
</procedure>
</sect2>
@ -1452,7 +1452,7 @@ cd0: Attempt to query device size failed: NOT READY, Medium not present - tray c
CD-ROM в каталог <filename>/mnt</filename>, просто наберите следующую
команду:</para>
<screen>&prompt.root; <userinput>mount -t cd9660 /dev/cd0 /mnt</userinput></screen>
<screen>&prompt.root; <userinput>mount -t cd9660 <replaceable>/dev/cd0</replaceable> /mnt</userinput></screen>
<para>Для получения SCSI-адреса пишущего привода, вы можете, работая как
пользователь <systemitem class="username">root</systemitem>, запустить такую
@ -1593,7 +1593,7 @@ cd0: Attempt to query device size failed: NOT READY, Medium not present - tray c
<para>Для записи данных из каталога <filename>/path/to/data</filename> на DVD+R или DVD-R,
используйте следующую команду:</para>
<screen>&prompt.root; <userinput>growisofs -dvd-compat -Z /dev/cd0 -J -R /path/to/data</userinput></screen>
<screen>&prompt.root; <userinput>growisofs -dvd-compat -Z <replaceable>/dev/cd0</replaceable> -J -R <replaceable>/path/to/data</replaceable></userinput></screen>
<para>Параметры <option>-J -R</option> передаются
&man.mkisofs.8; для создания файловой системы (в данном случае:
@ -1613,7 +1613,7 @@ cd0: Attempt to query device size failed: NOT READY, Medium not present - tray c
например, для записи
<replaceable>imagefile.iso</replaceable> запустим:</para>
<screen>&prompt.root; <userinput>growisofs -dvd-compat -Z /dev/cd0=imagefile.iso</userinput></screen>
<screen>&prompt.root; <userinput>growisofs -dvd-compat -Z <replaceable>/dev/cd0</replaceable>=<replaceable>imagefile.iso</replaceable></userinput></screen>
<para>Скорость записи должна быть определена и автоматически
установлена в соответствии с носителем и приводом. Если вы хотите
@ -1635,11 +1635,11 @@ cd0: Attempt to query device size failed: NOT READY, Medium not present - tray c
<para>Для того, чтобы создать такой образ, выполните:</para>
<screen>&prompt.user; <userinput>mkisofs -R -J -udf -iso-level 3 -o imagefile.iso /path/to/data</userinput></screen>
<screen>&prompt.user; <userinput>mkisofs -R -J -udf -iso-level 3 -o <replaceable>imagefile.iso</replaceable> <replaceable>/path/to/data</replaceable></userinput></screen>
<para>Для того, чтобы записать файлы прямо на диск, наберите:</para>
<screen>&prompt.root; <userinput>growisofs -dvd-compat -udf -iso-level 3 -Z /dev/cd0 -J -R /path/to/data</userinput></screen>
<screen>&prompt.root; <userinput>growisofs -dvd-compat -udf -iso-level 3 -Z <replaceable>/dev/cd0</replaceable> -J -R <replaceable>/path/to/data</replaceable></userinput></screen>
<para>Если у вас в распоряжении уже имеется образ, содержащий
в себе файлы большого размера, то для записи образа на диск никаких
@ -1675,7 +1675,7 @@ cd0: Attempt to query device size failed: NOT READY, Medium not present - tray c
для записи DVD-Video должна быть использована следующая
команда:</para>
<screen>&prompt.root; <userinput>growisofs -Z /dev/cd0 -dvd-video /path/to/video</userinput></screen>
<screen>&prompt.root; <userinput>growisofs -Z <replaceable>/dev/cd0</replaceable> -dvd-video <replaceable>/path/to/video</replaceable></userinput></screen>
<para>Параметр <option>-dvd-video</option> будет передан
&man.mkisofs.8; и укажет создать файловую систему DVD-Video.
@ -1698,7 +1698,7 @@ cd0: Attempt to query device size failed: NOT READY, Medium not present - tray c
для форматирования DVD+RW вы можете использовать команду
<command>dvd+rw-format</command>:</para>
<screen>&prompt.root; <userinput>dvd+rw-format /dev/cd0</userinput></screen>
<screen>&prompt.root; <userinput>dvd+rw-format <replaceable>/dev/cd0</replaceable></userinput></screen>
<para>Эту операцию необходимо выполнить лишь однажды, помните,
что только новые носители DVD+RW необходимо форматировать.
@ -1710,7 +1710,7 @@ cd0: Attempt to query device size failed: NOT READY, Medium not present - tray c
просто запишите поверх предыдущей записи (создав новую начальную
сессию) примерно так :</para>
<screen>&prompt.root; <userinput>growisofs -Z /dev/cd0 -J -R /path/to/newdata</userinput></screen>
<screen>&prompt.root; <userinput>growisofs -Z <replaceable>/dev/cd0</replaceable> -J -R <replaceable>/path/to/newdata</replaceable></userinput></screen>
<para>Формат DVD+RW делает возможным легко дописать данные к предыдущей
записи. Операция состоит в присоединении предыдущей сессии к
@ -1721,7 +1721,7 @@ cd0: Attempt to query device size failed: NOT READY, Medium not present - tray c
<para>Например, для дозаписи данных к предыдущей сессии на
DVD+RW, используется следующая команда:</para>
<screen>&prompt.root; <userinput>growisofs -M /dev/cd0 -J -R /path/to/nextdata</userinput></screen>
<screen>&prompt.root; <userinput>growisofs -M <replaceable>/dev/cd0</replaceable> -J -R <replaceable>/path/to/nextdata</replaceable></userinput></screen>
<para>При последующих записях &man.mkisofs.8; необходимо передавать
те же параметры, что и при первой записи.</para>
@ -1735,7 +1735,7 @@ cd0: Attempt to query device size failed: NOT READY, Medium not present - tray c
<para>Если по какой-либо причине вам потребуется очистить носитель,
используйте следующую команду:</para>
<screen>&prompt.root; <userinput>growisofs -Z /dev/cd0=/dev/zero</userinput></screen>
<screen>&prompt.root; <userinput>growisofs -Z <replaceable>/dev/cd0</replaceable>=<replaceable>/dev/zero</replaceable></userinput></screen>
</sect2>
<sect2>
@ -1757,7 +1757,7 @@ cd0: Attempt to query device size failed: NOT READY, Medium not present - tray c
<para>Для очистки DVD-RW в последовательном формате, запустите:</para>
<screen>&prompt.root; <userinput>dvd+rw-format -blank=full /dev/cd0</userinput></screen>
<screen>&prompt.root; <userinput>dvd+rw-format -blank=full <replaceable>/dev/cd0</replaceable></userinput></screen>
<note>
<para>Полная очистка (<option>-blank=full</option>) займет
@ -1766,7 +1766,7 @@ cd0: Attempt to query device size failed: NOT READY, Medium not present - tray c
DVD-RW будет записан в режиме Disk-At-Once (DAO).
Для записи DVD-RW в режиме DAO, используйте команду:</para>
<screen>&prompt.root; <userinput>growisofs -use-the-force-luke=dao -Z /dev/cd0=imagefile.iso</userinput></screen>
<screen>&prompt.root; <userinput>growisofs -use-the-force-luke=dao -Z <replaceable>/dev/cd0</replaceable>=<replaceable>imagefile.iso</replaceable></userinput></screen>
<para>Параметр <option>-use-the-force-luke=dao</option> не
должен потребоваться, поскольку &man.growisofs.1; попытается
@ -1781,7 +1781,7 @@ cd0: Attempt to query device size failed: NOT READY, Medium not present - tray c
<para>Для записи данных на последовательный DVD-RW, используйте
ту же команду, что и для других форматов DVD:</para>
<screen>&prompt.root; <userinput>growisofs -Z /dev/cd0 -J -R /path/to/data</userinput></screen>
<screen>&prompt.root; <userinput>growisofs -Z <replaceable>/dev/cd0</replaceable> -J -R <replaceable>/path/to/data</replaceable></userinput></screen>
<para>Если вы хотите добавить данные к предыдущей записи,
используйте параметр &man.growisofs.1; <option>-M</option>.
@ -1800,11 +1800,11 @@ cd0: Attempt to query device size failed: NOT READY, Medium not present - tray c
<para>Для перевода DVD-RW в формат с ограниченной перезаписью,
необходимо использовать следующую команду:</para>
<screen>&prompt.root; <userinput>dvd+rw-format /dev/cd0</userinput></screen>
<screen>&prompt.root; <userinput>dvd+rw-format <replaceable>/dev/cd0</replaceable></userinput></screen>
<para>Для перевода обратно в последовательный формат, выполните:</para>
<screen>&prompt.root; <userinput>dvd+rw-format -blank=full /dev/cd0</userinput></screen>
<screen>&prompt.root; <userinput>dvd+rw-format -blank=full <replaceable>/dev/cd0</replaceable></userinput></screen>
</sect2>
<sect2>
@ -1820,7 +1820,7 @@ cd0: Attempt to query device size failed: NOT READY, Medium not present - tray c
для DVD+R, DVD-R, или DVD-RW в последовательном формате, добавит
на диск новую сессию:</para>
<screen>&prompt.root; <userinput>growisofs -M /dev/cd0 -J -R /path/to/nextdata</userinput></screen>
<screen>&prompt.root; <userinput>growisofs -M <replaceable>/dev/cd0</replaceable> -J -R <replaceable>/path/to/nextdata</replaceable></userinput></screen>
<para>Использование этой командной строки с DVD+RW или DVD-RW в
режиме ограниченной перезаписи добавит данные, объединив новую сессию
@ -1842,7 +1842,7 @@ cd0: Attempt to query device size failed: NOT READY, Medium not present - tray c
<para>Для получения дополнительной информации о DVD, можно запустить
команду <command>dvd+rw-mediainfo
/dev/cd0</command>, ÄÉÓË ÄÏÌÖÅÎ
<replaceable>/dev/cd0</replaceable></command>, ÄÉÓË ÄÏÌÖÅÎ
находиться в приводе.</para>
<para>Дополнительная информация о
@ -1886,9 +1886,9 @@ cd0: Attempt to query device size failed: NOT READY, Medium not present - tray c
мы займём все пространство диска одной файловой системой
UFS2:</para>
<screen>&prompt.root; <userinput>dd if=/dev/zero of=/dev/acd0 bs=2k count=1</userinput>
&prompt.root; <userinput>bsdlabel -Bw acd0</userinput>
&prompt.root; <userinput>newfs /dev/acd0</userinput></screen>
<screen>&prompt.root; <userinput>dd if=/dev/zero of=<replaceable>/dev/acd0</replaceable> bs=2k count=1</userinput>
&prompt.root; <userinput>bsdlabel -Bw <replaceable>acd0</replaceable></userinput>
&prompt.root; <userinput>newfs <replaceable>/dev/acd0</replaceable></userinput></screen>
<para>Имя устройства DVD device, <filename>acd0</filename>, должно
соответствовать вашей конфигурации.</para>
@ -1900,7 +1900,7 @@ cd0: Attempt to query device size failed: NOT READY, Medium not present - tray c
<para>После выполнения указанных выше команд, DVD-RAM может быть
смонтирован как обычный жесткий диск:</para>
<screen>&prompt.root; <userinput>mount /dev/acd0 /mnt</userinput></screen>
<screen>&prompt.root; <userinput>mount <replaceable>/dev/acd0</replaceable> <replaceable>/mnt</replaceable></userinput></screen>
<para>После этого вы можете читать и писать на DVD-RAM.</para>
</sect3>
@ -1941,7 +1941,7 @@ cd0: Attempt to query device size failed: NOT READY, Medium not present - tray c
осуществляется через соответствующие файлы в
каталога <filename>/dev</filename>. Чтобы обратиться к дискете,
просто используйте
<filename>/dev/fdN</filename>.</para>
<filename>/dev/fd<replaceable>N</replaceable></filename>.</para>
</sect3>
<sect3>
@ -1965,7 +1965,7 @@ cd0: Attempt to query device size failed: NOT READY, Medium not present - tray c
<title>Форматирование гибких дисков</title>
<para>Для форматирования гибких дисков используйте устройства
<filename>/dev/fdN</filename>. ÷ÓÔÁרÔÅ
<filename>/dev/fd<replaceable>N</replaceable></filename>. ÷ÓÔÁרÔÅ
новую 3.5-дюймовую дискету в дисковод и введите команду:</para>
<screen>&prompt.root; <userinput>/usr/sbin/fdformat -f 1440 /dev/fd0</userinput></screen>
@ -2360,7 +2360,7 @@ sa0(ncr1:4:0): Logical unit is in process of becoming ready</screen>
<para>Есть два подхода к восстановлению только нужных вам файлов. В
первом вы можете начать с первой дискеты и выдать такую команду:</para>
<screen>&prompt.root; <userinput>tar Mxvf /dev/fd0 filename</userinput></screen>
<screen>&prompt.root; <userinput>tar Mxvf /dev/fd0 <replaceable>filename</replaceable></userinput></screen>
<para>Программа &man.tar.1; будет выдавать запрос на подачу
последующих дискет до тех пор, пока не найдет требуемый файл.</para>
@ -2587,7 +2587,7 @@ targetuser@targetmachine.example.com dd of=/mybigfiles/dump-usr-l0.gz</userinput
данные на накопитель Exabyte, подключенный к машине Sun по имени
<systemitem>komodo</systemitem>, используйте такую команду:</para>
<screen>&prompt.root; <userinput>tar cf - . | rsh komodo dd of=tape-device obs=20b</userinput></screen>
<screen>&prompt.root; <userinput>tar cf - . | rsh komodo dd of=<replaceable>tape-device</replaceable> obs=20b</userinput></screen>
<para>Если вы беспокоитесь о безопасности создания резервных копий по
сети, то вместо <command>rsh</command> вам нужно использовать
@ -2620,10 +2620,10 @@ targetuser@targetmachine.example.com dd of=/mybigfiles/dump-usr-l0.gz</userinput
программой <command>rsh</command> для посылки данных на удалённый
накопитель.</para>
<screen>&prompt.root; <userinput>for f in directory_list; do</userinput>
<screen>&prompt.root; <userinput>for f in <replaceable>directory_list</replaceable>; do</userinput>
<userinput>find $f &gt;&gt; backup.list</userinput>
<userinput>done</userinput>
&prompt.root; <userinput>cpio -v -o --format=newc &lt; backup.list | ssh user@host "cat &gt; backup_device"</userinput></screen>
&prompt.root; <userinput>cpio -v -o --format=newc &lt; backup.list | ssh <replaceable>user</replaceable>@<replaceable>host</replaceable> "cat &gt; <replaceable>backup_device</replaceable>"</userinput></screen>
<para>Где directory_list это список директорий, c которых Вы хотите
создать резервные копии,
@ -2926,8 +2926,8 @@ targetuser@targetmachine.example.com dd of=/mybigfiles/dump-usr-l0.gz</userinput
<title>Использование vnconfig для монтирования имеющегося образа
файловой системы во FreeBSD&nbsp;4.X</title>
<screen>&prompt.root; <userinput>vnconfig vn0 diskimage</userinput>
&prompt.root; <userinput>mount /dev/vn0c /mnt</userinput></screen>
<screen>&prompt.root; <userinput>vnconfig vn<replaceable>0</replaceable> <replaceable>diskimage</replaceable></userinput>
&prompt.root; <userinput>mount /dev/vn<replaceable>0</replaceable>c <replaceable>/mnt</replaceable></userinput></screen>
</example>
<para>Для создания нового образа файловой системы с помощью
@ -2937,19 +2937,19 @@ targetuser@targetmachine.example.com dd of=/mybigfiles/dump-usr-l0.gz</userinput
<title>Создание нового диска в файле с помощью
<command>vnconfig</command></title>
<screen>&prompt.root; <userinput>dd if=/dev/zero of=newimage bs=1k count=5k</userinput>
<screen>&prompt.root; <userinput>dd if=/dev/zero of=<replaceable>newimage</replaceable> bs=1k count=<replaceable>5</replaceable>k</userinput>
5120+0 records in
5120+0 records out
&prompt.root; <userinput>vnconfig -s labels -c vn0 newimage</userinput>
&prompt.root; <userinput>bsdlabel -r -w vn0 auto</userinput>
&prompt.root; <userinput>newfs vn0c</userinput>
&prompt.root; <userinput>vnconfig -s labels -c vn<replaceable>0</replaceable> <replaceable>newimage</replaceable></userinput>
&prompt.root; <userinput>bsdlabel -r -w vn<replaceable>0</replaceable> auto</userinput>
&prompt.root; <userinput>newfs vn<replaceable>0</replaceable>c</userinput>
Warning: 2048 sector(s) in last cylinder unallocated
/dev/vn0c: 10240 sectors in 3 cylinders of 1 tracks, 4096 sectors
5.0MB in 1 cyl groups (16 c/g, 32.00MB/g, 1280 i/g)
super-block backups (for fsck -b #) at:
32
&prompt.root; <userinput>mount /dev/vn0c /mnt</userinput>
&prompt.root; <userinput>df /mnt</userinput>
&prompt.root; <userinput>mount /dev/vn<replaceable>0</replaceable>c <replaceable>/mnt</replaceable></userinput>
&prompt.root; <userinput>df <replaceable>/mnt</replaceable></userinput>
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/vn0c 4927 1 4532 0% /mnt</screen>
</example>
@ -2985,8 +2985,8 @@ Filesystem 1K-blocks Used Avail Capacity Mounted on
<title>Использование <command>mdconfig</command> для монтирования файла
с образом существующей файловой системы</title>
<screen>&prompt.root; <userinput>mdconfig -a -t vnode -f diskimage -u 0</userinput>
&prompt.root; <userinput>mount /dev/md0 /mnt</userinput></screen>
<screen>&prompt.root; <userinput>mdconfig -a -t vnode -f <replaceable>diskimage</replaceable> -u <replaceable>0</replaceable></userinput>
&prompt.root; <userinput>mount /dev/md<replaceable>0</replaceable> <replaceable>/mnt</replaceable></userinput></screen>
</example>
<para>Для создания образа новой файловой системы при помощи
@ -2996,18 +2996,18 @@ Filesystem 1K-blocks Used Avail Capacity Mounted on
<title>Создание нового диска, отображаемого в файл, при помощи
<command>mdconfig</command></title>
<screen>&prompt.root; <userinput>dd if=/dev/zero of=newimage bs=1k count=5k</userinput>
<screen>&prompt.root; <userinput>dd if=/dev/zero of=<replaceable>newimage</replaceable> bs=1k count=<replaceable>5</replaceable>k</userinput>
5120+0 records in
5120+0 records out
&prompt.root; <userinput>mdconfig -a -t vnode -f newimage -u 0</userinput>
&prompt.root; <userinput>bsdlabel -w md0 auto</userinput>
&prompt.root; <userinput>newfs md0a</userinput>
&prompt.root; <userinput>mdconfig -a -t vnode -f <replaceable>newimage</replaceable> -u <replaceable>0</replaceable></userinput>
&prompt.root; <userinput>bsdlabel -w md<replaceable>0</replaceable> auto</userinput>
&prompt.root; <userinput>newfs md<replaceable>0</replaceable>a</userinput>
/dev/md0c: 5.0MB (10224 sectors) block size 16384, fragment size 2048
using 4 cylinder groups of 1.25MB, 80 blks, 192 inodes.
super-block backups (for fsck -b #) at:
160, 2720, 5280, 7840
&prompt.root; <userinput>mount /dev/md0a /mnt</userinput>
&prompt.root; <userinput>df /mnt</userinput>
&prompt.root; <userinput>mount /dev/md<replaceable>0</replaceable>a <replaceable>/mnt</replaceable></userinput>
&prompt.root; <userinput>df <replaceable>/mnt</replaceable></userinput>
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/md0a 4710 4 4330 0% /mnt</screen>
</example>
@ -3033,11 +3033,11 @@ Filesystem 1K-blocks Used Avail Capacity Mounted on
<title>Настройка и монтирование диска, отображаемого в файл, при помощи
команды <command>mdmfs</command></title>
<screen>&prompt.root; <userinput>dd if=/dev/zero of=newimage bs=1k count=5k</userinput>
<screen>&prompt.root; <userinput>dd if=/dev/zero of=<replaceable>newimage</replaceable> bs=1k count=<replaceable>5</replaceable>k</userinput>
5120+0 records in
5120+0 records out
&prompt.root; <userinput>mdmfs -F newimage -s 5m md0 /mnt</userinput>
&prompt.root; <userinput>df /mnt</userinput>
&prompt.root; <userinput>mdmfs -F <replaceable>newimage</replaceable> -s <replaceable>5</replaceable>m md<replaceable>0</replaceable> <replaceable>/mnt</replaceable></userinput>
&prompt.root; <userinput>df <replaceable>/mnt</replaceable></userinput>
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/md0 4718 4 4338 0% /mnt</screen>
</example>
@ -3068,11 +3068,11 @@ Filesystem 1K-blocks Used Avail Capacity Mounted on
<example>
<title>Диск md в памяти во FreeBSD&nbsp;4.X</title>
<screen>&prompt.root; <userinput>dd if=newimage of=/dev/md0</userinput>
<screen>&prompt.root; <userinput>dd if=<replaceable>newimage</replaceable> of=/dev/md<replaceable>0</replaceable></userinput>
5120+0 records in
5120+0 records out
&prompt.root; <userinput>mount /dev/md0c /mnt</userinput>
&prompt.root; <userinput>df /mnt</userinput>
&prompt.root; <userinput>mount /dev/md<replaceable>0</replaceable>c <replaceable>/mnt</replaceable></userinput>
&prompt.root; <userinput>df <replaceable>/mnt</replaceable></userinput>
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/md0c 4927 1 4532 0% /mnt</screen>
</example>
@ -3106,15 +3106,15 @@ Filesystem 1K-blocks Used Avail Capacity Mounted on
<title>Создание нового диска с отображением в память при помощи
<command>mdconfig</command></title>
<screen>&prompt.root; <userinput>mdconfig -a -t swap -s 5m -u 1</userinput>
&prompt.root; <userinput>newfs -U md1</userinput>
<screen>&prompt.root; <userinput>mdconfig -a -t swap -s <replaceable>5</replaceable>m -u <replaceable>1</replaceable></userinput>
&prompt.root; <userinput>newfs -U md<replaceable>1</replaceable></userinput>
/dev/md1: 5.0MB (10240 sectors) block size 16384, fragment size 2048
using 4 cylinder groups of 1.27MB, 81 blks, 192 inodes.
with soft updates
super-block backups (for fsck -b #) at:
160, 2752, 5344, 7936
&prompt.root; <userinput>mount /dev/md1 /mnt</userinput>
&prompt.root; <userinput>df /mnt</userinput>
&prompt.root; <userinput>mount /dev/md<replaceable>1</replaceable> <replaceable>/mnt</replaceable></userinput>
&prompt.root; <userinput>df <replaceable>/mnt</replaceable></userinput>
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/md1 4718 4 4338 0% /mnt</screen>
</example>
@ -3123,8 +3123,8 @@ Filesystem 1K-blocks Used Avail Capacity Mounted on
<title>Создание нового диска с отображением в память при помощи
<command>mdmfs</command></title>
<screen>&prompt.root; <userinput>mdmfs -s 5m md2 /mnt</userinput>
&prompt.root; <userinput>df /mnt</userinput>
<screen>&prompt.root; <userinput>mdmfs -s <replaceable>5</replaceable>m md<replaceable>2</replaceable> <replaceable>/mnt</replaceable></userinput>
&prompt.root; <userinput>df <replaceable>/mnt</replaceable></userinput>
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/md2 4846 2 4458 0% /mnt</screen>
</example>
@ -3148,7 +3148,7 @@ Filesystem 1K-blocks Used Avail Capacity Mounted on
<para>К примеру, чтобы отключить и освободить все ресурсы, используемые
<filename>/dev/md4</filename>:</para>
<screen>&prompt.root; <userinput>mdconfig -d -u 4</userinput></screen>
<screen>&prompt.root; <userinput>mdconfig -d -u <replaceable>4</replaceable></userinput></screen>
<para>Для выдачи информации об отконфигурированных устройствах
&man.md.4; используется команда <command>mdconfig -l</command>.</para>
@ -3157,7 +3157,7 @@ Filesystem 1K-blocks Used Avail Capacity Mounted on
&man.vnconfig.8;. Например, для отключения и освобождения всех
ресурсов, используемых <filename>/dev/vn4</filename>:</para>
<screen>&prompt.root; <userinput>vnconfig -u vn4</userinput></screen>
<screen>&prompt.root; <userinput>vnconfig -u vn<replaceable>4</replaceable></userinput></screen>
</sect2>
</sect1>
@ -3630,7 +3630,7 @@ Password:</screen>
<para>Установите новый диск в систему, как это описано в <xref linkend="disks-adding"/>. В рамках этого примера раздел,
соответствующий новому жёсткому диску, будет называться
<filename>/dev/ad4s1c</filename>. Устройства
<filename>/dev/ad0s1*</filename>
<filename>/dev/ad0s1<replaceable>*</replaceable></filename>
представляют существующие стандартные разделы FreeBSD нашей
тестовой системы.</para>
@ -3742,7 +3742,7 @@ sector_size = 2048
<para>Запуск команды &man.newfs.8; должен выполняться над
подключенном разделе <application>gbde</application>, который
идентифицируется по расширению
<filename>*.bde</filename> × ÉÍÅÎÉ
<filename><replaceable>*</replaceable>.bde</filename> × ÉÍÅÎÉ
устройства.</para>
</note>
</step>
@ -3857,7 +3857,7 @@ gbde_lockdir="/etc/gbde"</programlisting>
<para>&man.sysinstall.8; несовместим с устройствами, зашифрованными
<application>gbde</application>. Все устройства
<filename>*.bde</filename> ĞÅÒÅÄ
<filename><replaceable>*</replaceable>.bde</filename> ĞÅÒÅÄ
запуском &man.sysinstall.8; должны быть отключены от системы, или
эта утилита аварийно завершит работу на этапе обнаружения устройств.
Для отключения защищённого устройства, используемого в нашем примере,
@ -3997,7 +3997,7 @@ Reenter new passphrase:</screen>
Enter passphrase:</screen>
<para>Созданный при этом файл дискового устройства будет называться
<filename>/dev/da2.eli</filename>.</para>
<filename>/dev/<replaceable>da2</replaceable>.eli</filename>.</para>
<screen>&prompt.root; <userinput>ls /dev/da2*</userinput>
/dev/da2 /dev/da2.eli</screen>

View file

@ -189,12 +189,12 @@ vfs.zfs.vdev.cache.size="5M"</programlisting>
<para>Здесь и далее в статье подразумевается, что в системе
установлено три <acronym>SCSI</acronym> диска с именами
устройств
<filename>da0</filename>,
<filename>da1</filename> É
<filename>da2</filename>.
<filename><replaceable>da0</replaceable></filename>,
<filename><replaceable>da1</replaceable></filename> É
<filename><replaceable>da2</replaceable></filename>.
Использующим <acronym>IDE</acronym> диски необходимо
подставить имена устройств
<filename>ad</filename>
<filename><replaceable>ad</replaceable></filename>
вместо имен устройств <acronym>SCSI</acronym>.</para>
<sect3>

View file

@ -1312,7 +1312,7 @@ net.inet.ip.fw.verbose_limit=5</programlisting>
ÐÒÁ×ÉÌ ÍÅÖÓÅÔÅ×ÏÇÏ ÜËÒÁÎÁ.</para>
</listitem>
<listitem>
<para><filename>filename</filename>
<para><filename><replaceable>filename</replaceable></filename>
&mdash; ÁÂÓÏÌÀÔÎÙÊ ÐÕÔØ Ë ÆÁÊÌÕ, ÓÏÄÅÒÖÁÝÅÍÕ ÐÒÁ×ÉÌÁ
ÍÅÖÓÅÔÅ×ÏÇÏ ÜËÒÁÎÁ.</para>
</listitem>
@ -1435,7 +1435,7 @@ ipfw add deny out</programlisting>
<para>ïÂÎÕÌÉÔØ ÓÞÅÔÞÉËÉ ÄÌÑ ÐÒÁ×ÉÌÁ ÐÏÄ ÎÏÍÅÒÏÍ
<replaceable>NUM</replaceable>:</para>
<screen>&prompt.root; <userinput>ipfw zero NUM</userinput></screen>
<screen>&prompt.root; <userinput>ipfw zero <replaceable>NUM</replaceable></userinput></screen>
</sect2>
<sect2 xml:id="firewalls-ipfw-rules">

View file

@ -548,7 +548,7 @@ ggate0
<acronym>UFS</acronym>2 не нарушая самих данных, выполните следующую
команду:</para>
<screen>&prompt.root; <userinput>tunefs -L home /dev/da3</userinput></screen>
<screen>&prompt.root; <userinput>tunefs -L <replaceable>home</replaceable> <replaceable>/dev/da3</replaceable></userinput></screen>
<warning>
<para>Если файловая система заполнена, это может привести к
@ -757,7 +757,7 @@ ufsid/486b6fc16926168e N/A ad4s1f</screen>
<para>Смонтируйте устройство в требуемый каталог файловой системы:</para>
<screen>&prompt.root; <userinput>mount /dev/da4.journal /mnt</userinput></screen>
<screen>&prompt.root; <userinput>mount /dev/da4.journal <replaceable>/mnt</replaceable></userinput></screen>
<note>
<para>В случае наличия нескольких слайсов, журнал создается для каждого

View file

@ -607,7 +607,7 @@
&os;&nbsp;8.<replaceable>X</replaceable>-RELEASE и более ранних
можно найти в каталоге
<filename>ISO-IMAGES/</filename> по адресу
<literal>ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/arch/ISO-IMAGES/version/&os;-version-RELEASE-arch-memstick.img</literal>.
<literal>ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/<replaceable>arch</replaceable>/ISO-IMAGES/<replaceable>version</replaceable>/&os;-<replaceable>version</replaceable>-RELEASE-<replaceable>arch</replaceable>-memstick.img</literal>.
Замените <replaceable>arch</replaceable> и
<replaceable>version</replaceable> именем архитектуры и
номером версии операционной системы, которую вы планируете
@ -659,7 +659,7 @@
Вместо копирования вы должны использовать &man.dd.1; для записи
образа непосредственно на накопитель:</para>
<screen>&prompt.root; <userinput>dd if=&os;-&rel2.current;-RELEASE-&arch.i386;-memstick.img of=/dev/da0 bs=64k</userinput></screen>
<screen>&prompt.root; <userinput>dd if=&os;-&rel2.current;-RELEASE-&arch.i386;-memstick.img of=/dev/<replaceable>da0</replaceable> bs=64k</userinput></screen>
<para>Если отображается ошибка
<computeroutput>Operation not permitted</computeroutput>,
@ -719,7 +719,7 @@
<para>Загрузочные дискеты &os;/&arch.pc98; могут быть закачаны
из каталога floppies по адресу
<literal>ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/pc98/version-RELEASE/floppies/</literal>.
<literal>ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/pc98/<replaceable>version</replaceable>-RELEASE/floppies/</literal>.
Замените <replaceable>version</replaceable> номером версии, которую
вы хотите установить.</para>
@ -1885,7 +1885,7 @@ Mounting root from ufs:/dev/md0c
поэтому приняв его, вы сделаете установку несколько проще.
Вы можете монтировать эти файловые системы к любой точке; в
этом примере предлагается смонтировать их как каталоги
<filename>/diskn</filename>, ÇÄÅ
<filename>/disk<replaceable>n</replaceable></filename>, ÇÄÅ
<replaceable>n</replaceable> это номер, который уникален для
каждого диска. Но вы можете использовать другую схему, если
захотите.</entry>
@ -4289,7 +4289,7 @@ Please press any key to reboot.</screen>
USB-накопитель на вашу систему FreeBSD
используя команду &man.mount.8;.</para>
<screen>&prompt.root; <userinput>mount /dev/da0a /mnt</userinput></screen>
<screen>&prompt.root; <userinput>mount /dev/<replaceable>da0a</replaceable> <replaceable>/mnt</replaceable></userinput></screen>
<note>
<para>Измените названия файла устройства и точки монтирования
@ -4302,12 +4302,12 @@ Please press any key to reboot.</screen>
USB-накопителя, добавьте запись, устанавливающую в качестве
системной консоли последовательную консоль.</para>
<screen>&prompt.root; <userinput>echo 'console="comconsole"' &gt;&gt; /mnt/boot/loader.conf</userinput></screen>
<screen>&prompt.root; <userinput>echo 'console="comconsole"' &gt;&gt; <replaceable>/mnt</replaceable>/boot/loader.conf</userinput></screen>
<para>Далее, когда ваш USB-накопитель правильно настроен,
размонтируйте его с помощью команды &man.umount.8;:</para>
<screen>&prompt.root; <userinput>umount /mnt</userinput></screen>
<screen>&prompt.root; <userinput>umount <replaceable>/mnt</replaceable></userinput></screen>
<para>Теперь извлеките USB-накопитель и перейдите к третьему
пункту этой инструкции.</para>
@ -4330,25 +4330,25 @@ Please press any key to reboot.</screen>
<para>В приведённом далее примере подразумевается, что подготовку
образа вы выполняете на вашем втором компьютере, работающем под
управлением &os;. Также подразумевается, что на нём есть файл
ÚÁÇÒÕÚÏÞÎÏÇÏ ISO ÏÂÒÁÚÁ, ÎÁÐÒÉÍÅÒ <filename>&os;-&rel.current;-RELEASE-i386-disc1.iso</filename>.
ÚÁÇÒÕÚÏÞÎÏÇÏ ISO ÏÂÒÁÚÁ, ÎÁÐÒÉÍÅÒ <filename>&os;-<replaceable>&rel.current;</replaceable>-RELEASE-<replaceable>i386</replaceable>-disc1.iso</filename>.
Извлеките из образа все файлы утилитой &man.tar.1;:</para>
<screen>&prompt.root; <userinput>mkdir /path/to/headless-iso</userinput>
&prompt.root; <userinput>tar -C /path/to/headless-iso -pxvf &os;-&rel.current;-RELEASE-i386-disc1.iso</userinput></screen>
<screen>&prompt.root; <userinput>mkdir <replaceable>/path/to/headless-iso</replaceable></userinput>
&prompt.root; <userinput>tar -C <replaceable>/path/to/headless-iso</replaceable> -pxvf &os;-<replaceable>&rel.current;</replaceable>-RELEASE-<replaceable>i386</replaceable>-disc1.iso</userinput></screen>
<para>Теперь необходимо внести некоторые изменения в набор
файлов и каталогов, полученных из образа. Добавьте в файл
<filename>loader.conf</filename> запись, устанавливающую в качестве
системной консоли последовательную консоль.</para>
<screen>&prompt.root; <userinput>echo 'console="comconsole"' &gt;&gt; /path/to/headless-iso/boot/loader.conf</userinput></screen>
<screen>&prompt.root; <userinput>echo 'console="comconsole"' &gt;&gt; <replaceable>/path/to/headless-iso</replaceable>/boot/loader.conf</userinput></screen>
<para>Далее необходимо создать новый образ ISO из извлеченного
и исправленного старого образа. Для этого воспользуйтесь
утилитой &man.mkisofs.8; (порт <package>sysutils/cdrtools</package>):</para>
<screen>&prompt.root; <userinput>mkisofs -v -b boot/cdboot -no-emul-boot -r -J -V "Headless_install" \
-o Headless-&os;-&rel.current;-RELEASE-i386-disc1.iso /path/to/headless-iso</userinput></screen>
<screen>&prompt.root; <userinput>mkisofs -v -b boot/cdboot -no-emul-boot -r -J -V "<replaceable>Headless_install</replaceable>" \
-o <replaceable>Headless</replaceable>-&os;-<replaceable>&rel.current;</replaceable>-RELEASE-<replaceable>i386</replaceable>-disc1.iso <replaceable>/path/to/headless-iso</replaceable></userinput></screen>
<para>А теперь, имея в распоряжении модифицированный новый образ
ISO, самое время записать его на диск CD-R при помощи вашей
@ -4459,7 +4459,7 @@ Please press any key to reboot.</screen>
<step>
<title>Скачайте соответствующие ISO образы</title>
<para>ISO ÏÂÒÁÚÙ ÄÌÑ ËÁÖÄÏÇÏ ÒÅÌÉÚÁ ÍÏÇÕÔ ÂÙÔØ ÚÁÇÒÕÖÅÎÙ Ó <filename>ftp://ftp.FreeBSD.org/pub/FreeBSD/ISO-IMAGES-ÁÒÈÉÔÅËÔÕÒÁ/×ÅÒÓÉÑ</filename> ÉÌÉ Ó ÂÌÉÖÁÊÛÅÇÏ ÚÅÒËÁÌÁ.
<para>ISO ÏÂÒÁÚÙ ÄÌÑ ËÁÖÄÏÇÏ ÒÅÌÉÚÁ ÍÏÇÕÔ ÂÙÔØ ÚÁÇÒÕÖÅÎÙ Ó <filename>ftp://ftp.FreeBSD.org/pub/FreeBSD/ISO-IMAGES-<replaceable>ÁÒÈÉÔÅËÔÕÒÁ</replaceable>/<replaceable>×ÅÒÓÉÑ</replaceable></filename> ÉÌÉ Ó ÂÌÉÖÁÊÛÅÇÏ ÚÅÒËÁÌÁ.
Замените <replaceable>архитектура</replaceable> и
<replaceable>версия</replaceable> в соответствии архитектурой
и номером релиза соответственно.</para>
@ -4480,7 +4480,7 @@ Please press any key to reboot.</screen>
<tbody>
<row>
<entry><filename>&os;-version-RELEASE-arch-bootonly.iso</filename></entry>
<entry><filename>&os;-<replaceable>version</replaceable>-RELEASE-<replaceable>arch</replaceable>-bootonly.iso</filename></entry>
<entry>Этот образ CD предоставляет возможность начать
процесс установки, загрузившись с диска в приводе CD-ROM.
@ -4491,7 +4491,7 @@ Please press any key to reboot.</screen>
</row>
<row>
<entry><filename>&os;-version-RELEASE-arch-dvd1.iso.gz</filename></entry>
<entry><filename>&os;-<replaceable>version</replaceable>-RELEASE-<replaceable>arch</replaceable>-dvd1.iso.gz</filename></entry>
<entry>Этот образ DVD содержит всё необходимое для установки
базовой системы &os;, а также &mdash; документацию и набор
@ -4500,7 +4500,7 @@ Please press any key to reboot.</screen>
</row>
<row>
<entry><filename>&os;-version-RELEASE-arch-memstick.img</filename></entry>
<entry><filename>&os;-<replaceable>version</replaceable>-RELEASE-<replaceable>arch</replaceable>-memstick.img</filename></entry>
<entry>Этот образ предназначен для создания загрузочных
USB-накопителей. Такой накопитель может использоваться для
@ -4512,14 +4512,14 @@ Please press any key to reboot.</screen>
</row>
<row>
<entry><filename>&os;-version-RELEASE-arch-disc1.iso</filename></entry>
<entry><filename>&os;-<replaceable>version</replaceable>-RELEASE-<replaceable>arch</replaceable>-disc1.iso</filename></entry>
<entry>Этот образ CD содержит базовую систему &os; и набор
пакетов с документацией.</entry>
</row>
<row>
<entry><filename>&os;-version-RELEASE-arch-disc2.iso</filename></entry>
<entry><filename>&os;-<replaceable>version</replaceable>-RELEASE-<replaceable>arch</replaceable>-disc2.iso</filename></entry>
<entry>Этот образ CD содержит пакеты сторонних
разработчиков, которые смогли поместиться на диск.
@ -4528,7 +4528,7 @@ Please press any key to reboot.</screen>
</row>
<row>
<entry><filename>&os;-version-RELEASE-arch-disc3.iso</filename></entry>
<entry><filename>&os;-<replaceable>version</replaceable>-RELEASE-<replaceable>arch</replaceable>-disc3.iso</filename></entry>
<entry>Еще один образ CD, заполненный пакетами сторонних
разработчиков. Этот образ не создавался для
@ -4536,7 +4536,7 @@ Please press any key to reboot.</screen>
</row>
<row>
<entry><filename>&os;-version-RELEASE-arch-livefs.iso</filename></entry>
<entry><filename>&os;-<replaceable>version</replaceable>-RELEASE-<replaceable>arch</replaceable>-livefs.iso</filename></entry>
<entry>Данный образ CD поддерживает загрузку в режим
аварийного восстановления системы (содержит
@ -4632,7 +4632,7 @@ Please press any key to reboot.</screen>
<para>Всякий, кто может подсоединиться по сети к вашему компьютеру,
может выбрать тип носителя FTP и набрать
<userinput>ftp://×ÁÛ ËÏÍÐØÀÔÅÒ</userinput>
<userinput>ftp://<replaceable>×ÁÛ ËÏÍÐØÀÔÅÒ</replaceable></userinput>
после выбора <quote>Other</quote> в меню серверов FTP во время
установки.</para>

View file

@ -189,7 +189,7 @@ psm0: model Generic PS/2 mouse, device ID 0</programlisting>
<para>Эта часть вывода, полученная в результате запуска команды
<command>pciconf -lv</command>, показывает, что драйвер
<filename>ath</filename> обнаружил беспроводное Ethernet устройство.
îÁÂÒÁ× <command>man ath</command>, ×Ù
îÁÂÒÁ× <command>man <replaceable>ath</replaceable></command>, ×Ù
получите страницу справочника &man.ath.4;.</para>
<para>Также, для извлечения необходимой информации, можно воспользоваться
@ -276,7 +276,7 @@ following line in &man.loader.conf.5;:
<filename>/usr/src/sys</filename>, который также доступен как каталог
<filename>/sys</filename>. Этот каталог содержит множество подкаталогов,
представляющих собой различные части ядра, но наиболее важным для нас
ÂÕÄÅÔ ËÁÔÁÌÏÇ <filename>arch/conf</filename>,
ÂÕÄÅÔ ËÁÔÁÌÏÇ <filename><replaceable>arch</replaceable>/conf</filename>,
в котором вы будете редактировать конфигурационный файл ядра и в котором
находится каталог <filename>compile</filename>, где будет
собираться ваше ядро. <replaceable>arch</replaceable> может быть
@ -309,17 +309,17 @@ following line in &man.loader.conf.5;:
</note>
<para>Затем, перейдите в каталог
<filename>arch/conf</filename>
<filename><replaceable>arch</replaceable>/conf</filename>
и скопируйте файл конфигурации <filename>GENERIC</filename>
в файл с выбранным вами именем. Например:</para>
<screen>&prompt.root; <userinput>cd /usr/src/sys/i386/conf</userinput>
&prompt.root; <userinput>cp GENERIC MYKERNEL</userinput></screen>
<screen>&prompt.root; <userinput>cd /usr/src/sys/<replaceable>i386</replaceable>/conf</userinput>
&prompt.root; <userinput>cp GENERIC <replaceable>MYKERNEL</replaceable></userinput></screen>
<para>По традиции имя состоит из букв в верхнем регистре, и если
вы поддерживаете несколько компьютеров &os; на различном оборудовании,
хорошая идея добавлять это имя к имени хоста. Мы назвали ядро
<filename>MYKERNEL</filename> × ÜÔÏÍ ĞÒÉÍÅÒÅ.</para>
<filename><replaceable>MYKERNEL</replaceable></filename> × ÜÔÏÍ ĞÒÉÍÅÒÅ.</para>
<tip>
<para>Помещение файла конфигурации ядра в <filename>/usr/src</filename>
@ -333,17 +333,17 @@ following line in &man.loader.conf.5;:
<para>Вы можете сохранить файл конфигурации ядра в другом месте,
а затем создать символическую ссылку на этот файл в каталоге
<filename>i386</filename>.</para>
<filename><replaceable>i386</replaceable></filename>.</para>
<para>Например:</para>
<screen>&prompt.root; <userinput>cd /usr/src/sys/i386/conf</userinput>
<screen>&prompt.root; <userinput>cd /usr/src/sys/<replaceable>i386</replaceable>/conf</userinput>
&prompt.root; <userinput>mkdir /root/kernels</userinput>
&prompt.root; <userinput>cp GENERIC /root/kernels/MYKERNEL</userinput>
&prompt.root; <userinput>ln -s /root/kernels/MYKERNEL</userinput></screen>
&prompt.root; <userinput>cp GENERIC /root/kernels/<replaceable>MYKERNEL</replaceable></userinput>
&prompt.root; <userinput>ln -s /root/kernels/<replaceable>MYKERNEL</replaceable></userinput></screen>
</tip>
<para>ôÅĞÅÒØ ÏÔÒÅÄÁËÔÉÒÕÊÔÅ ÆÁÊÌ <filename>MYKERNEL</filename> × Ó×Ï£Í
<para>ôÅĞÅÒØ ÏÔÒÅÄÁËÔÉÒÕÊÔÅ ÆÁÊÌ <filename><replaceable>MYKERNEL</replaceable></filename> × Ó×Ï£Í
любимом текстовом редакторе. Если вы только начинаете, единственным
доступным редактором скорее всего будет <application>vi</application>,
который слишком сложен для того, чтобы описать его здесь,
@ -394,13 +394,13 @@ following line in &man.loader.conf.5;:
<step>
<para>Соберите ядро:</para>
<screen>&prompt.root; <userinput>make buildkernel KERNCONF=MYKERNEL</userinput></screen>
<screen>&prompt.root; <userinput>make buildkernel KERNCONF=<replaceable>MYKERNEL</replaceable></userinput></screen>
</step>
<step>
<para>Установите новое ядро:</para>
<screen>&prompt.root; <userinput>make installkernel KERNCONF=MYKERNEL</userinput></screen>
<screen>&prompt.root; <userinput>make installkernel KERNCONF=<replaceable>MYKERNEL</replaceable></userinput></screen>
</step>
</procedure>
@ -515,7 +515,7 @@ options IPDIVERT
для тестирования), выполните от имени суперпользователя
(<systemitem class="username">root</systemitem>) следующую команду:</para>
<screen>&prompt.root; <userinput>cd /usr/src/sys/i386/conf &amp;&amp; make LINT</userinput></screen>
<screen>&prompt.root; <userinput>cd /usr/src/sys/<replaceable>i386</replaceable>/conf &amp;&amp; make LINT</userinput></screen>
</note>
<indexterm>
@ -527,7 +527,7 @@ options IPDIVERT
<filename>GENERIC</filename> с различными дополнительными комментариями,
которые могут понадобиться для ясности. Этот пример должен совпадать с вашей
копией в
<filename>/usr/src/sys/i386/conf/GENERIC</filename>
<filename>/usr/src/sys/<replaceable>i386</replaceable>/conf/GENERIC</filename>
практически полностью.</para>
<indexterm>
@ -571,7 +571,7 @@ cpu I686_CPU</programlisting>
<para>Этот параметр определяет <quote>метку</quote> ядра. Необходимо,
чтобы она соответствовала названию файла конфигурации ядра, например
<literal>MYKERNEL</literal>, ÅÓÌÉ ×Ù ÓÌÅÄÏ×ÁÌÉ ÉÎÓÔÒÕËÃÉÑÍ × ĞÒÅÄÙÄÕİÉÈ
<literal><replaceable>MYKERNEL</replaceable></literal>, ÅÓÌÉ ×Ù ÓÌÅÄÏ×ÁÌÉ ÉÎÓÔÒÕËÃÉÑÍ × ĞÒÅÄÙÄÕİÉÈ
примерах. Значение, которое вы присвоите параметру
<literal>ident</literal> будет выводиться в процессе загрузки, поэтому
полезно давать новым ядрам другие имена для того, чтобы отличать их от
@ -1213,7 +1213,7 @@ device xe # Xircom pccard Ethernet
#device le</programlisting>
<para>Драйвера сетевых карт ISA. Ознакомьтесь с файлом
<filename>/usr/src/sys/i386/conf/NOTES</filename>,
<filename>/usr/src/sys/<replaceable>i386</replaceable>/conf/NOTES</filename>,
чтобы узнать, какие
сетевые карты каким драйвером поддерживаются.</para>
@ -1354,7 +1354,7 @@ device fwe # Ethernet over FireWire (non-standard!)</programl
<para>За дальнейшей информацией о дополнительных устройствах,
поддерживаемых &os;, обратитесь к файлу
<filename>/usr/src/sys/i386/conf/NOTES</filename>.</para>
<filename>/usr/src/sys/<replaceable>i386</replaceable>/conf/NOTES</filename>.</para>
<sect2>
<title>Конфигурации с большим количеством оперативной памяти
@ -1491,7 +1491,7 @@ device fwe # Ethernet over FireWire (non-standard!)</programl
Доступ к нему вы можете получить, когда система находится в стартовом меню.
Выберите шестой пункт (<quote>Escape to a loader prompt</quote>),
введите команду
<command>boot kernel.old</command>,
<command>boot <replaceable>kernel.old</replaceable></command>,
или используйте любое
другое ядро, которое загрузится без проблем. Во время
переконфигурирования ядра всегда полезно оставлять копию ядра, о
@ -1517,8 +1517,8 @@ device fwe # Ethernet over FireWire (non-standard!)</programl
некорректно. Для этого просто переместите каталог, содержащий
работоспособное ядро:</para>
<screen>&prompt.root; <userinput>mv /boot/kernel /boot/kernel.bad</userinput>
&prompt.root; <userinput>mv /boot/kernel.good /boot/kernel</userinput></screen>
<screen>&prompt.root; <userinput>mv /boot/kernel <replaceable>/boot/kernel.bad</replaceable></userinput>
&prompt.root; <userinput>mv <replaceable>/boot/kernel.good</replaceable> /boot/kernel</userinput></screen>
</note>
</listitem>
</varlistentry>

View file

@ -361,7 +361,7 @@ me:\
<itemizedlist>
<listitem>
<para>Установите <literal>defaultclass =
ÑÚÙË</literal> ×
<replaceable>ÑÚÙË</replaceable></literal> ×
<filename>/etc/adduser.conf</filename>. Помните, что в этом
случае вы должны задать <literal>default</literal> класс для
всех пользователей других языков.</para>
@ -379,7 +379,7 @@ me:\
пользователя другого языка, которого вы хотите
добавить:</para>
<screen>&prompt.root; <userinput>adduser -class ÑÚÙË</userinput></screen>
<screen>&prompt.root; <userinput>adduser -class <replaceable>ÑÚÙË</replaceable></userinput></screen>
</listitem>
</itemizedlist>
@ -390,7 +390,7 @@ me:\
утилиту &man.pw.8;, запускайте ее с такими параметрами:</para>
<screen>&prompt.root; <userinput>pw useradd
ÉÍÑ_ĞÏÌØÚÏ×ÁÔÅÌÑ -L ÑÚÙË</userinput></screen>
<replaceable>ÉÍÑ_ĞÏÌØÚÏ×ÁÔÅÌÑ</replaceable> -L <replaceable>ÑÚÙË</replaceable></userinput></screen>
</sect5>
</sect4>
@ -568,7 +568,7 @@ keychange="<replaceable>fkey_number sequence</replaceable>"</programlisting>
<para>Для расширенных кодировок, а также для многобайтовых кодировок,
используйте порт FreeBSD из каталога
<filename>/usr/ports/language</filename>.
<filename>/usr/ports/<replaceable>language</replaceable></filename>.
Некоторые порты выводят информацию на консоль, хотя для системы
выглядят как последовательные псевдотерминалы, следовательно вы
должны зарезервировать достаточное количество псевдотерминалов

View file

@ -704,7 +704,7 @@ FEATURE Maple maplelmg 2000.0831 permanent 1 XXXXXXXXXXXX \
<tip>
<para>Запускается графический инсталлятор. Если вы получаете
сообщения о невозможности открыть дисплей, наберите
<command>setenv HOME ~USER</command>,
<command>setenv HOME ~<replaceable>USER</replaceable></command>,
где <replaceable>USER</replaceable>&nbsp;&ndash; пользователь, от
имени которого выполнена команда &man.su.1;.</para>
</tip>
@ -939,7 +939,7 @@ exit 0</programlisting>
<application>RPM</application>
(<package>archivers/rpm</package>):</para>
<screen>&prompt.root; <userinput>rpm -i --ignoreos --root /compat/linux --dbpath /var/lib/rpm ĞÁËÅÔ</userinput></screen>
<screen>&prompt.root; <userinput>rpm -i --ignoreos --root /compat/linux --dbpath /var/lib/rpm <replaceable>ĞÁËÅÔ</replaceable></userinput></screen>
<para>Установка этого <replaceable>пакета</replaceable> должна
пройти без каких-либо ошибок.</para>
@ -1931,16 +1931,16 @@ Shell: bash (/compat/linux/bin/bash)</programlisting>
<screen>&prompt.root; <userinput>chmod 775 /oracle</userinput>
&prompt.root; <userinput>chmod 777 /sapmnt</userinput>
&prompt.root; <userinput>chown root:dba /oracle</userinput>
&prompt.root; <userinput>chown sidadm:sapsys /compat/linux/usr/sap</userinput>
&prompt.root; <userinput>chown <replaceable>sid</replaceable>adm:sapsys /compat/linux/usr/sap</userinput>
&prompt.root; <userinput>chmod 775 /compat/linux/usr/sap</userinput></screen>
<para>Затем, мы создадим каталоги от имени пользователя
<systemitem class="username">ora<replaceable>sid</replaceable></systemitem>. Все они
будут размещены в каталоге
<filename>/oracle/SID</filename>:</para>
<filename>/oracle/<replaceable>SID</replaceable></filename>:</para>
<screen>&prompt.root; <userinput>su - orasid</userinput>
&prompt.root; <userinput>cd /oracle/SID</userinput>
<screen>&prompt.root; <userinput>su - ora<replaceable>sid</replaceable></userinput>
&prompt.root; <userinput>cd /oracle/<replaceable>SID</replaceable></userinput>
&prompt.root; <userinput>mkdir mirrlogA mirrlogB origlogA origlogB</userinput>
&prompt.root; <userinput>mkdir sapdata1 sapdata2 sapdata3 sapdata4 sapdata5 sapdata6</userinput>
&prompt.root; <userinput>mkdir saparch sapreorg</userinput>
@ -1949,13 +1949,13 @@ Shell: bash (/compat/linux/bin/bash)</programlisting>
<para>Для установки <application>&oracle; 8.1.7</application>
потребуется несколько дополнительных каталогов:</para>
<screen>&prompt.root; <userinput>su - orasid</userinput>
<screen>&prompt.root; <userinput>su - ora<replaceable>sid</replaceable></userinput>
&prompt.root; <userinput>cd /oracle</userinput>
&prompt.root; <userinput>mkdir 805_32</userinput>
&prompt.root; <userinput>mkdir client stage</userinput>
&prompt.root; <userinput>mkdir client/80x_32</userinput>
&prompt.root; <userinput>mkdir stage/817_32</userinput>
&prompt.root; <userinput>cd /oracle/SID</userinput>
&prompt.root; <userinput>cd /oracle/<replaceable>SID</replaceable></userinput>
&prompt.root; <userinput>mkdir 817_32</userinput></screen>
<note><para>Каталог <filename>client/80x_32</filename> должен иметь
@ -1965,9 +1965,9 @@ Shell: bash (/compat/linux/bin/bash)</programlisting>
<para>На третьем шаге мы создаем каталоги от имени пользователя
<systemitem class="username"><replaceable>sid</replaceable>adm</systemitem>:</para>
<screen>&prompt.root; <userinput>su - sidadm</userinput>
<screen>&prompt.root; <userinput>su - <replaceable>sid</replaceable>adm</userinput>
&prompt.root; <userinput>cd /usr/sap</userinput>
&prompt.root; <userinput>mkdir SID</userinput>
&prompt.root; <userinput>mkdir <replaceable>SID</replaceable></userinput>
&prompt.root; <userinput>mkdir trans</userinput>
&prompt.root; <userinput>exit</userinput></screen>
</sect3>
@ -2105,7 +2105,7 @@ options SEMUME=100 #
<option>-g</option>. Поэтому используйте следующие команды:</para>
<screen>&prompt.root; <userinput>mount_cd9660 -g /dev/cd0a /mnt</userinput>
&prompt.root; <userinput>cp -R /mnt/* /oracle/SID/sapreorg/ÉÍÑ_cd</userinput>
&prompt.root; <userinput>cp -R /mnt/* /oracle/<replaceable>SID</replaceable>/sapreorg/ÉÍÑ_cd</userinput>
&prompt.root; <userinput>umount /mnt</userinput></screen>
</sect3>
@ -2114,7 +2114,7 @@ options SEMUME=100 #
<para>Сначала надо подготовить каталог <filename>install</filename>:</para>
<screen>&prompt.root; <userinput>cd /oracle/SID/sapreorg</userinput>
<screen>&prompt.root; <userinput>cd /oracle/<replaceable>SID</replaceable>/sapreorg</userinput>
&prompt.root; <userinput>mkdir install</userinput>
&prompt.root; <userinput>cd install</userinput></screen>
@ -2122,7 +2122,7 @@ options SEMUME=100 #
все необходимые файлы в каталог
<filename>install</filename>:</para>
<screen>&prompt.root; <userinput>/oracle/SID/sapreorg/KERNEL/UNIX/INSTTOOL.SH</userinput></screen>
<screen>&prompt.root; <userinput>/oracle/<replaceable>SID</replaceable>/sapreorg/KERNEL/UNIX/INSTTOOL.SH</userinput></screen>
<para>Дистрибутив IDES (4.6B) включает полностью настроенную
демонстрационную систему &sap.r3;, поэтому он включает шесть
@ -2595,7 +2595,7 @@ options SEMUME=100 #
<title>Установка tar-архива &oracle; 8.1.7 для Linux</title>
<para>Создайте tar-архив <filename>oracle81732.tgz</filename>
каталога установки на Linux-системе и разархивируйте его в
ËÁÔÁÌÏÇ <filename>/oracle/SID/817_32/</filename>.</para>
ËÁÔÁÌÏÇ <filename>/oracle/<replaceable>SID</replaceable>/817_32/</filename>.</para>
</sect2>
<sect2 xml:id="continuewithsapr4installation">
@ -2782,7 +2782,7 @@ LICENSE KEY = <replaceable>
</sect3>
<sect3 xml:id="editintsidsap">
<title>òÅÄÁËÔÉÒÏ×ÁÎÉÅ <filename>initsid.sap</filename> (<filename>initIDS.sap</filename>)</title>
<title>òÅÄÁËÔÉÒÏ×ÁÎÉÅ <filename>init<replaceable>sid</replaceable>.sap</filename> (<filename>initIDS.sap</filename>)</title>
<para>Файл <filename>/oracle/IDS/dbs/initIDS.sap</filename>
содержит профиль резервного копирования
@ -3223,13 +3223,13 @@ drwxrwxr-x 11 idsadm sapsys 512 May 4 14:20 trans</screen>
<para>Чтобы проверить, нормально ли запустились процессы
<application>&sap;</application>, посмотрите на состояние
процессов с помощью команды <command>ps ax |
grep SID</command>, ËÏÔÏÒÁÑ ×ÙÄÁÓÔ
grep <replaceable>SID</replaceable></command>, ËÏÔÏÒÁÑ ×ÙÄÁÓÔ
список всех процессов <application>&oracle;</application> и
<application>&sap;</application>. Если похоже, что некоторых
процессов не хватает или вы не можете подключиться к системе
<application>&sap;</application>, просмотрите соответствующие
журнальные файлы, которые можно найти в каталоге
<filename>/usr/sap/SID/DVEBMGSnr/work/</filename>.
<filename>/usr/sap/<replaceable>SID</replaceable>/DVEBMGS<replaceable>nr</replaceable>/work/</filename>.
Надо просматривать файлы <filename>dev_ms</filename> и
<filename>dev_disp</filename>.</para>
@ -3354,9 +3354,9 @@ options SHMMAXPGS=393216
так же, как и параметр <literal>union</literal> при монтировании
файловых систем (не путать с <literal>unionfs</literal>!).
Сперва, файл ищется в каталоге
<filename>/compat/linux/ÉÓÈÏÄÎÏÅ_ĞÏÌÎÏÅ_ÉÍÑ</filename>
<filename>/compat/linux/<replaceable>ÉÓÈÏÄÎÏÅ_ĞÏÌÎÏÅ_ÉÍÑ</replaceable></filename>
и только затем, в случае неудачи, в
<filename>/ÉÓÈÏÄÎÏÅ_ĞÏÌÎÏÅ_ÉÍÑ</filename>.
<filename>/<replaceable>ÉÓÈÏÄÎÏÅ_ĞÏÌÎÏÅ_ÉÍÑ</replaceable></filename>.
Это гарантирует, что программы, которым требуются другие программы,
смогут работать (например, весь набор инструментальных средств Linux
сможет работать в среде поддержки Linux ABI). Это также дает

View file

@ -793,7 +793,7 @@ test: biba/high</screen>
позволит исключить определенные группы из этой политики.
Для исключения определенной группы, используйте переменную
<command>sysctl</command>
<literal>security.mac.seeotheruids.specificgid=XXX</literal>.
<literal>security.mac.seeotheruids.specificgid=<replaceable>XXX</replaceable></literal>.
В примере выше необходимо заменить <replaceable>XXX</replaceable>
на числовой ID группы.</para>
</listitem>
@ -874,8 +874,8 @@ test: biba/high</screen>
как <command>ls</command>. Более патриотический список правил
может быть таким:</para>
<screen>&prompt.root; <userinput>ugidfw set 2 subject uid user1 object uid user2 mode n</userinput>
&prompt.root; <userinput>ugidfw set 3 subject uid user1 object gid user2 mode n</userinput></screen>
<screen>&prompt.root; <userinput>ugidfw set 2 subject uid <replaceable>user1</replaceable> object uid <replaceable>user2</replaceable> mode n</userinput>
&prompt.root; <userinput>ugidfw set 3 subject uid <replaceable>user1</replaceable> object gid <replaceable>user2</replaceable> mode n</userinput></screen>
<para>Эти команды запретят весь и любой доступ пользователя
<systemitem class="username">user1</systemitem>, включая просмотр подкаталогов, к

View file

@ -1223,7 +1223,7 @@ src-all</programlisting>
<emphasis>отказаться</emphasis> (refuse) от получения с сервера
определенных файлов. Файл <filename>refuse</filename> можно найти
(или, если у вас его еще нет, должен быть помещен) в
<filename>base/sup/</filename>.
<filename><replaceable>base</replaceable>/sup/</filename>.
<replaceable>base</replaceable> определен в файле
<filename>supfile</filename>; наше стандартное расположение
<replaceable>base</replaceable> это
@ -1275,9 +1275,9 @@ doc/zh_*</screen>
<para>Теперь вы готовы к тестированию обновления. Командная строка для
этого очень проста:</para>
<screen>&prompt.root; <userinput>cvsup supfile</userinput></screen>
<screen>&prompt.root; <userinput>cvsup <replaceable>supfile</replaceable></userinput></screen>
<para>ÇÄÅ <filename>supfile</filename>
<para>ÇÄÅ <filename><replaceable>supfile</replaceable></filename>
это конечно имя <filename>supfile</filename>, который только что
был создан. При запуске под X11, <command>cvsup</command>
отобразит GUI интерфейс с несколькими полезными кнопками. Нажмите
@ -1312,7 +1312,7 @@ doc/zh_*</screen>
набор параметров командной строки при запуске
<command>cvsup</command>:</para>
<screen>&prompt.root; <userinput>cvsup -g -L 2 supfile</userinput></screen>
<screen>&prompt.root; <userinput>cvsup -g -L 2 <replaceable>supfile</replaceable></userinput></screen>
<para>Параметр <option>-g</option> указывает
<application>CVSup</application> не использовать GUI. Он действует

View file

@ -285,7 +285,7 @@ kld snd_ich (1p/2r/0v channels duplex default)</screen>
тестирования звуковой карты является отправка данных в
файл <filename>/dev/dsp</filename>, как показано здесь:</para>
<screen>&prompt.user; <userinput>cat filename &gt; /dev/dsp</userinput></screen>
<screen>&prompt.user; <userinput>cat <replaceable>filename</replaceable> &gt; /dev/dsp</userinput></screen>
<para>где <replaceable>filename</replaceable> может быть любым
файлом. Результатом выполнения этой команды станет шум,
@ -474,7 +474,7 @@ kld snd_ich (1p/2r/0v channels duplex default)</screen>
звукового устройства и файла MP3 в командной строке как показано
ниже:</para>
<screen>&prompt.root; <userinput>mpg123 -a /dev/dsp1.0 Foobar-GreatestHits.mp3</userinput>
<screen>&prompt.root; <userinput>mpg123 -a <replaceable>/dev/dsp1.0</replaceable> Foobar-GreatestHits.mp3</userinput>
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp.
Uses code from various people. See 'README' for more!
@ -507,14 +507,14 @@ MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo
чтобы скопировать весь CD в отдельные (один на каждую дорожку) WAV
файлы:</para>
<screen>&prompt.root; <userinput>cdda2wav -D 0,1,0 -B</userinput></screen>
<screen>&prompt.root; <userinput>cdda2wav -D <replaceable>0,1,0</replaceable> -B</userinput></screen>
<para><application>cdda2wav</application> поддерживает ATAPI (IDE)
приводы CDROM. Для копирования с IDE привода, укажите имя устройства
вместо номеров SCSI. Например, для того, чтобы скопировать 7-ую
аудио дорожку с IDE-привода:</para>
<screen>&prompt.root; <userinput>cdda2wav -D /dev/acd0 -t 7</userinput></screen>
<screen>&prompt.root; <userinput>cdda2wav -D <replaceable>/dev/acd0</replaceable> -t 7</userinput></screen>
<para>Параметр <option>-D <replaceable>0,1,0</replaceable></option>
указывает устройство SCSI <filename>0,1,0</filename>,
@ -524,13 +524,13 @@ MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo
<para>Для того, чтобы копировать отдельные дорожки, используйте параметр
<option>-t</option> как показано ниже:</para>
<screen>&prompt.root; <userinput>cdda2wav -D 0,1,0 -t 7</userinput></screen>
<screen>&prompt.root; <userinput>cdda2wav -D <replaceable>0,1,0</replaceable> -t 7</userinput></screen>
<para>Этот пример показывает как скопировать 7-ю дорожку музыкального CD.
Для того чтобы скопировать набор дорожек, например, с первой по
седьмую, укажите диапазон:</para>
<screen>&prompt.root; <userinput>cdda2wav -D 0,1,0 -t 1+7</userinput></screen>
<screen>&prompt.root; <userinput>cdda2wav -D <replaceable>0,1,0</replaceable> -t 1+7</userinput></screen>
<para>Утилита &man.dd.1; также может быть использована для копирования
аудио дорожек на приводах ATAPI, для того, чтобы узнать больше об этом,
@ -550,14 +550,14 @@ MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo
<filename>audio01.wav</filename> в
<filename>audio01.mp3</filename>:</para>
<screen>&prompt.root; <userinput>lame -h -b 128 \
--tt "Foo Song Title" \
--ta "FooBar Artist" \
--tl "FooBar Album" \
--ty "2001" \
--tc "Ripped and encoded by Foo" \
--tg "Genre" \
audio01.wav audio01.mp3</userinput></screen>
<screen>&prompt.root; <userinput>lame -h -b <replaceable>128</replaceable> \
--tt "<replaceable>Foo Song Title</replaceable>" \
--ta "<replaceable>FooBar Artist</replaceable>" \
--tl "<replaceable>FooBar Album</replaceable>" \
--ty "<replaceable>2001</replaceable>" \
--tc "<replaceable>Ripped and encoded by Foo</replaceable>" \
--tg "<replaceable>Genre</replaceable>" \
<replaceable>audio01.wav audio01.mp3</replaceable></userinput></screen>
<para>Частота 128&nbsp;килобит является стандартом "де факто" для MP3. Многие,
однако, используют более высокие частоты для получения лучшего
@ -638,7 +638,7 @@ audio01.wav audio01.mp3</userinput></screen>
<procedure>
<step>
<para>úÁĞÕÓÔÉÔÅ <command>mpg123 -s audio01.mp3 &gt; audio01.pcm</command></para>
<para>úÁĞÕÓÔÉÔÅ <command>mpg123 -s <replaceable>audio01.mp3</replaceable> &gt; audio01.pcm</command></para>
</step>
</procedure>
@ -656,7 +656,7 @@ audio01.wav audio01.mp3</userinput></screen>
<package>audio/sox</package> или соответствующего
пакета:</para>
<screen>&prompt.user; <userinput>sox -t wav -r 44100 -s -w -c 2 track.wav track.raw</userinput></screen>
<screen>&prompt.user; <userinput>sox -t wav -r 44100 -s -w -c 2 <replaceable>track.wav track.raw</replaceable></userinput></screen>
<para>Прочтите <xref linkend="creating-cds"/> для того, чтобы узнать
больше о записи CD в FreeBSD.</para>
@ -1070,7 +1070,7 @@ http://www.mplayerhq.hu/homepage/dload.html
распространённых случаев использования mplayer.</para>
<para>Для того, чтобы воспроизвести файл, например
<filename>testfile.avi</filename> ŞÅÒÅÚ ÏÄÉÎ ÉÚ ÍÎÏÇÉÈ ×ÉÄÅÏÉÎÔÅÒÆÅÊÓÏ×,
<filename><replaceable>testfile.avi</replaceable></filename> ŞÅÒÅÚ ÏÄÉÎ ÉÚ ÍÎÏÇÉÈ ×ÉÄÅÏÉÎÔÅÒÆÅÊÓÏ×,
используйте параметр <option>-vo</option>:</para>
<screen>&prompt.user; <userinput>mplayer -vo xv testfile.avi</userinput></screen>
@ -1087,7 +1087,7 @@ http://www.mplayerhq.hu/homepage/dload.html
<filename>testfile.avi</filename> на <option>dvd://<replaceable>N</replaceable> -dvd-device
<replaceable>DEVICE</replaceable></option>, где <replaceable>N</replaceable> является номером
дорожки, с которой следует начать воспроизведение и
<filename>DEVICE</filename> ÆÁÊÌ ÕÓÔÒÏÊÓÔ×Á
<filename><replaceable>DEVICE</replaceable></filename> ÆÁÊÌ ÕÓÔÒÏÊÓÔ×Á
привода DVD. Например, для того, чтобы воспроизвести дорожку 3 с
<filename>/dev/dvd</filename>:</para>
@ -1694,7 +1694,7 @@ device `epson:/dev/uscanner0' is a Epson GT-8200 flatbed scanner</screen>
<systemitem class="groupname">operator</systemitem> разрешит ему использовать сканер:
</para>
<screen>&prompt.root; <userinput>pw groupmod operator -m joe</userinput></screen>
<screen>&prompt.root; <userinput>pw groupmod operator -m <replaceable>joe</replaceable></userinput></screen>
<para>За подробностями обращайтесь к странице справочника &man.pw.8;.
Вам также потребуется установить нужные права доступа (0660 или 0664)

View file

@ -1896,7 +1896,7 @@ nis_client_enable="YES"</programlisting>
<para>Есть способ ограничить вход некоторых пользователей на этой машине,
даже если они присутствуют в базе данных NIS. Чтобы это сделать, вам
достаточно добавить
<literal>-username</literal> × ËÏÎÅÃ ÆÁÊÌÁ
<literal>-<replaceable>username</replaceable></literal> × ËÏÎÅÃ ÆÁÊÌÁ
<filename>/etc/master.passwd</filename> на клиентской машине, где
<replaceable>username</replaceable> является именем пользователя,
которому вы хотите запретить вход. Рекомендуется сделать это с помощью
@ -2049,7 +2049,7 @@ basie&prompt.root;</screen>
<para>Если вы попытаетесь реализовать эти требования, ограничивая
каждого пользователя по отдельности, то вам придется добавить на каждой
машине в файл <filename>passwd</filename> по одной строчке
<literal>-user</literal> ÄÌÑ ËÁÖÄÏÇÏ ÐÏÌØÚÏ×ÁÔÅÌÑ, ËÏÔÏÒÏÍÕ
<literal>-<replaceable>user</replaceable></literal> ÄÌÑ ËÁÖÄÏÇÏ ÐÏÌØÚÏ×ÁÔÅÌÑ, ËÏÔÏÒÏÍÕ
запрещено входить на эту систему. Если вы забудете даже одну строчку,
у вас могут начаться проблемы. Гораздо проще делать это правильно во
время начальной установки, однако вы постепенно <emphasis>будете
@ -2178,7 +2178,7 @@ ellington&prompt.user; <userinput>ypcat -k netgroup.byuser</userinput></screen>
<para>К сожалению, это ограничение также касается и функции <literal>~</literal> командного
процессора и всех подпрограмм, выполняющих преобразование между
именами пользователей и их числовыми ID. Другими
ÓÌÏ×ÁÍÉ, ËÏÍÁÎÄÁ <command>cd ~user</command>
ÓÌÏ×ÁÍÉ, ËÏÍÁÎÄÁ <command>cd ~<replaceable>user</replaceable></command>
работать не будет, команда <command>ls -l</command> будет выдавать
числовые идентификаторы вместо имён пользователей, а
<command>find . -user joe -print</command> работать откажется, выдавая
@ -3245,7 +3245,7 @@ dhcpd_ifaces="dc0"</programlisting>
<filename>/etc/namedb/named.conf</filename>, лежащих за рамками
данного документа. Разнообразные опции запуска
<application>named</application> во &os; описаны в переменных
<literal>named_*</literal> ÆÁÊÌÁ
<literal>named_<replaceable>*</replaceable></literal> ÆÁÊÌÁ
<filename>/etc/defaults/rc.conf</filename> и странице справочника
&man.rc.conf.5;. Кроме того, полезной может оказаться
<xref linkend="configtuning-rcd"/>.</para>
@ -3654,7 +3654,7 @@ www IN CNAME example.org.</programlisting>
задают полное имя, тогда как все имена без символа <quote>.</quote> на
конце считаются заданными относительно origin. Например,
<literal>ns1</literal> преобразуется в
<literal>ns1.example.org.</literal></para>
<literal>ns1.<replaceable>example.org.</replaceable></literal></para>
<para>Файл зоны имеет следующий формат:</para>
@ -4665,7 +4665,7 @@ DocumentRoot /www/someotherdomain.tld
<literal>tdbsam</literal>, поэтому для добавления пользователей
используйте следующую команду:</para>
<screen>&prompt.root; <userinput>pdbedit -a -u username</userinput></screen>
<screen>&prompt.root; <userinput>pdbedit -a -u <replaceable>username</replaceable></userinput></screen>
</note>
<para>Пожалуйста, обратитесь к <link xlink:href="http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/">Official Samba HOWTO</link>

View file

@ -254,7 +254,7 @@
<listitem>
<para>Если вам необходимо определить, в какой категории находится порт,
ÎÁÂÅÒÉÔÅ <command>whereis file</command>,
ÎÁÂÅÒÉÔÅ <command>whereis <replaceable>file</replaceable></command>,
где <replaceable>file</replaceable> - программа, которую вы хотите
установить:</para>
@ -276,7 +276,7 @@ lsof: /usr/ports/sysutils/lsof</screen>
использование встроенной возможности поиска в Коллекции Портов.
Чтобы ею воспользоваться, зайдите в <filename>/usr/ports</filename>
и выполните команду <command>make search
name=program-name</command>, ÇÄÅ
name=<replaceable>program-name</replaceable></command>, ÇÄÅ
<replaceable>program-name</replaceable> &ndash; это
название программы, которую вы хотите найти. Например, если
вы ищете <command>lsof</command>:</para>
@ -314,9 +314,9 @@ Info: Lists information about open files (similar to fstat(1))</screen>
<para>Для выполнения более глубокого поиска используйте
<command>make search
key=string</command> ÉÌÉ
key=<replaceable>string</replaceable></command> ÉÌÉ
<command>make quicksearch
key=string</command>,
key=<replaceable>string</replaceable></command>,
где <replaceable>string</replaceable> представляет собой некоторый
текст, относящийся к искомому порту. Текст ищется в комментариях,
описаниях или зависимостях. Этот способ можно
@ -374,7 +374,7 @@ Info: Lists information about open files (similar to fstat(1))</screen>
<example>
<title>Загрузка пакета вручную и его локальная установка</title>
<screen>&prompt.root; <userinput>ftp -a ftp2.FreeBSD.org</userinput>
<screen>&prompt.root; <userinput>ftp -a <replaceable>ftp2.FreeBSD.org</replaceable></userinput>
Connected to ftp2.FreeBSD.org.
220 ftp2.FreeBSD.org FTP server (Version 6.00LS) ready.
331 Guest login ok, send your email address as password.
@ -396,7 +396,7 @@ local: lsof-4.56.4.tgz remote: lsof-4.56.4.tgz
226 Transfer complete.
92375 bytes received in 5.60 seconds (16.11 KB/s)
<prompt>ftp&gt;</prompt> <userinput>exit</userinput>
&prompt.root; <userinput>pkg_add lsof-4.56.4.tgz</userinput></screen>
&prompt.root; <userinput>pkg_add <replaceable>lsof-4.56.4.tgz</replaceable></userinput></screen>
</example>
<para>Если у вас нет источника пакетов, например, такого как набор
@ -410,7 +410,7 @@ local: lsof-4.56.4.tgz remote: lsof-4.56.4.tgz
<primary><command>pkg_add</command></primary>
</indexterm>
<screen>&prompt.root; <userinput>pkg_add -r lsof</userinput></screen>
<screen>&prompt.root; <userinput>pkg_add -r <replaceable>lsof</replaceable></userinput></screen>
<para>Чтобы задействовать альтернативное зеркало пакетов &os;,
укажите его адрес в переменной окружения <envar>PACKAGESITE</envar>.
@ -564,7 +564,7 @@ docbook =
<para>Для удаления ранее установленных пакетов с программным
обеспечением используйте утилиту &man.pkg.delete.1;.</para>
<screen>&prompt.root; <userinput>pkg_delete xchat-1.7.1</userinput></screen>
<screen>&prompt.root; <userinput>pkg_delete <replaceable>xchat-1.7.1</replaceable></userinput></screen>
<para>Следует отметить, что для &man.pkg.delete.1; требуется полное
имя пакета и номер версии; вышеприведенная команда не сработала бы,
@ -574,7 +574,7 @@ docbook =
же, напечатайте групповой символ (wildcard) вместо номера
версии:</para>
<screen>&prompt.root; <userinput>pkg_delete xchat\*</userinput></screen>
<screen>&prompt.root; <userinput>pkg_delete <replaceable>xchat\*</replaceable></userinput></screen>
<para>в этом случае будут удалены все пакеты, имена которых начинаются
на <literal>xchat</literal>.</para>
@ -714,7 +714,7 @@ docbook =
<para>Если необходима информация о конкретном пакете, выполните:</para>
<screen>&prompt.root; <userinput>pkg info packagename</userinput></screen>
<screen>&prompt.root; <userinput>pkg info <replaceable>packagename</replaceable></userinput></screen>
<para>Например, для получения версии <application>pkgng</application>,
который установлен в системе, запустите:</para>
@ -729,7 +729,7 @@ pkg-1.0.2 New generation package manager</screen>
<para>В общем, бинарные пакеты устанавливаются при помощи:</para>
<screen>&prompt.root; <userinput>pkg install packagename</userinput></screen>
<screen>&prompt.root; <userinput>pkg install <replaceable>packagename</replaceable></userinput></screen>
<para>Команда <command>pkg install</command> обращается к пакетному
репозиторию, это упоминалось в <xref linkend="pkgng-pkg-conf"/>.
@ -866,7 +866,7 @@ Deinstalling ca_root_nss-3.13.5... done</screen>
механизмом резервного копирования базы данных. Для ручного создания
резервной копии базы данных установленных пакетов, выполните:</para>
<screen>&prompt.root; <userinput>pkg backup -d pkgng.db</userinput></screen>
<screen>&prompt.root; <userinput>pkg backup -d <replaceable>pkgng.db</replaceable></userinput></screen>
<note>
<para>Замените имя файла <replaceable>pkgng.db</replaceable> на
@ -891,7 +891,7 @@ Deinstalling ca_root_nss-3.13.5... done</screen>
<para>Для восстановления содержимого базы данных установленных пакетов
из резервной копии, выполните:</para>
<screen>&prompt.root; <userinput>pkg backup -r /path/to/pkgng.db</userinput></screen>
<screen>&prompt.root; <userinput>pkg backup -r <replaceable>/path/to/pkgng.db</replaceable></userinput></screen>
</sect3>
<sect3 xml:id="pkgng-clean">
@ -937,7 +937,7 @@ Deinstalling ca_root_nss-3.13.5... done</screen>
Для <application>pkgng</application> необходим следующий
порядок:</para>
<screen>&prompt.root; <userinput>pkg set -o category/oldport:category/newport</userinput></screen>
<screen>&prompt.root; <userinput>pkg set -o <replaceable>category/oldport</replaceable>:<replaceable>category/newport</replaceable></userinput></screen>
<para>Например, в вышеприведенном случае для замены информации
о происхождении пакета, выполните:</para>
@ -964,7 +964,7 @@ Deinstalling ca_root_nss-3.13.5... done</screen>
зависят от изменившегося пакета. Для принудительной переустановки
зависящих пакетов, выполните:</para>
<screen>&prompt.root; <userinput>pkg install -Rf graphics/freeglut</userinput></screen>
<screen>&prompt.root; <userinput>pkg install -Rf <replaceable>graphics/freeglut</replaceable></userinput></screen>
</note>
</sect3>
</sect2>
@ -1075,7 +1075,7 @@ Deinstalling ca_root_nss-3.13.5... done</screen>
<link xlink:href="&url.articles.committers-guide.en;/subversion-primer.html">Subversion Primer</link>,
чтобы удостовериться, что выбран корректный протокол.</para>
<screen>&prompt.root; <userinput>svn checkout https://svn0.us-east.FreeBSD.org/ports/head /usr/ports</userinput></screen>
<screen>&prompt.root; <userinput>svn checkout https://<replaceable>svn0.us-east.FreeBSD.org</replaceable>/ports/head /usr/ports</userinput></screen>
</step>
<step>
@ -1466,7 +1466,7 @@ Deinstalling ca_root_nss-3.13.5... done</screen>
<varname>MASTER_SITES</varname>. Вы можете переопределить значение
<varname>MASTER_SITES</varname> посредством следующей команды:</para>
<screen>&prompt.root; <userinput>cd /usr/ports/directory</userinput>
<screen>&prompt.root; <userinput>cd /usr/ports/<replaceable>directory</replaceable></userinput>
&prompt.root; <userinput>make MASTER_SITE_OVERRIDE= \
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ fetch</userinput></screen>
@ -1612,7 +1612,7 @@ ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ fetch</userinput></screen>
<para>Для обновления конкретного приложения, а не всех
установленных портов, запустите <command>portupgrade
pkgname</command>. ÷ËÌÀŞÉÔÅ ÆÌÁÇ
<replaceable>pkgname</replaceable></command>. ÷ËÌÀŞÉÔÅ ÆÌÁÇ
<option>-R</option> при необходимости обновить все порты, требуемые
данным приложением.</para>
@ -1734,7 +1734,7 @@ ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ fetch</userinput></screen>
обновляя другие зависимые порты перед построением и установкой
нового порта:</para>
<screen>&prompt.root; <userinput>portmaster shells/bash</userinput></screen>
<screen>&prompt.root; <userinput>portmaster <replaceable>shells/bash</replaceable></userinput></screen>
<para>За подробной информацией обратитесь к &man.portmaster.8;.</para>
</sect3>
@ -1811,7 +1811,7 @@ ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ fetch</userinput></screen>
<para>Чтобы определить, какая версия приложения была установлена,
выполните:</para>
<screen>&prompt.root; <userinput>pkg_info | grep -i foopackage</userinput></screen>
<screen>&prompt.root; <userinput>pkg_info | grep -i <replaceable>foopackage</replaceable></userinput></screen>
<para>команда выведет список всех установленных пакетов, в названии
которых присутствует <replaceable>foopackage</replaceable>.
@ -1832,7 +1832,7 @@ ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ fetch</userinput></screen>
вы не уверены, каков адрес веб-сайта, он может быть указан в выводе
команды</para>
<screen>&prompt.root; <userinput>pkg_info foopackage-1.0.0</userinput></screen>
<screen>&prompt.root; <userinput>pkg_info <replaceable>foopackage-1.0.0</replaceable></userinput></screen>
<para>Строка <literal>WWW:</literal>, если она есть, должна содержать
URL Web-сайта приложения.</para>

View file

@ -238,7 +238,7 @@
одно устройство <filename>tun</filename>
(<filename>/dev/tun0</filename>). Ссылки на
<filename>tun0</filename> ниже могут быть заменены на
<filename>tunN</filename>,
<filename>tun<replaceable>N</replaceable></filename>,
где <replaceable>N</replaceable> это любой номер устройства,
соответствующий вашей системе.</para>
@ -1197,7 +1197,7 @@ ifconfig_tun0=</programlisting>
<step>
<para>Убедитесь, что устройства
<filename>tunN</filename>
<filename>tun<replaceable>N</replaceable></filename>
находятся в каталоге <filename>/dev</filename>.</para>
</step>
@ -1233,7 +1233,7 @@ ifconfig_tun0=</programlisting>
<step>
<para>Убедитесь, что устройства
<filename>tunN</filename>
<filename>tun<replaceable>N</replaceable></filename>
находятся в каталоге <filename>/dev</filename>.</para>
</step>
@ -1365,7 +1365,7 @@ defaultroute # put this if you want that PPP server will be your
<step>
<para>Введите следующее:</para>
<screen>&prompt.root; <userinput>/usr/src/usr.sbin/pppd.new/pppd /dev/tty01 19200</userinput></screen>
<screen>&prompt.root; <userinput>/usr/src/usr.sbin/pppd.new/pppd <replaceable>/dev/tty01</replaceable> <replaceable>19200</replaceable></userinput></screen>
<para>Убедитесь, что выбраны подходящая скорость и правильное имя
устройства.</para>
@ -1824,7 +1824,7 @@ type '~h' for help</programlisting>
<screen><userinput>at</userinput>
OK
<userinput>atdt123456789</userinput></screen>
<userinput>atdt<replaceable>123456789</replaceable></userinput></screen>
<para>Использование команды <command>at</command> для инициализации
модема, а затем <command>atdt</command> и номера провайдера
@ -1928,12 +1928,12 @@ OK
следующие параметры <application>PPP</application> перед
переходом в терминальный режим:</para>
<screen>ppp ON example&gt; <userinput>set authname myusername</userinput></screen>
<screen>ppp ON example&gt; <userinput>set authname <replaceable>myusername</replaceable></userinput></screen>
<para>Необходимо заменить <replaceable>myusername</replaceable>
на имя пользователя, выданное провайдером.</para>
<screen>ppp ON example&gt; <userinput>set authkey mypassword</userinput></screen>
<screen>ppp ON example&gt; <userinput>set authkey <replaceable>mypassword</replaceable></userinput></screen>
<para>Где <replaceable>mypassword</replaceable> должен быть
заменен на пароль, выданный провайдером.</para>
@ -2195,13 +2195,13 @@ ppp_profile="adsl"</programlisting>
<para>Сначала установите порт, затем настройте
<application>mpd</application> под собственные нужды и настройки
провайдера. Порт помещает набор примеров настройки в каталог
<filename>PREFIX/etc/mpd/</filename>.
<filename><replaceable>PREFIX</replaceable>/etc/mpd/</filename>.
<replaceable>PREFIX</replaceable> означает каталог, в который
устанавливаются порты, по умолчанию это
<filename>/usr/local/</filename>. Полное руководство по настройке
<application>mpd</application> доступно в HTML формате после
установки порта. Оно находится в
<filename>PREFIX/share/doc/mpd/</filename>.
<filename><replaceable>PREFIX</replaceable>/share/doc/mpd/</filename>.
Ниже находится пример настройки <application>mpd</application>
для соединения с ADSL сервисом. Настройка разделена на два
файла, первый это <filename>mpd.conf</filename>:</para>
@ -2267,12 +2267,12 @@ adsl:
<para>Инициализация соединения возможно простым выполнением следующей
команды под <systemitem class="username">root</systemitem>:</para>
<screen>&prompt.root; <userinput>mpd -b adsl</userinput></screen>
<screen>&prompt.root; <userinput>mpd -b <replaceable>adsl</replaceable></userinput></screen>
<para>Вы можете просмотреть статус соединения с помощью следующей
команды:</para>
<screen>&prompt.user; <userinput>ifconfig ng0</userinput>
<screen>&prompt.user; <userinput>ifconfig <replaceable>ng0</replaceable></userinput>
ng0: flags=88d1&lt;UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST&gt; mtu 1500
inet 216.136.204.117 --&gt; 204.152.186.171 netmask 0xffffffff</screen>
@ -2333,7 +2333,7 @@ ng0: flags=88d1&lt;UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST&gt; mtu 1500
маршрутизатор должно быть указано, какой адрес используется.
Для открытия туннеля и начала PPP сессии выполните:</para>
<screen>&prompt.root; <userinput>pptp address adsl</userinput></screen>
<screen>&prompt.root; <userinput>pptp <replaceable>address</replaceable> <replaceable>adsl</replaceable></userinput></screen>
<tip>
<para>Чтобы вернуться в приглашение командной строки после выполнения
@ -2348,7 +2348,7 @@ ng0: flags=88d1&lt;UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST&gt; mtu 1500
<application>pptp</application> выполнит соединение, вы можете
проверить туннель примерно такой командой:</para>
<screen>&prompt.user; <userinput>ifconfig tun0</userinput>
<screen>&prompt.user; <userinput>ifconfig <replaceable>tun0</replaceable></userinput>
tun0: flags=8051&lt;UP,POINTOPOINT,RUNNING,MULTICAST&gt; mtu 1500
inet 216.136.204.21 --&gt; 204.152.186.171 netmask 0xffffff00
Opened by PID 918</screen>

View file

@ -497,7 +497,7 @@
<para>Чтобы узнать, поддерживает ли используемое в настоящий
момент ядро последовательный интерфейс, наберите:</para>
<screen>&prompt.root; <userinput>grep sioN /var/run/dmesg.boot</userinput></screen>
<screen>&prompt.root; <userinput>grep sio<replaceable>N</replaceable> /var/run/dmesg.boot</userinput></screen>
<para>Где <replaceable>N</replaceable> &mdash; номер последовательного
порта, начиная с нуля. Если вы получаете результат, подобный
@ -511,7 +511,7 @@ sio2: type 16550A</screen>
<para>Чтобы узнать, поддерживает ли ядро параллельный интерфейс,
наберите:</para>
<screen>&prompt.root; <userinput>grep ppcN /var/run/dmesg.boot</userinput></screen>
<screen>&prompt.root; <userinput>grep ppc<replaceable>N</replaceable> /var/run/dmesg.boot</userinput></screen>
<para>Где <replaceable>N</replaceable> номер параллельного порта,
начиная с нуля. Если вы получаете результат, подобный
@ -632,19 +632,19 @@ ppc0: FIFO with 16/16/8 bytes threshold</screen>
<step>
<para>Введите команду:</para>
<screen>&prompt.root; <userinput>lptcontrol -i -d /dev/lptN</userinput></screen>
<screen>&prompt.root; <userinput>lptcontrol -i -d /dev/lpt<replaceable>N</replaceable></userinput></screen>
<para>для установки режима взаимодействия на основе прерываний
ÄÌÑ <literal>lptN</literal>.</para>
ÄÌÑ <literal>lpt<replaceable>N</replaceable></literal>.</para>
</step>
<step>
<para>Введите команду:</para>
<screen>&prompt.root; <userinput>lptcontrol -p -d /dev/lptN</userinput></screen>
<screen>&prompt.root; <userinput>lptcontrol -p -d /dev/lpt<replaceable>N</replaceable></userinput></screen>
<para>для установки режима взаимодействия по опросу для
<literal>lptN</literal>.</para>
<literal>lpt<replaceable>N</replaceable></literal>.</para>
</step>
</procedure>
@ -719,7 +719,7 @@ showpage</programlisting>
<para>Если принтер может печатать обычный текст, используйте
утилиту &man.lptest.1;. Введите команду:</para>
<screen>&prompt.root; <userinput>lptest &gt; /dev/lptN</userinput></screen>
<screen>&prompt.root; <userinput>lptest &gt; /dev/lpt<replaceable>N</replaceable></userinput></screen>
<para>Где <replaceable>N</replaceable> &mdash; номер параллельного порта,
начиная с нуля.</para>
@ -729,7 +729,7 @@ showpage</programlisting>
<para>Если принтер понимает &postscript; или другой язык принтера,
пошлите на принтер небольшую программу. Введите команду:</para>
<screen>&prompt.root; <userinput>cat &gt; /dev/lptN</userinput></screen>
<screen>&prompt.root; <userinput>cat &gt; /dev/lpt<replaceable>N</replaceable></userinput></screen>
<para>Затем, построчно, <emphasis>внимательно</emphasis> введите
программу, поскольку вы не сможете отредактировать строку
@ -740,7 +740,7 @@ showpage</programlisting>
<para>Можно также поместить программу в файл и выполнить команду:</para>
<screen>&prompt.root; <userinput>cat file &gt; /dev/lptN</userinput></screen>
<screen>&prompt.root; <userinput>cat <replaceable>file</replaceable> &gt; /dev/lpt<replaceable>N</replaceable></userinput></screen>
<para>Где <replaceable>file</replaceable> &mdash; имя файла, содержащего
программу, которую вы хотите послать принтеру.</para>
@ -805,8 +805,8 @@ showpage</programlisting>
<para>Если этот шаг не срабатывает, снова отредактируйте
файл <filename>/etc/remote</filename> и попробуйте использовать
ÕÓÔÒÏÊÓÔ×Ï <filename>/dev/cuaaN</filename>
×ÍÅÓÔÏ <filename>/dev/ttydN</filename>.</para>
ÕÓÔÒÏÊÓÔ×Ï <filename>/dev/cuaa<replaceable>N</replaceable></filename>
×ÍÅÓÔÏ <filename>/dev/ttyd<replaceable>N</replaceable></filename>.</para>
</step>
<step>
@ -833,7 +833,7 @@ showpage</programlisting>
<para>Можно также поместить программу в файл и ввести команду:</para>
<screen>&prompt.user; <userinput>&gt;file</userinput></screen>
<screen>&prompt.user; <userinput>&gt;<replaceable>file</replaceable></userinput></screen>
<para>Где <replaceable>file</replaceable> &mdash; имя файла,
содержащего программу. После того, как утилита
@ -1055,7 +1055,7 @@ bamboo|ps|PS|S|panasonic|Panasonic KX-P4455 PostScript v51.4:\
<para>Принято также задавать для каталога имя, совпадающее с именем
принтера, как показано ниже:</para>
<screen>&prompt.root; <userinput>mkdir /var/spool/ÉÍÑ-ÐÒÉÎÔÅÒÁ</userinput></screen>
<screen>&prompt.root; <userinput>mkdir /var/spool/<replaceable>ÉÍÑ-ÐÒÉÎÔÅÒÁ</replaceable></userinput></screen>
<para>Однако при наличии большого количества принтеров в сети
может иметь смысл поместить все каталоги спулинга в один каталог,
@ -1183,7 +1183,7 @@ bamboo|ps|PS|S|panasonic|Panasonic KX-P4455 PostScript v51.4:\
<variablelist>
<varlistentry>
<term><literal>br#bps-rate</literal></term>
<term><literal>br#<replaceable>bps-rate</replaceable></literal></term>
<listitem>
<para>Устанавливает скорость взаимодействия для устройства в
@ -1195,7 +1195,7 @@ bamboo|ps|PS|S|panasonic|Panasonic KX-P4455 PostScript v51.4:\
</varlistentry>
<varlistentry>
<term><literal>ms#stty-mode</literal></term>
<term><literal>ms#<replaceable>stty-mode</replaceable></literal></term>
<listitem>
<para>Устанавливает опции для терминального устройства после открытия устройства.
@ -1337,7 +1337,7 @@ bamboo|ps|PS|S|panasonic|Panasonic KX-P4455 PostScript v51.4:\
<para>Введите команду:</para>
<screen>&prompt.root; <userinput>lptest 20 5 | lpr -Pprinter-name</userinput></screen>
<screen>&prompt.root; <userinput>lptest 20 5 | lpr -P<replaceable>printer-name</replaceable></userinput></screen>
<para>Где <replaceable>printer-name</replaceable> &mdash; имя
(или псевдоним) принтера, заданное в файле
@ -1346,7 +1346,7 @@ bamboo|ps|PS|S|panasonic|Panasonic KX-P4455 PostScript v51.4:\
Как уже отмечалось, если тестируется принтер, предполагающий использование
&postscript;, пошлите ему &postscript;-программу вместо использования
утилиты &man.lptest.1;. Это можно сделать, поместив программу в файл
É ×ÙÐÏÌÎÉ× ËÏÍÁÎÄÕ <command>lpr file</command>.</para>
É ×ÙÐÏÌÎÉ× ËÏÍÁÎÄÕ <command>lpr <replaceable>file</replaceable></command>.</para>
<para>Для &postscript;-принтера вы должны получить результаты выполнения
программы. Если вы используете &man.lptest.1;, ваши результаты должны
@ -3836,7 +3836,7 @@ total 337.00 154 $ 6.74</screen>
<para>Для печати файлов, выполните команду:</para>
<screen>&prompt.user; <userinput>lpr ÉÍÑ-ÆÁÊÌÁ ...</userinput></screen>
<screen>&prompt.user; <userinput>lpr <replaceable>ÉÍÑ-ÆÁÊÌÁ</replaceable> <replaceable>...</replaceable></userinput></screen>
<indexterm><primary>печать</primary></indexterm>
<para>Эта команда печатает каждый из перечисленных файлов на стандартный
@ -3848,7 +3848,7 @@ total 337.00 154 $ 6.74</screen>
<para>Для выбора конкретного принтера, введите:</para>
<screen>&prompt.user; <userinput>lpr -P ÉÍÑ-ÐÒÉÎÔÅÒÁ ÉÍÑ-ÆÁÊÌÁ ...</userinput></screen>
<screen>&prompt.user; <userinput>lpr -P <replaceable>ÉÍÑ-ÐÒÉÎÔÅÒÁ</replaceable> <replaceable>ÉÍÑ-ÆÁÊÌÁ</replaceable> <replaceable>...</replaceable></userinput></screen>
<para>Следующая команда печатает подробный листинг текущего каталога
на принтере <literal>rattan</literal>:</para>
@ -3943,7 +3943,7 @@ mary: 3rd [job 011rose]
<para>Для удаления задания со стандартного принтера сначала используйте
команду &man.lpq.1; для поиска номера задания. Затем введите команду:</para>
<screen>&prompt.user; <userinput>lprm ÎÏÍÅÒ-ÚÁÄÁÎÉÑ</userinput></screen>
<screen>&prompt.user; <userinput>lprm <replaceable>ÎÏÍÅÒ-ÚÁÄÁÎÉÑ</replaceable></userinput></screen>
<para>Для удаления задания с указанного принтера, задайте опцию
<option>-P</option> option. Следующая команда удаляет задание номер
@ -4344,7 +4344,7 @@ cfA013rose dequeued
<variablelist>
<varlistentry>
<term><command>abort
ÉÍÑ-ÐÒÉÎÔÅÒÁ</command></term>
<replaceable>ÉÍÑ-ÐÒÉÎÔÅÒÁ</replaceable></command></term>
<listitem>
<para>Снять текущее задание и остановить принтер. Пользователи могут
@ -4354,7 +4354,7 @@ cfA013rose dequeued
<varlistentry>
<term><command>clean
ÉÍÑ-ÐÒÉÎÔÅÒÁ</command></term>
<replaceable>ÉÍÑ-ÐÒÉÎÔÅÒÁ</replaceable></command></term>
<listitem>
<para>Удалить старые файлы из каталога спулинга принтера.
@ -4368,7 +4368,7 @@ cfA013rose dequeued
<varlistentry>
<term><command>disable
ÉÍÑ-ÐÒÉÎÔÅÒÁ</command></term>
<replaceable>ÉÍÑ-ÐÒÉÎÔÅÒÁ</replaceable></command></term>
<listitem>
<para>Отключить постановку новых заданий в очередь. Если принтер
@ -4385,8 +4385,8 @@ cfA013rose dequeued
</varlistentry>
<varlistentry>
<term><command>down ÉÍÑ-ÐÒÉÎÔÅÒÁ
ÓÏÏÂÝÅÎÉÅ</command></term>
<term><command>down <replaceable>ÉÍÑ-ÐÒÉÎÔÅÒÁ</replaceable>
<replaceable>ÓÏÏÂÝÅÎÉÅ</replaceable></command></term>
<listitem>
<para>Отключить принтер. Аналогична последовательности команд
@ -4400,7 +4400,7 @@ cfA013rose dequeued
<varlistentry>
<term><command>enable
ÉÍÑ-ÐÒÉÎÔÅÒÁ</command></term>
<replaceable>ÉÍÑ-ÐÒÉÎÔÅÒÁ</replaceable></command></term>
<listitem>
<para>Включить очередь для принтера. Пользователи могут посылать
@ -4410,7 +4410,7 @@ cfA013rose dequeued
<varlistentry>
<term><command>help
ÉÍÑ-ËÏÍÁÎÄÙ</command></term>
<replaceable>ÉÍÑ-ËÏÍÁÎÄÙ</replaceable></command></term>
<listitem>
<para>Выдать справочную информацию по команде
@ -4422,7 +4422,7 @@ cfA013rose dequeued
<varlistentry>
<term><command>restart
ÉÍÑ-ÐÒÉÎÔÅÒÁ</command></term>
<replaceable>ÉÍÑ-ÐÒÉÎÔÅÒÁ</replaceable></command></term>
<listitem>
<para>Перезапустить принтер. Обычные пользователи могут использовать эту
@ -4437,7 +4437,7 @@ cfA013rose dequeued
<varlistentry>
<term><command>start
ÉÍÑ-ÐÒÉÎÔÅÒÁ</command></term>
<replaceable>ÉÍÑ-ÐÒÉÎÔÅÒÁ</replaceable></command></term>
<listitem>
<para>Запустить принтер. Принтер будет печатать задания, находящиеся в
@ -4447,7 +4447,7 @@ cfA013rose dequeued
<varlistentry>
<term><command>stop
ÉÍÑ-ÐÒÉÎÔÅÒÁ</command></term>
<replaceable>ÉÍÑ-ÐÒÉÎÔÅÒÁ</replaceable></command></term>
<listitem>
<para>Остановить принтер. Принтер закончит печать текущего задания
@ -4458,8 +4458,8 @@ cfA013rose dequeued
</varlistentry>
<varlistentry>
<term><command>topq ÉÍÑ-ÐÒÉÎÔÅÒÁ
ÚÁÄÁÎÉÅ-ÉÌÉ-ÉÍÑ-ÐÏÌØÚÏ×ÁÔÅÌÑ</command></term>
<term><command>topq <replaceable>ÉÍÑ-ÐÒÉÎÔÅÒÁ</replaceable>
<replaceable>ÚÁÄÁÎÉÅ-ÉÌÉ-ÉÍÑ-ÐÏÌØÚÏ×ÁÔÅÌÑ</replaceable></command></term>
<listitem>
<para>Переупорядочить очередь для указанного принтера, помещая
@ -4472,7 +4472,7 @@ cfA013rose dequeued
<varlistentry>
<term><command>up
ÉÍÑ-ÐÒÉÎÔÅÒÁ</command></term>
<replaceable>ÉÍÑ-ÐÒÉÎÔÅÒÁ</replaceable></command></term>
<listitem>
<para>Включить принтер; команда по действию противоположна команде

View file

@ -1758,7 +1758,7 @@ Generating 'grunt-new-srvtab'....</screen>
<para>Если файл предназначен для клиентской системы, и сеть не
безопасна, скопируйте
<filename>client-new-srvtab</filename>
<filename><replaceable>client</replaceable>-new-srvtab</filename>
на съемный носитель и перенесите файл с его помощью. Убедитесь, что
переименовали его в <filename>srvtab</filename> в каталоге
<filename>/etc/kerberosIV</filename> клиента, и что режим доступа к
@ -2241,7 +2241,7 @@ Verifying password - Password: <userinput>xxxxxxxx</userinput></screen>
что самостоятельно создали из командной строки самого
<acronym>KDC</acronym>:</para>
<screen>&prompt.user; <userinput>k5init tillman</userinput>
<screen>&prompt.user; <userinput>k5init <replaceable>tillman</replaceable></userinput>
tillman@EXAMPLE.ORG's Password:
&prompt.user; <userinput>k5list</userinput>
@ -2857,18 +2857,18 @@ There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:<userinput>US</userinput>
State or Province Name (full name) [Some-State]:<userinput>PA</userinput>
Locality Name (eg, city) []:<userinput>Pittsburgh</userinput>
Organization Name (eg, company) [Internet Widgits Pty Ltd]:<userinput>My Company</userinput>
Organizational Unit Name (eg, section) []:<userinput>Systems Administrator</userinput>
Common Name (eg, YOUR name) []:<userinput>localhost.example.org</userinput>
Email Address []:<userinput>trhodes@FreeBSD.org</userinput>
Country Name (2 letter code) [AU]:<userinput><replaceable>US</replaceable></userinput>
State or Province Name (full name) [Some-State]:<userinput><replaceable>PA</replaceable></userinput>
Locality Name (eg, city) []:<userinput><replaceable>Pittsburgh</replaceable></userinput>
Organization Name (eg, company) [Internet Widgits Pty Ltd]:<userinput><replaceable>My Company</replaceable></userinput>
Organizational Unit Name (eg, section) []:<userinput><replaceable>Systems Administrator</replaceable></userinput>
Common Name (eg, YOUR name) []:<userinput><replaceable>localhost.example.org</replaceable></userinput>
Email Address []:<userinput><replaceable>trhodes@FreeBSD.org</replaceable></userinput>
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:<userinput>SOME PASSWORD</userinput>
An optional company name []:<userinput>Another Name</userinput></screen>
A challenge password []:<userinput><replaceable>SOME PASSWORD</replaceable></userinput>
An optional company name []:<userinput><replaceable>Another Name</replaceable></userinput></screen>
<para>Ввод после приглашения <quote>Common Name</quote>
содержит имя домена. Здесь вводится имя сервера для
@ -2959,12 +2959,12 @@ define(`confTLS_SRV_OPTIONS', `V')dnl</programlisting>
<para>Для проведения простого теста подключитесь к почтовому серверу
программой &man.telnet.1;:</para>
<screen>&prompt.root; <userinput>telnet example.com 25</userinput>
<screen>&prompt.root; <userinput>telnet <replaceable>example.com</replaceable> 25</userinput>
Trying 192.0.34.166...
Connected to <systemitem class="fqdomainname">example.com</systemitem>.
Escape character is '^]'.
220 <systemitem class="fqdomainname">example.com</systemitem> ESMTP Sendmail 8.12.10/8.12.10; Tue, 31 Aug 2004 03:41:22 -0400 (EDT)
<userinput>ehlo example.com</userinput>
<userinput>ehlo <replaceable>example.com</replaceable></userinput>
250-example.com Hello example.com [192.0.34.166], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
@ -4033,7 +4033,7 @@ ipfw add 1 allow ipencap from W.X.Y.Z to A.B.C.D
<para>Утилита &man.ssh.1; работает подобно &man.rlogin.1;.</para>
<screen>&prompt.root; <userinput>ssh user@example.com</userinput>
<screen>&prompt.root; <userinput>ssh <replaceable>user@example.com</replaceable></userinput>
Host key not found from the list of known hosts.
Are you sure you want to continue connecting (yes/no)? <userinput>yes</userinput>
Host 'example.com' added to the list of known hosts.
@ -4071,7 +4071,7 @@ user@example.com's password: <userinput>*******</userinput></screen>
файл с удаленного компьютера, но делает это безопасным
способом.</para>
<screen>&prompt.root; <userinput> scp user@example.com:/COPYRIGHT COPYRIGHT</userinput>
<screen>&prompt.root; <userinput> scp <replaceable>user@example.com:/COPYRIGHT COPYRIGHT</replaceable></userinput>
user@example.com's password: <userinput>*******</userinput>
COPYRIGHT 100% |*****************************| 4735 00:00
&prompt.root;</screen>
@ -4114,7 +4114,7 @@ COPYRIGHT 100% |*****************************| 4735 00:00
можно создать ключи DSA или RSA, которыми
пользователи могут аутентифицироваться:</para>
<screen>&prompt.user; <userinput>ssh-keygen -t dsa</userinput>
<screen>&prompt.user; <userinput>ssh-keygen -t <replaceable>dsa</replaceable></userinput>
Generating public/private dsa key pair.
Enter file in which to save the key (/home/user/.ssh/id_dsa):
Created directory '/home/user/.ssh'.
@ -4212,7 +4212,7 @@ Identity added: /home/user/.ssh/id_dsa (/home/user/.ssh/id_dsa)
<para>Следующая команда указывает &man.ssh.1; создать туннель для
<application>telnet</application>:</para>
<screen>&prompt.user; <userinput>ssh -2 -N -f -L 5023:localhost:23 user@foo.example.com</userinput>
<screen>&prompt.user; <userinput>ssh -2 -N -f -L <replaceable>5023:localhost:23 user@foo.example.com</replaceable></userinput>
&prompt.user;</screen>
<para>Команда <command>ssh</command> используется со следующими
@ -4287,7 +4287,7 @@ Identity added: /home/user/.ssh/id_dsa (/home/user/.ssh/id_dsa)
<title>Использование SSH для создания защищенного туннеля на
SMTP</title>
<screen>&prompt.user; <userinput>ssh -2 -N -f -L 5025:localhost:25 user@mailserver.example.com</userinput>
<screen>&prompt.user; <userinput>ssh -2 -N -f -L <replaceable>5025:localhost:25 user@mailserver.example.com</replaceable></userinput>
user@mailserver.example.com's password: <userinput>*****</userinput>
&prompt.user; <userinput>telnet localhost 5025</userinput>
Trying 127.0.0.1...
@ -4317,7 +4317,7 @@ Escape character is '^]'.
SSH соединения к офисному серверу SSH и туннелирование
через него к почтовому серверу.</para>
<screen>&prompt.user; <userinput>ssh -2 -N -f -L 2110:mail.example.com:110 user@ssh-server.example.com</userinput>
<screen>&prompt.user; <userinput>ssh -2 -N -f -L <replaceable>2110:mail.example.com:110 user@ssh-server.example.com</replaceable></userinput>
user@ssh-server.example.com's password: <userinput>******</userinput></screen>
<para>Когда туннель включен и работает, вы можете настроить
@ -4346,7 +4346,7 @@ user@ssh-server.example.com's password: <userinput>******</userinput></screen>
вне брандмауэра и использование его для туннелирования
сервера Ogg Vorbis.</para>
<screen>&prompt.user; <userinput>ssh -2 -N -f -L 8888:music.example.com:8000 user@unfirewalled-system.example.org</userinput>
<screen>&prompt.user; <userinput>ssh -2 -N -f -L <replaceable>8888:music.example.com:8000 user@unfirewalled-system.example.org</replaceable></userinput>
user@unfirewalled-system.example.org's password: <userinput>*******</userinput></screen>
<para>Клиентскую программу теперь можно настроить на

View file

@ -475,7 +475,7 @@
<itemizedlist>
<listitem>
<para>Порты входящих соединений (dial-in) называются
<filename>/dev/ttydN</filename>,
<filename>/dev/ttyd<replaceable>N</replaceable></filename>,
где <replaceable>N</replaceable> это номер порта начиная
с нуля. Обычно, порты входящих соединений используются для
терминалов. Для корректной работы этим портам требуется,
@ -485,14 +485,14 @@
<listitem>
<para>Порты исходящих соединений (call-out) называются
<filename>/dev/cuadN</filename>.
<filename>/dev/cuad<replaceable>N</replaceable></filename>.
Они обычно используются не для терминалов, а только для
модемов. Вы можете использовать эти порты если
последовательный кабель или терминал не поддерживает сигнал
DCD.</para>
<note><para>Call-out порты в &os;&nbsp;5.X и ранее именуются
<filename>/dev/cuaaN</filename>.
<filename>/dev/cuaa<replaceable>N</replaceable></filename>.
</para></note>
</listitem>
</itemizedlist>
@ -587,23 +587,23 @@ sio3: type 16550A</screen>
<quote>специальные файлы устройств</quote>, расположенные в
каталоге <filename>/dev</filename>. К устройствам
<filename>sio</filename> можно получить доступ через
<filename>/dev/ttydN</filename>
<filename>/dev/ttyd<replaceable>N</replaceable></filename>
(устройства входящих вызовов, dial-in)
É <filename>/dev/cuadN</filename>
É <filename>/dev/cuad<replaceable>N</replaceable></filename>
(устройства исходящих вызовов, call-out).
FreeBSD предоставляет также устройства инициализации
(<filename>/dev/ttydN.init</filename> É
<filename>/dev/cuadN.init</filename>
(<filename>/dev/ttyd<replaceable>N</replaceable>.init</filename> É
<filename>/dev/cuad<replaceable>N</replaceable>.init</filename>
в случае &os;&nbsp;6.X,
<filename>/dev/ttyidN</filename> É
<filename>/dev/cuaiaN</filename> ÄÌÑ
<filename>/dev/ttyid<replaceable>N</replaceable></filename> É
<filename>/dev/cuaia<replaceable>N</replaceable></filename> ÄÌÑ
&os;&nbsp;5.X),
устройства блокировки
(<filename>/dev/ttydN.lock</filename> É
<filename>/dev/cuadN.lock</filename>
(<filename>/dev/ttyd<replaceable>N</replaceable>.lock</filename> É
<filename>/dev/cuad<replaceable>N</replaceable>.lock</filename>
в случае &os;&nbsp;6.X,
<filename>/dev/ttyldN</filename> É
<filename>/dev/cualaN</filename> ÄÌÑ
<filename>/dev/ttyld<replaceable>N</replaceable></filename> É
<filename>/dev/cuala<replaceable>N</replaceable></filename> ÄÌÑ
&os;&nbsp;5.X).
Первые используются для инициализации параметров порта при
каждом его открытии (таких как <literal>crtscts</literal>
@ -623,9 +623,9 @@ sio3: type 16550A</screen>
<indexterm><primary><filename>ttyd</filename></primary></indexterm>
<indexterm><primary><filename>cuad</filename></primary></indexterm>
<para>õÓÔÒÏÊÓÔ×Ï <filename>ttydN</filename>
<para>õÓÔÒÏÊÓÔ×Ï <filename>ttyd<replaceable>N</replaceable></filename>
(или
<filename>cuadN</filename>) ÜÔÏ ÏÂÙŞÎÏÅ
<filename>cuad<replaceable>N</replaceable></filename>) ÜÔÏ ÏÂÙŞÎÏÅ
устройство, которое потребуется открыть для приложений. Когда процесс
открывает устройство применяются настройки ввода/вывода терминала по
умолчанию. Вы можете посмотреть эти настройки с помощью команды</para>
@ -1428,7 +1428,7 @@ vq|VH57600|Very High Speed Modem at 57600,8-bit:\
что <command>getty</command> будет запущена на
<filename>/dev/ttyd0</filename>. Второй пункт,
<literal>"/usr/libexec/getty
xxx"</literal>
<replaceable>xxx</replaceable>"</literal>
(<replaceable>xxx</replaceable> будет замещено на запись из
<filename>gettytab</filename> для начальной скорости), это процесс,
который будет запущен на данном устройстве. Третий пункт,
@ -1473,7 +1473,7 @@ vq|VH57600|Very High Speed Modem at 57600,8-bit:\
<para>Если скорость модема фиксирована на другом значении,
подставьте соответствующее значение в
<literal>std.speed</literal>
<literal>std.<replaceable>speed</replaceable></literal>
вместо <literal>std.19200</literal>. Убедитесь, что вы
используете тип, описанный в
<filename>/etc/gettytab</filename>.</para>
@ -1715,7 +1715,7 @@ AT&amp;B2&amp;W</programlisting>
<para>Если вы не видите процессов <command>getty</command>, ожидающих
открытия соответствующего порта
<filename>ttydN</filename>,
<filename>ttyd<replaceable>N</replaceable></filename>,
внимательно проверьте записи в <filename>/etc/ttys</filename>
и попробуйте найти ошибки, если они есть. Проверьте также лог файл
<filename>/var/log/messages</filename>, нет ли там сообщений от
@ -1853,7 +1853,7 @@ AT&amp;B2&amp;W</programlisting>
<para>Или используйте <command>cu</command> под
<systemitem class="username">root</systemitem> так:</para>
<screen>&prompt.root; <userinput>cu -lline -sspeed</userinput></screen>
<screen>&prompt.root; <userinput>cu -l<replaceable>line</replaceable> -s<replaceable>speed</replaceable></userinput></screen>
<para><replaceable>line</replaceable> это последовательный порт
(например <filename>/dev/cuad0</filename>), а
@ -1987,7 +1987,7 @@ big-university 5551114</programlisting>
<quote>установить переменную</quote>.</para>
<para>Введите
<command>~sforce=single-char</command>,
<command>~sforce=<replaceable>single-char</replaceable></command>,
завершив ввод новой строкой. <replaceable>single-char</replaceable>
это любой одиночный символ. Если вы не введете
<replaceable>single-char</replaceable>, управляющим символом станет
@ -2084,7 +2084,7 @@ raisechar=^^</programlisting>
<para>Для отправки файлов запустите принимающую программу на удаленной
стороне. Затем, наберите
<command>~C sz ÆÁÊÌÙ</command> ÄÌÑ
<command>~C sz <replaceable>ÆÁÊÌÙ</replaceable></command> ÄÌÑ
отправки их на удаленную систему.</para>
</sect2>
</sect1>