The translation is temporarily closed for contributions due to maintenance, please come back later.
English Portuguese (Brazil)

<email>john@kozubik.com</email>

<email>john@kozubik.com</email>
# Device Mountpoint FStype Options Dump Pass#
/dev/ad0s1a / ufs ro 1 1
# Device Mountpoint FStype Options Dump Pass#
/dev/ad0s1a / ufs ro 1 1
<filename>/etc/rc.d/var</filename> mounts <filename>/var</filename> as a memory filesystem, makes a configurable list of directories in <filename>/var</filename> with the <citerefentry><refentrytitle>mkdir</refentrytitle><manvolnum>1</manvolnum></citerefentry> command, and changes modes on some of those directories. In the execution of <filename>/etc/rc.d/var</filename>, one other <filename>rc.conf</filename> variable comes into play – <literal>varsize</literal>. A <filename>/var</filename> partition is created by <filename>/etc/rc.d/var</filename> based on the value of this variable in <filename>rc.conf</filename>: O <filename>/etc/rc.d/var</filename> monta o <filename>/var</filename> como um sistema de arquivos em memória, cria uma lista configurável de diretórios em <filename>/var</filename> com o comando <citerefentry><refentrytitle>mkdir</refentrytitle><manvolnum>1</manvolnum></citerefentry> e altera os modos em alguns desses diretórios. Na execução do <filename>/etc/rc.d/var</filename>, uma outra variável <filename>rc.conf</filename> entra em jogo – <literal>varsize</literal>. Uma partição <filename>/var</filename> é criada por <filename> /etc/rc.d/var</filename> baseado no valor desta variável em <filename>rc.conf</filename>:
<filename>syslog.conf</filename> specifies the locations of certain log files that exist in <filename>/var/log</filename>. These files are not created by <filename>/etc/rc.d/var</filename> upon system initialization. Therefore, somewhere in <filename>/etc/rc.d/var</filename>, after the section that creates the directories in <filename>/var</filename>, you will need to add something like this: O <filename>syslog.conf</filename> especifica os locais de certos arquivos de log que existem em <filename>/var/log</filename>. Esses arquivos não são criados pelo <filename>/etc/rc.d/var</filename> na inicialização do sistema. Portanto, em algum lugar do <filename>/etc/rc.d/var</filename>, logo após a seção que cria os diretórios em <filename>/var</filename>, você precisará adicionar algo como isto:
<personname> <firstname>John</firstname> <surname>Kozubik</surname> </personname> <affiliation> <_:address-1/> </affiliation> <personname> <firstname>John</firstname> <surname>Kozubik</surname> </personname> <affiliation> <_:address-1/> </affiliation>
<prompt>#</prompt> <userinput>/sbin/mount -ur <replaceable>partition</replaceable></userinput> <prompt>#</prompt> <userinput>/sbin/mount -ur <replaceable>partition</replaceable></userinput>
<prompt>#</prompt> <userinput>/sbin/mount -uw <replaceable>partition</replaceable></userinput> <prompt>#</prompt> <userinput>/sbin/mount -uw <replaceable>partition</replaceable></userinput>
<prompt>#</prompt> <userinput>cd /</userinput>
<prompt>#</prompt> <userinput>umount /flash</userinput>
<prompt>#</prompt> <userinput>exit</userinput>
<prompt>#</prompt> <userinput>cd /</userinput>
<prompt>#</prompt> <userinput>umount /flash</userinput>
<prompt>#</prompt> <userinput>exit</userinput>
<prompt>#</prompt> <userinput>chmod 0774 /var/log/apache</userinput>
<prompt>#</prompt> <userinput>chown nobody:nobody /var/log/apache</userinput>
<prompt>#</prompt> <userinput>chmod 0774 /var/log/apache</userinput>
<prompt>#</prompt> <userinput>chown nobody:nobody /var/log/apache</userinput>
<prompt>#</prompt> <userinput>disklabel -B -r /dev/ad0c</userinput>
<prompt>#</prompt> <userinput>newfs /dev/ad0a</userinput>
<prompt>#</prompt> <userinput>disklabel -B -r /dev/ad0c</userinput>
<prompt>#</prompt> <userinput>newfs /dev/ad0a</userinput>
<prompt>#</prompt> <userinput>disklabel -e /dev/ad0c</userinput> <prompt>#</prompt> <userinput>disklabel -e /dev/ad0c</userinput>
<prompt>#</prompt> <userinput>ifconfig xl0 192.168.0.10 netmask 255.255.255.0</userinput>
<prompt>#</prompt> <userinput>route add default 192.168.0.1</userinput>
<prompt>#</prompt> <userinput>ifconfig xl0 192.168.0.10 netmask 255.255.255.0</userinput>
<prompt>#</prompt> <userinput>route add default 192.168.0.1</userinput>
<prompt>#</prompt> <userinput>ln -s /etc/pkg /var/db/pkg</userinput> <prompt>#</prompt> <userinput>ln -s /etc/pkg /var/db/pkg</userinput>
<prompt>#</prompt> <userinput>mkdir /etc/pkg</userinput> <prompt>#</prompt> <userinput>mkdir /etc/pkg</userinput>
<prompt>#</prompt> <userinput>mount /dev/ad0a /flash</userinput> <prompt>#</prompt> <userinput>mount /dev/ad0a /flash</userinput>
<prompt>#</prompt> <userinput>rm -rf <replaceable>apache_log_dir</replaceable></userinput>
<prompt>#</prompt> <userinput>ln -s /var/log/apache <replaceable>apache_log_dir</replaceable></userinput>
<prompt>#</prompt> <userinput>rm -rf <replaceable>apache_log_dir</replaceable></userinput>
<prompt>#</prompt> <userinput>ln -s /var/log/apache <replaceable>apache_log_dir</replaceable></userinput>
<prompt>#</prompt> <userinput>touch /var/log/security /var/log/maillog /var/log/cron /var/log/messages</userinput>
<prompt>#</prompt> <userinput>chmod 0644 /var/log/*</userinput>
<prompt>#</prompt> <userinput>touch /var/log/security /var/log/maillog /var/log/cron /var/log/messages</userinput>
<prompt>#</prompt> <userinput>chmod 0644 /var/log/*</userinput>
<prompt>ftp&gt;</prompt> <userinput>get tarfile.tar "| tar xvf -"</userinput> <prompt>ftp&gt;</prompt> <userinput>get tarfile.tar "| tar xvf -"</userinput>
<prompt>ftp&gt;</prompt> <userinput>get tarfile.tar "| zcat | tar xvf -"</userinput> <prompt>ftp&gt;</prompt> <userinput>get tarfile.tar "| zcat | tar xvf -"</userinput>
<year>2001</year> <year>2009</year> <holder>The FreeBSD Documentation Project</holder> <year>2001</year> <year>2009</year> <holder>Projeto de Documentação do FreeBSD</holder>