Index: head/es_ES.ISO8859-1/articles/Makefile =================================================================== --- head/es_ES.ISO8859-1/articles/Makefile (revision 53160) +++ head/es_ES.ISO8859-1/articles/Makefile (revision 53161) @@ -1,26 +1,27 @@ # # The FreeBSD Documentation Project # The FreeBSD Spanish Documentation Project # # $FreeBSD$ SUBDIR = SUBDIR+= contributing SUBDIR+= cups SUBDIR+= explaining-bsd SUBDIR+= fdp-es SUBDIR+= freebsd-questions SUBDIR+= ipsec-must SUBDIR+= leap-seconds SUBDIR+= linux-users SUBDIR+= mailing-list-faq SUBDIR+= nanobsd SUBDIR+= port-mentor-guidelines SUBDIR+= p4-primer SUBDIR+= problem-reports SUBDIR+= releng SUBDIR+= remote-install +SUBDIR+= solid-state DOC_PREFIX?= ${.CURDIR}/../.. .include "${DOC_PREFIX}/share/mk/doc.project.mk" Index: head/es_ES.ISO8859-1/articles/solid-state/Makefile =================================================================== --- head/es_ES.ISO8859-1/articles/solid-state/Makefile (nonexistent) +++ head/es_ES.ISO8859-1/articles/solid-state/Makefile (revision 53161) @@ -0,0 +1,24 @@ +# +# The FreeBSD Documentation Project +# The FreeBSD Spanish Documentation Project +# +# $FreeBSD$ +# +# Article: Solid State Devices + +MAINTAINER=carlavilla@FreeBSD.org + +DOC?= article + +FORMATS?= html html-split +WITH_ARTICLE_TOC?= YES + +INSTALL_COMPRESSED?= gz +INSTALL_ONLY_COMPRESSED?= + +SRCS= article.xml + +URL_RELPREFIX?= ../../../.. +DOC_PREFIX?= ${.CURDIR}/../../.. + +.include "${DOC_PREFIX}/share/mk/doc.project.mk" Property changes on: head/es_ES.ISO8859-1/articles/solid-state/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/es_ES.ISO8859-1/articles/solid-state/article.xml =================================================================== --- head/es_ES.ISO8859-1/articles/solid-state/article.xml (nonexistent) +++ head/es_ES.ISO8859-1/articles/solid-state/article.xml (revision 53161) @@ -0,0 +1,264 @@ + + + +
+ FreeBSD y las unidades de estado sólido (SSD) + + + John Kozubik + john@kozubik.com + + + + 2001 2009 The FreeBSD Documentation Project + + + FreeBSD is a registered trademark of the FreeBSD Foundation. + Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this document, and the FreeBSD Project was aware of the trademark claim, the designations have been followed by the or the ® symbol. + + + + + Copyright + + Redistribution and use in source (XML DocBook) and 'compiled' forms (XML, HTML, PDF, PostScript, RTF and so forth) with or without modification, are permitted provided that the following conditions are met: + + + + Redistributions of source code (XML DocBook) must retain the above copyright notice, this list of conditions and the following disclaimer as the first lines of this file unmodified. + + + + Redistributions in compiled form (transformed to other DTDs, converted to PDF, PostScript, RTF and other formats) must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + + + + + THIS DOCUMENTATION IS PROVIDED BY THE FREEBSD DOCUMENTATION PROJECT "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FREEBSD DOCUMENTATION PROJECT BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + + + + $FreeBSD$ + + $FreeBSD$ + + + Este artículo trata sobre el uso de discos de estado sólido en FreeBSD para crear sistemas embebidos. + + Los sistemas embebidos tienen la ventaja de una mayor estabilidad por la falta de partes móviles (discos duros). Sin embargo, se debe tener en cuenta que generalmente el espacio disponible para el sistema y la durabilidad del medio de almacenamiento son menores. + + Los temas específicos que se abordarán incluyen los tipos y atributos de los dispositivos de estado sólido adecuados para su uso como disco en FreeBSD, las opciones del kernel que son interesantes para dicho entorno, los mecanismos de rc.initdiskless que automatizan el inicio de dichos sistemas, la necesidad de sistemas de archivos de solo lectura y hacer sistemas de archivos desde cero. El artículo concluirá con algunas estrategias generales para entornos pequeños y de solo lectura de FreeBSD. + + + + + Dispositivos de disco de estado sólido + + El alcance de este artículo se limitará a dispositivos de estado sólido basados en memoria flash. La memoria flash es una memoria de estado sólido (sin partes móviles) que no es volátil (la memoria mantiene los datos incluso después de que se hayan desconectado todas las fuentes de alimentación). La memoria flash puede soportar un enorme impacto físico y es bastante rápida (las soluciones de memoria flash que se tratan en este artículo son un poco más lentas que un disco duro EIDE en operaciones de escritura y mucho más rápidos en operaciones de lectura). Un aspecto muy importante de la memoria flash, cuyas repercusiones se tratarán más adelante, es que cada sector tiene una capacidad de reescritura limitada. Solo puede escribir, borrar y volver a escribir en un sector de la memoria flash varias veces antes de que quede permanentemente inutilizable. Aunque muchos productos de memoria flash mapean automáticamente los bloques defectuosos y algunos incluso distribuyen las operaciones de escritura de manera uniforme en toda la unidad, la verdad es que hay un límite en la cantidad de escrituras que se pueden hacer al dispositivo. Las unidades más competitivas tienen entre 1.000.000 y 10.000.000 millones de escrituras por sector en sus especificaciones. Esta cifra varía debido a la temperatura del ambiente. + + Específicamente, discutiremos las unidades flash compactas compatibles con ATA, las cuales son bastante populares como medios de almacenamiento para cámaras digitales. Es de particular interés el hecho de que se conecten directamente al bus IDE y sean compatibles con el conjunto de comandos ATA. Por lo tanto, con un adaptador muy simple y de bajo coste, estos dispositivos se pueden conectar directamente al bus IDE en un ordenador. Una vez implementado de esta forma, los sistemas operativos como FreeBSD ven el dispositivo como un disco duro normal (aunque sea pequeño). + + Existen otras soluciones de disco de estado sólido, pero su coste, opacidad y su relativa dificultad de uso los colocan más allá del alcance de este artículo. + + + + Opciones del kernel + + Algunas opciones del kernel son de especial interés para aquellos que crean un sistema FreeBSD embebido. + + Todos los sistemas FreeBSD embebidos que utilizan memorias flash como disco para el sistema estarán interesados en utilizar discos y sistemas de archivos cargados en memoria. Debido al número limitado de escrituras que se pueden hacer en la memoria flash, el disco y los sistemas de archivos probablemente se montarán como de solo lectura. En este entorno, los sistemas de archivos como /tmp y /var se montan como sistemas de archivos en memoria +para permitir que el sistema cree registros y actualice los contadores y los archivos temporales. Los sistemas de archivos en memoria son un componente crítico para una implementación exitosa de FreeBSD en dispositivos de estado sólido. + + Asegúrese de que existen las siguientes líneas en el archivo de configuración del kernel: + + options MFS # sistema de archivos de memoria +options MD_ROOT # el dispositivo md puede ser usado potencialmente como dispositivo root +pseudo-device md # disco de memoria + + + + El subsistema <literal>rc</literal> y los sistemas de archivos de solo lectura + + La inicialización posterior al arranque de un sistema FreeBSD embebido es controlada por /etc/rc.initdiskless. + + /etc/rc.d/var monta /var como sistema de archivos en memoria, crea una listado configurable de directorios en /var con el comando mkdir1 y cambia los modos en algunos de esos directorios. En la ejecución de /etc/rc.d/var, otra variable de rc.conf entra en juego: varsize. /etc/rc.d/var crea una partición /var basándose en el valor de la variable en rc.conf: + + varsize=8192 + + Recuerde que por defecto este valor está en sectores. + + El hecho de que /var sea un sistema de archivos de lectura y escritura es una distinción importante, ya que la partición / (y cualquier otra partición que pueda tener en su medio flash) se debe montar como solo lectura. Recuerde que en la detallamos las limitaciones de la memoria flash, específicamente, la capacidad de escritura limitada. La importancia de no montar sistemas de archivos en medios flash de lectura-escritura, y la importancia de no usar swap, no es exagerada. Un archivo swap en un sistema concurrido puede deteriorar un medio flash en menos de un año. Un logging intenso o la creación y destrucción de archivos temporales puede hacer lo mismo. Por lo tanto, además de quitar la entrada swap de su /etc/fstab, también debe cambiar el campo Options para cada sistema de archivos a ro de la siguiente forma: + + # Device Mountpoint FStype Options Dump Pass# +/dev/ad0s1a / ufs ro 1 1 + + Algunas aplicaciones en el sistema comenzarán a fallar inmediatamente como resultado de este cambio. Por ejemplo, cron no se ejecutará correctamente al faltar las cron tabs en /var creadas por /etc/rc.d/var, además, syslog y dhcp encontrarán problemas como resultado de montar el sistema de archivos como solo lectura y la falta de elementos en /var que ha creado /etc/rc.d/var. Sin embargo, esto son solo problemas temporales y se tratan, junto con las soluciones para la ejecución de otros programas de uso común en la . + + Una cosa importante a recordar es que un sistema de archivos que fue montado como solo lectura con /etc/fstab puede ser montado como lectura-escrita en cualquier momento ejecutando el comando: + + # /sbin/mount -uw partition + + y se puede cambiar de nuevo a solo lectura con el comando: + + # /sbin/mount -ur partition + + + + Construyendo un sistema de archivos desde cero + + Como las tarjetas compact-flash compatibles con ATA son vistas por FreeBSD como discos duros IDE estándar, en teoría se podría instalar FreeBSD desde la red usando floppies kern y mfsroot o desde un CD. + + Sin embargo, incluso una pequeña instalación de FreeBSD que utilice procedimientos normales de instalación puede producir un sistema con un tamaño superior a 200 megabytes. Como la mayoría de la gente utilizará dispositivos de memoria flash más pequeños (128 megabytes se consideran razonablemente grandes - 32 o incluso 16 megabytes son comunes), una instalación utilizando mecanismos normales no será posible - simplemente no hay suficiente espacio en el disco incluso para las instalaciones convencionales más pequeñas. + + La forma más fácil de superar esta limitación de espacio es instalar FreeBSD utilizando medios convencionales en un disco duro normal. Una vez finalizada la instalación, reduzca el sistema operativo a un tamaño que se ajuste a su medio flash, +y comprima el sistema de archivos completo en un fichero tar. Los siguientes pasos le guiarán en el proceso de preparación de una memoria flash para su sistema de archivos comprimido en un fichero tar. Recuerde que no estamos ejecutando una instalación normal, luego las operaciones como particionado, etiquetado, creación del sistema de archivos, etc. deben ejecutarse manualmente. Además de los disquetes kern y mfsroot, también necesitará usar el disquete fixit. + + + + Particionando su dispositivo flash + + Después de arrancar con los disquetes kern y mfsroot, seleccione custom en el menú de instalación. En el menú de instalación personalizado, seleccione partition. En el menú de particiones, debe borrar todas las particiones existentes mediante la tecla d. Después de eliminar todas las particiones existentes, cree una partición utilizando la tecla c y acepte el valor predeterminado para el tamaño de la partición. Cuando se le pregunte el tipo de partición, asegúrese de que el valor esté establecido en 165. Ahora escriba la tabla de particiones en el disco presionando w (es una opción oculta en esta pantalla). Si está utilizando una tarjeta compact flash compatible con ATA, debe elegir el FreeBSD Boot Manager. Ahora presione q para salir del menú de partición. Verá de nuevo el menú del gestor de arranque - repita la opción hecha anteriormente. + + + + Creación de sistemas de archivos en su dispositivo de memoria flash + + Salga del menú de instalación personalizado y, en el menú de instalación principal, elija la opción fixit. Después de entrar en el entorno de fixit, escriba el siguiente comando: + + # disklabel -e /dev/ad0c + + En este punto, habrá accedido al editor vi guiado por el comando disklabel. A continuación, debe agregar una línea a: al final del archivo. La línea a: debería ser similar a la siguiente: + + a: 123456 0 4.2BSD 0 0 + + Donde 123456 es exactamente el mismo número que la entrada c:. Básicamente, está duplicando la línea c: como a:, asegúrese de que el fstype es 4.2BSD. Guarde el archivo y ciérrelo. + + # disklabel -B -r /dev/ad0c +# newfs /dev/ad0a + + + + Colocando su sistema de archivos en el medio flash + + Monte el medio flash recién preparado: + + # mount /dev/ad0a /flash + + Coloque esta máquina en la red para poder transferir nuestro archivo tar y extraerlo en nuestro sistema de archivos del medio flash. Un ejemplo de cómo hacerlo es: + + # ifconfig xl0 192.168.0.10 netmask 255.255.255.0 +# route add default 192.168.0.1 + + Ahora que la máquina está en la red, transfiera su archivo tar. Es posible que se enfrente a un pequeño dilema en este punto - si su memoria flash tiene por ejemplo 128 megabytes, y su archivo tar tiene más de 64 megabytes, no podrá tener el archivo tar en el medio de flash al mismo tiempo que realiza la descompresión - se quedará sin espacio. Una solución a este problema, si está utilizando FTP, es descomprimir el archivo mientras se transfiere por FTP. Si realiza la transferencia de esta forma, nunca tendrá el archivo tar y los contenidos en el disco al mismo tiempo: + + ftp> get tarfile.tar "| tar xvf -" + + Si su archivo tar está comprimido en gzip, puede hacerlo de esta forma: + + ftp> get tarfile.tar "| zcat | tar xvf -" + + Una vez que el contenido de su sistema de archivos comprimido por tar está en el sistema de archivos de la memoria flash, puede desmontar la memoria flash y reiniciar: + + # cd / +# umount /flash +# exit + + Suponiendo que configuró correctamente su sistema de archivos cuando lo construyó en su disco duro normal, (con sus sistemas de archivos montados en modo solo lectura, y con las opciones necesarias compiladas en el kernel) ahora se debería iniciar con éxito su sistema embebido FreeBSD. + + + + + + Estrategias para entornos pequeños y de solo lectura + + En la , se indicó que el sistema de archivos /var construido por /etc/rc.d/var y la presencia de un sistema de archivos raíz montado en modo solo lectura causa problemas con muchos paquetes de software utilizados en FreeBSD. En este artículo, se proporcionarán sugerencias para ejecutar con éxito cron, syslog, la instalación de ports y el servidor web Apache. + + + Cron + + Tras el arranque, /var será llenado con /etc/rc.d/var usando la lista disponible en /etc/mtree/BSD.var.dist, por lo que cron, cron/tabs, at y algunos otros directorios estándar son creados. + + Sin embargo, esto no resuelve el problema de mantener las cron tabs entre los reinicios. Cuando el sistema se reinicie, el sistema de archivos /var cargado en memoria desaparecerá y todas las cron tabs que tenga también desaparecerán. Por lo tanto, una solución sería crear las cron tabs para los usuarios que las necesiten; monte su sistema de archivos raíz / como lectura-escritura y copie las cron tabs a un lugar seguro, como /etc/tabs, a continuación, añada una entrada al final de /etc/rc.initdiskless que copie estas crontabs a /var/cron/tabs después de que el directorio se cree durante el inicio del sistema. Es posible que también deba añadir una entrada que cambie los modos y permisos en los directorios creados y en los archivos copiados con /etc/rc.initdiskless. + + + + Syslog + + syslog.conf especifica las ubicaciones de ciertos ficheros de log que hay en /var/log. Estos archivos no son creados por /etc/rc.d/var durante la inicialización del sistema. Por lo tanto, en algún lugar de /etc/rc.d/var, justo después de la sección que crea los directorios en /var, tendrá que añadir algo como esto: + + # touch /var/log/security /var/log/maillog /var/log/cron /var/log/messages +# chmod 0644 /var/log/* + + + + Instalación de ports + + Antes de analizar los cambios necesarios para utilizar con éxito el árbol de ports, es necesario recordar que su sistema de archivos en el medio flash es de solo lectura. Dado que es de solo lectura, necesitará montarlo temporalmente en modo lectura-escritura utilizando la sintaxis que se muestra en la . Siempre debe volver a montar estos sistemas de archivos en modo solo lectura cuando haya terminado cualquier mantenimiento - las escrituras innecesarias en el medio flash podrían acortar considerablemente su vida útil. + + Para que sea posible entrar en el directorio de ports y ejecutar con éxito el comando make install, debemos crear un directorio para los paquetes en un sistema de archivos que no se encuentre en la memoria para que mantenga nuestros paquetes durante los reinicios. Como es necesario montar sus sistemas de archivos en modo lectura-escritura para la instalación de un paquete, es apropiado suponer que también se puede usar un área en el medio flash para escribir la información del paquete. + + Primero, cree el directorio para la base de datos de los paquetes. Normalmente se encuentra en /var/db/pkg, pero no podemos colocarlo allí ya que desaparecerá cada vez que se inicie el sistema. + + # mkdir /etc/pkg + + Ahora, agregue una línea al archivo /etc/rc.d/var que enlace /etc/pkg a /var/db/pkg. Un ejemplo: + + # ln -s /etc/pkg /var/db/pkg + + Ahora, cada vez que monte su sistema de archivos en modo lectura-escritura e instale un paquete, el comando make install funcionará, y la información del paquete se escribirá correctamente en /etc/pkg (porque el sistema de archivos, en ese momento, estará montado en modo lectura-escritura) que siempre estará disponible para el sistema operativo como /var/db/pkg. + + + + Servidor Web Apache + + + Los pasos de esta sección solo son necesarios si Apache está configurado para escribir su pid o registro log fuera de /var. Por defecto, Apache guarda su archivo pid en /var/run/httpd.pid y sus registros de log en /var/log. + + + Se supone que Apache guarda sus archivos de logs en un directorio apache_log_dir fuera de /var. Cuando este directorio reside en un sistema de archivos de solo lectura, Apache no puede guardar ningún archivo de log y puede tener problemas para funcionar. Si es así, debe agregar un nuevo directorio al listado de directorios en /etc/rc.d/var a crear en /var y vincular apache_log_dir a /var/log/apache. También es necesario establecer permisos y propietarios a este nuevo directorio. + + En primer lugar, agregue el directorio log/apache a la lista de directorios que se crearán en /etc/rc.d/var. + + En segundo lugar, agregue estos comandos a /etc/rc.d/var después de la sección de creación del directorio: + + # chmod 0774 /var/log/apache +# chown nobody:nobody /var/log/apache + + Por último, elimine el directorio apache_log_dir y reemplácelo por un enlace: + + # rm -rf apache_log_dir +# ln -s /var/log/apache apache_log_dir + + +
Property changes on: head/es_ES.ISO8859-1/articles/solid-state/article.xml ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/xml \ No newline at end of property Index: head/es_ES.ISO8859-1/articles/solid-state/es_ES.po =================================================================== --- head/es_ES.ISO8859-1/articles/solid-state/es_ES.po (nonexistent) +++ head/es_ES.ISO8859-1/articles/solid-state/es_ES.po (revision 53161) @@ -0,0 +1,1027 @@ +# Edson Brandi , 2019. #zanata +# Sergio Carlavilla , 2019. #zanata +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2019-06-07 22:29+0200\n" +"PO-Revision-Date: 2019-06-06 09:40+0000\n" +"Last-Translator: Sergio Carlavilla \n" +"Language-Team: Spanish (Spain)\n" +"Language: es_ES\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Zanata 4.6.2\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" + +#. Put one translator per line, in the form NAME , YEAR1, YEAR2 +msgctxt "_" +msgid "translator-credits" +msgstr "Sergio Carlavilla carlavilla@mailbox.org, 2019" + +#. (itstool) path: info/title +#: article.translate.xml:35 +msgid "FreeBSD and Solid State Devices" +msgstr "FreeBSD y las unidades de estado sólido (SSD)" + +#. (itstool) path: affiliation/address +#: article.translate.xml:44 +#, no-wrap +msgid "" +"\n" +"\t john@kozubik.com\n" +"\t " +msgstr "" +"\n" +"\t john@kozubik.com\n" +"\t " + +#. (itstool) path: authorgroup/author +#: article.translate.xml:38 +msgid "" +" John Kozubik <_:address-1/> " +msgstr "" +" John Kozubik <_:address-1/> " + +#. (itstool) path: info/copyright +#: article.translate.xml:51 +msgid "" +"2001 2009 The FreeBSD Documentation " +"Project" +msgstr "" +"2001 2009 The FreeBSD Documentation " +"Project" + +#. (itstool) path: legalnotice/para +#: article.translate.xml:58 +msgid "FreeBSD is a registered trademark of the FreeBSD Foundation." +msgstr "FreeBSD is a registered trademark of the FreeBSD Foundation." + +#. (itstool) path: legalnotice/para +#: article.translate.xml:60 +msgid "" +"Many of the designations used by manufacturers and sellers to distinguish " +"their products are claimed as trademarks. Where those designations appear in " +"this document, and the FreeBSD Project was aware of the trademark claim, the " +"designations have been followed by the or the ® symbol." +msgstr "" +"Many of the designations used by manufacturers and sellers to distinguish " +"their products are claimed as trademarks. Where those designations appear in " +"this document, and the FreeBSD Project was aware of the trademark claim, the " +"designations have been followed by the or the ® symbol." + +#. (itstool) path: legalnotice/title +#: article.translate.xml:70 +msgid "Copyright" +msgstr "Copyright" + +#. (itstool) path: legalnotice/para +#: article.translate.xml:72 +msgid "" +"Redistribution and use in source (XML DocBook) and 'compiled' forms (XML, " +"HTML, PDF, PostScript, RTF and so forth) with or without modification, are " +"permitted provided that the following conditions are met:" +msgstr "" +"Redistribution and use in source (XML DocBook) and 'compiled' forms (XML, " +"HTML, PDF, PostScript, RTF and so forth) with or without modification, are " +"permitted provided that the following conditions are met:" + +#. (itstool) path: listitem/para +#: article.translate.xml:79 +msgid "" +"Redistributions of source code (XML DocBook) must retain the above copyright " +"notice, this list of conditions and the following disclaimer as the first " +"lines of this file unmodified." +msgstr "" +"Redistributions of source code (XML DocBook) must retain the above copyright " +"notice, this list of conditions and the following disclaimer as the first " +"lines of this file unmodified." + +#. (itstool) path: listitem/para +#: article.translate.xml:85 +msgid "" +"Redistributions in compiled form (transformed to other DTDs, converted to " +"PDF, PostScript, RTF and other formats) must reproduce the above copyright " +"notice, this list of conditions and the following disclaimer in the " +"documentation and/or other materials provided with the distribution." +msgstr "" +"Redistributions in compiled form (transformed to other DTDs, converted to " +"PDF, PostScript, RTF and other formats) must reproduce the above copyright " +"notice, this list of conditions and the following disclaimer in the " +"documentation and/or other materials provided with the distribution." + +#. (itstool) path: important/para +#: article.translate.xml:94 +msgid "" +"THIS DOCUMENTATION IS PROVIDED BY THE FREEBSD DOCUMENTATION PROJECT \"AS IS" +"\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE " +"IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE " +"ARE DISCLAIMED. IN NO EVENT SHALL THE FREEBSD DOCUMENTATION PROJECT BE " +"LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR " +"CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF " +"SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS " +"INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN " +"CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) " +"ARISING IN ANY WAY OUT OF THE USE OF THIS DOCUMENTATION, EVEN IF ADVISED OF " +"THE POSSIBILITY OF SUCH DAMAGE." +msgstr "" +"THIS DOCUMENTATION IS PROVIDED BY THE FREEBSD DOCUMENTATION PROJECT \"AS IS" +"\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE " +"IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE " +"ARE DISCLAIMED. IN NO EVENT SHALL THE FREEBSD DOCUMENTATION PROJECT BE " +"LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR " +"CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF " +"SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS " +"INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN " +"CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) " +"ARISING IN ANY WAY OUT OF THE USE OF THIS DOCUMENTATION, EVEN IF ADVISED OF " +"THE POSSIBILITY OF SUCH DAMAGE." + +#. (itstool) path: info/pubdate +#. (itstool) path: info/releaseinfo +#: article.translate.xml:110 article.translate.xml:112 +msgid "" +"$FreeBSD$" +msgstr "" + +#. (itstool) path: abstract/para +#: article.translate.xml:115 +msgid "" +"This article covers the use of solid state disk devices in FreeBSD to create " +"embedded systems." +msgstr "" +"Este artículo trata sobre el uso de discos de estado sólido en FreeBSD para " +"crear sistemas embebidos." + +#. (itstool) path: abstract/para +#: article.translate.xml:118 +msgid "" +"Embedded systems have the advantage of increased stability due to the lack " +"of integral moving parts (hard drives). Account must be taken, however, for " +"the generally low disk space available in the system and the durability of " +"the storage medium." +msgstr "" +"Los sistemas embebidos tienen la ventaja de una mayor estabilidad por la " +"falta de partes móviles (discos duros). Sin embargo, se debe tener en cuenta " +"que generalmente el espacio disponible para el sistema y la durabilidad del " +"medio de almacenamiento son menores." + +#. (itstool) path: abstract/para +#: article.translate.xml:124 +msgid "" +"Specific topics to be covered include the types and attributes of solid " +"state media suitable for disk use in FreeBSD, kernel options that are of " +"interest in such an environment, the rc.initdiskless " +"mechanisms that automate the initialization of such systems and the need for " +"read-only filesystems, and building filesystems from scratch. The article " +"will conclude with some general strategies for small and read-only FreeBSD " +"environments." +msgstr "" +"Los temas específicos que se abordarán incluyen los tipos y atributos de los " +"dispositivos de estado sólido adecuados para su uso como disco en FreeBSD, " +"las opciones del kernel que son interesantes para dicho entorno, los " +"mecanismos de rc.initdiskless que automatizan el inicio " +"de dichos sistemas, la necesidad de sistemas de archivos de solo lectura y " +"hacer sistemas de archivos desde cero. El artículo concluirá con algunas " +"estrategias generales para entornos pequeños y de solo lectura de FreeBSD." + +#. (itstool) path: sect1/title +#: article.translate.xml:136 +msgid "Solid State Disk Devices" +msgstr "Dispositivos de disco de estado sólido" + +#. (itstool) path: sect1/para +#: article.translate.xml:138 +msgid "" +"The scope of this article will be limited to solid state disk devices made " +"from flash memory. Flash memory is a solid state memory (no moving parts) " +"that is non-volatile (the memory maintains data even after all power sources " +"have been disconnected). Flash memory can withstand tremendous physical " +"shock and is reasonably fast (the flash memory solutions covered in this " +"article are slightly slower than a EIDE hard disk for write operations, and " +"much faster for read operations). One very important aspect of flash memory, " +"the ramifications of which will be discussed later in this article, is that " +"each sector has a limited rewrite capacity. You can only write, erase, and " +"write again to a sector of flash memory a certain number of times before the " +"sector becomes permanently unusable. Although many flash memory products " +"automatically map bad blocks, and although some even distribute write " +"operations evenly throughout the unit, the fact remains that there exists a " +"limit to the amount of writing that can be done to the device. Competitive " +"units have between 1,000,000 and 10,000,000 writes per sector in their " +"specification. This figure varies due to the temperature of the environment." +msgstr "" +"El alcance de este artículo se limitará a dispositivos de estado sólido " +"basados en memoria flash. La memoria flash es una memoria de estado sólido " +"(sin partes móviles) que no es volátil (la memoria mantiene los datos " +"incluso después de que se hayan desconectado todas las fuentes de " +"alimentación). La memoria flash puede soportar un enorme impacto físico y es " +"bastante rápida (las soluciones de memoria flash que se tratan en este " +"artículo son un poco más lentas que un disco duro EIDE en operaciones de " +"escritura y mucho más rápidos en operaciones de lectura). Un aspecto muy " +"importante de la memoria flash, cuyas repercusiones se tratarán más " +"adelante, es que cada sector tiene una capacidad de reescritura limitada. " +"Solo puede escribir, borrar y volver a escribir en un sector de la memoria " +"flash varias veces antes de que quede permanentemente inutilizable. Aunque " +"muchos productos de memoria flash mapean automáticamente los bloques " +"defectuosos y algunos incluso distribuyen las operaciones de escritura de " +"manera uniforme en toda la unidad, la verdad es que hay un límite en la " +"cantidad de escrituras que se pueden hacer al dispositivo. Las unidades más " +"competitivas tienen entre 1.000.000 y 10.000.000 millones de escrituras por " +"sector en sus especificaciones. Esta cifra varía debido a la temperatura del " +"ambiente." + +#. (itstool) path: sect1/para +#: article.translate.xml:159 +msgid "" +"Specifically, we will be discussing ATA compatible compact-flash units, " +"which are quite popular as storage media for digital cameras. Of particular " +"interest is the fact that they pin out directly to the IDE bus and are " +"compatible with the ATA command set. Therefore, with a very simple and low-" +"cost adaptor, these devices can be attached directly to an IDE bus in a " +"computer. Once implemented in this manner, operating systems such as FreeBSD " +"see the device as a normal hard disk (albeit small)." +msgstr "" +"Específicamente, discutiremos las unidades flash compactas compatibles con " +"ATA, las cuales son bastante populares como medios de almacenamiento para " +"cámaras digitales. Es de particular interés el hecho de que se conecten " +"directamente al bus IDE y sean compatibles con el conjunto de comandos ATA. " +"Por lo tanto, con un adaptador muy simple y de bajo coste, estos " +"dispositivos se pueden conectar directamente al bus IDE en un ordenador. Una " +"vez implementado de esta forma, los sistemas operativos como FreeBSD ven el " +"dispositivo como un disco duro normal (aunque sea pequeño)." + +#. (itstool) path: sect1/para +#: article.translate.xml:169 +msgid "" +"Other solid state disk solutions do exist, but their expense, obscurity, and " +"relative unease of use places them beyond the scope of this article." +msgstr "" +"Existen otras soluciones de disco de estado sólido, pero su coste, opacidad " +"y su relativa dificultad de uso los colocan más allá del alcance de este " +"artículo." + +#. (itstool) path: sect1/title +#: article.translate.xml:175 +msgid "Kernel Options" +msgstr "Opciones del kernel" + +#. (itstool) path: sect1/para +#: article.translate.xml:177 +msgid "" +"A few kernel options are of specific interest to those creating an embedded " +"FreeBSD system." +msgstr "" +"Algunas opciones del kernel son de especial interés para aquellos que crean " +"un sistema FreeBSD embebido." + +#. (itstool) path: sect1/para +#: article.translate.xml:180 +msgid "" +"All embedded FreeBSD systems that use flash memory as system disk will be " +"interested in memory disks and memory filesystems. Because of the limited " +"number of writes that can be done to flash memory, the disk and the " +"filesystems on the disk will most likely be mounted read-only. In this " +"environment, filesystems such as /tmp and /" +"var are mounted as memory filesystems to allow the system to " +"create logs and update counters and temporary files. Memory filesystems are " +"a critical component to a successful solid state FreeBSD implementation." +msgstr "" +"Todos los sistemas FreeBSD embebidos que utilizan memorias flash como disco " +"para el sistema estarán interesados en utilizar discos y sistemas de " +"archivos cargados en memoria. Debido al número limitado de escrituras que se " +"pueden hacer en la memoria flash, el disco y los sistemas de archivos " +"probablemente se montarán como de solo lectura. En este entorno, los " +"sistemas de archivos como /tmp y /var se montan como sistemas de archivos en memoria\n" +"para permitir que el sistema cree registros y actualice los contadores y los " +"archivos temporales. Los sistemas de archivos en memoria son un componente " +"crítico para una implementación exitosa de FreeBSD en dispositivos de estado " +"sólido." + +#. (itstool) path: sect1/para +#: article.translate.xml:191 +msgid "" +"You should make sure the following lines exist in your kernel configuration " +"file:" +msgstr "" +"Asegúrese de que existen las siguientes líneas en el archivo de " +"configuración del kernel:" + +#. (itstool) path: sect1/programlisting +#: article.translate.xml:194 +#, no-wrap +msgid "" +"options MFS # Memory Filesystem\n" +"options MD_ROOT # md device usable as a potential root device\n" +"pseudo-device md # memory disk" +msgstr "" +"options MFS # sistema de archivos de memoria\n" +"options MD_ROOT # el dispositivo md puede ser usado potencialmente como dispositivo root\n" +"pseudo-device md # disco de memoria" + +#. (itstool) path: sect1/title +#: article.translate.xml:200 +msgid "The rc Subsystem and Read-Only Filesystems" +msgstr "" +"El subsistema rc y los sistemas de archivos de solo " +"lectura" + +#. (itstool) path: sect1/para +#: article.translate.xml:203 +msgid "" +"The post-boot initialization of an embedded FreeBSD system is controlled by " +"/etc/rc.initdiskless." +msgstr "" +"La inicialización posterior al arranque de un sistema FreeBSD embebido es " +"controlada por /etc/rc.initdiskless." + +#. (itstool) path: sect1/para +#: article.translate.xml:206 +msgid "" +"/etc/rc.d/var mounts /var as a " +"memory filesystem, makes a configurable list of directories in /" +"var with the mkdir1 command, and changes " +"modes on some of those directories. In the execution of /etc/rc.d/" +"var, one other rc.conf variable comes into " +"play – varsize. A /var partition is " +"created by /etc/rc.d/var based on the value of this " +"variable in rc.conf:" +msgstr "" +"/etc/rc.d/var monta /var como " +"sistema de archivos en memoria, crea una listado configurable de directorios " +"en /var con el comando " +"mkdir1 y cambia los modos en algunos de esos directorios. En la " +"ejecución de /etc/rc.d/var, otra variable de " +"rc.conf entra en juego: varsize. " +"/etc/rc.d/var crea una partición /var basándose en el valor de la variable en rc.conf:" + +#. (itstool) path: sect1/programlisting +#: article.translate.xml:218 +#, no-wrap +msgid "varsize=8192" +msgstr "varsize=8192" + +#. (itstool) path: sect1/para +#: article.translate.xml:220 +msgid "Remember that this value is in sectors by default." +msgstr "Recuerde que por defecto este valor está en sectores." + +#. (itstool) path: sect1/para +#: article.translate.xml:222 +msgid "" +"The fact that /var is a read-write filesystem is an " +"important distinction, as the / partition (and any " +"other partitions you may have on your flash media) should be mounted read-" +"only. Remember that in we detailed the limitations " +"of flash memory - specifically the limited write capability. The importance " +"of not mounting filesystems on flash media read-write, and the importance of " +"not using a swap file, cannot be overstated. A swap file on a busy system " +"can burn through a piece of flash media in less than one year. Heavy logging " +"or temporary file creation and destruction can do the same. Therefore, in " +"addition to removing the swap entry from your /" +"etc/fstab, you should also change the Options field for each " +"filesystem to ro as follows:" +msgstr "" +"El hecho de que /var sea un sistema de archivos de " +"lectura y escritura es una distinción importante, ya que la partición " +"/ (y cualquier otra partición que pueda tener en su " +"medio flash) se debe montar como solo lectura. Recuerde que en la detallamos las limitaciones de la memoria flash, " +"específicamente, la capacidad de escritura limitada. La importancia de no " +"montar sistemas de archivos en medios flash de lectura-escritura, y la " +"importancia de no usar swap, no es exagerada. Un archivo swap en un sistema " +"concurrido puede deteriorar un medio flash en menos de un año. Un logging " +"intenso o la creación y destrucción de archivos temporales puede hacer lo " +"mismo. Por lo tanto, además de quitar la entrada swap de " +"su /etc/fstab, también debe cambiar el campo Options " +"para cada sistema de archivos a ro de la siguiente forma:" + +#. (itstool) path: sect1/programlisting +#: article.translate.xml:239 +#, no-wrap +msgid "" +"# Device Mountpoint FStype Options Dump Pass#\n" +"/dev/ad0s1a / ufs ro 1 1" +msgstr "" +"# Device Mountpoint FStype Options Dump Pass#\n" +"/dev/ad0s1a / ufs ro 1 1" + +#. (itstool) path: sect1/para +#: article.translate.xml:242 +msgid "" +"A few applications in the average system will immediately begin to fail as a " +"result of this change. For instance, cron will not run properly as a result " +"of missing cron tabs in the /var created by /" +"etc/rc.d/var, and syslog and dhcp will encounter problems as well " +"as a result of the read-only filesystem and missing items in the /" +"var that /etc/rc.d/var has created. These " +"are only temporary problems though, and are addressed, along with solutions " +"to the execution of other common software packages in ." +msgstr "" +"Algunas aplicaciones en el sistema comenzarán a fallar inmediatamente como " +"resultado de este cambio. Por ejemplo, cron no se ejecutará correctamente al " +"faltar las cron tabs en /var creadas por /etc/" +"rc.d/var, además, syslog y dhcp encontrarán problemas como " +"resultado de montar el sistema de archivos como solo lectura y la falta de " +"elementos en /var que ha creado /etc/rc.d/" +"var. Sin embargo, esto son solo problemas temporales y se tratan, " +"junto con las soluciones para la ejecución de otros programas de uso común " +"en la ." + +#. (itstool) path: sect1/para +#: article.translate.xml:254 +msgid "" +"An important thing to remember is that a filesystem that was mounted read-" +"only with /etc/fstab can be made read-write at any time " +"by issuing the command:" +msgstr "" +"Una cosa importante a recordar es que un sistema de archivos que fue montado " +"como solo lectura con /etc/fstab puede ser montado como " +"lectura-escrita en cualquier momento ejecutando el comando:" + +#. (itstool) path: sect1/screen +#: article.translate.xml:258 +#, no-wrap +msgid "# /sbin/mount -uw partition" +msgstr "# /sbin/mount -uw partition" + +#. (itstool) path: sect1/para +#: article.translate.xml:260 +msgid "and can be toggled back to read-only with the command:" +msgstr "y se puede cambiar de nuevo a solo lectura con el comando:" + +#. (itstool) path: sect1/screen +#: article.translate.xml:263 +#, no-wrap +msgid "# /sbin/mount -ur partition" +msgstr "# /sbin/mount -ur partition" + +#. (itstool) path: sect1/title +#: article.translate.xml:267 +msgid "Building a File System from Scratch" +msgstr "Construyendo un sistema de archivos desde cero" + +#. (itstool) path: sect1/para +#: article.translate.xml:269 +msgid "" +"Because ATA compatible compact-flash cards are seen by FreeBSD as normal IDE " +"hard drives, you could theoretically install FreeBSD from the network using " +"the kern and mfsroot floppies or from a CD." +msgstr "" +"Como las tarjetas compact-flash compatibles con ATA son vistas por FreeBSD " +"como discos duros IDE estándar, en teoría se podría instalar FreeBSD desde " +"la red usando floppies kern y mfsroot o desde un CD." + +#. (itstool) path: sect1/para +#: article.translate.xml:274 +msgid "" +"However, even a small installation of FreeBSD using normal installation " +"procedures can produce a system in size of greater than 200 megabytes. " +"Because most people will be using smaller flash memory devices (128 " +"megabytes is considered fairly large - 32 or even 16 megabytes is common) an " +"installation using normal mechanisms is not possible—there is simply not " +"enough disk space for even the smallest of conventional installations." +msgstr "" +"Sin embargo, incluso una pequeña instalación de FreeBSD que utilice " +"procedimientos normales de instalación puede producir un sistema con un " +"tamaño superior a 200 megabytes. Como la mayoría de la gente utilizará " +"dispositivos de memoria flash más pequeños (128 megabytes se consideran " +"razonablemente grandes - 32 o incluso 16 megabytes son comunes), una " +"instalación utilizando mecanismos normales no será posible - simplemente no " +"hay suficiente espacio en el disco incluso para las instalaciones " +"convencionales más pequeñas." + +#. (itstool) path: sect1/para +#: article.translate.xml:283 +msgid "" +"The easiest way to overcome this space limitation is to install FreeBSD " +"using conventional means to a normal hard disk. After the installation is " +"complete, pare down the operating system to a size that will fit onto your " +"flash media, then tar the entire filesystem. The following steps will guide " +"you through the process of preparing a piece of flash memory for your tarred " +"filesystem. Remember, because a normal installation is not being performed, " +"operations such as partitioning, labeling, file-system creation, etc. need " +"to be performed by hand. In addition to the kern and mfsroot floppy disks, " +"you will also need to use the fixit floppy." +msgstr "" +"La forma más fácil de superar esta limitación de espacio es instalar FreeBSD " +"utilizando medios convencionales en un disco duro normal. Una vez finalizada " +"la instalación, reduzca el sistema operativo a un tamaño que se ajuste a su " +"medio flash,\n" +"y comprima el sistema de archivos completo en un fichero tar. Los siguientes " +"pasos le guiarán en el proceso de preparación de una memoria flash para su " +"sistema de archivos comprimido en un fichero tar. Recuerde que no estamos " +"ejecutando una instalación normal, luego las operaciones como particionado, " +"etiquetado, creación del sistema de archivos, etc. deben ejecutarse " +"manualmente. Además de los disquetes kern y mfsroot, también necesitará usar " +"el disquete fixit." + +#. (itstool) path: step/title +#: article.translate.xml:297 +msgid "Partitioning Your Flash Media Device" +msgstr "Particionando su dispositivo flash" + +#. (itstool) path: step/para +#: article.translate.xml:299 +msgid "" +"After booting with the kern and mfsroot floppies, choose custom from the installation menu. In the custom installation menu, choose " +"partition. In the partition menu, you should delete all " +"existing partitions using d. After deleting all existing " +"partitions, create a partition using c and accept the " +"default value for the size of the partition. When asked for the type of the " +"partition, make sure the value is set to 165. Now write " +"this partition table to the disk by pressing w (this is a " +"hidden option on this screen). If you are using an ATA compatible compact " +"flash card, you should choose the FreeBSD Boot Manager. Now press q to quit the partition menu. You will be shown the boot manager menu " +"once more - repeat the choice you made earlier." +msgstr "" +"Después de arrancar con los disquetes kern y mfsroot, seleccione " +"custom en el menú de instalación. En el menú de " +"instalación personalizado, seleccione partition. En el " +"menú de particiones, debe borrar todas las particiones existentes mediante " +"la tecla d. Después de eliminar todas las particiones " +"existentes, cree una partición utilizando la tecla c y " +"acepte el valor predeterminado para el tamaño de la partición. Cuando se le " +"pregunte el tipo de partición, asegúrese de que el valor esté establecido en " +"165. Ahora escriba la tabla de particiones en el disco " +"presionando w (es una opción oculta en esta pantalla). Si " +"está utilizando una tarjeta compact flash compatible con ATA, debe elegir el " +"FreeBSD Boot Manager. Ahora presione q para salir del menú " +"de partición. Verá de nuevo el menú del gestor de arranque - repita la " +"opción hecha anteriormente." + +#. (itstool) path: step/title +#: article.translate.xml:319 +msgid "Creating Filesystems on Your Flash Memory Device" +msgstr "Creación de sistemas de archivos en su dispositivo de memoria flash" + +#. (itstool) path: step/para +#: article.translate.xml:322 +msgid "" +"Exit the custom installation menu, and from the main installation menu " +"choose the fixit option. After entering the fixit " +"environment, enter the following command:" +msgstr "" +"Salga del menú de instalación personalizado y, en el menú de instalación " +"principal, elija la opción fixit. Después de entrar en el " +"entorno de fixit, escriba el siguiente comando:" + +#. (itstool) path: step/screen +#: article.translate.xml:327 +#, no-wrap +msgid "# disklabel -e /dev/ad0c" +msgstr "# disklabel -e /dev/ad0c" + +#. (itstool) path: step/para +#: article.translate.xml:329 +msgid "" +"At this point you will have entered the vi editor under the auspices of the " +"disklabel command. Next, you need to add an a: line at " +"the end of the file. This a: line should look like:" +msgstr "" +"En este punto, habrá accedido al editor vi guiado por el comando disklabel. " +"A continuación, debe agregar una línea a: al final del " +"archivo. La línea a: debería ser similar a la siguiente:" + +#. (itstool) path: step/programlisting +#: article.translate.xml:334 +#, no-wrap +msgid "a: 123456 0 4.2BSD 0 0" +msgstr "a: 123456 0 4.2BSD 0 0" + +#. (itstool) path: step/para +#: article.translate.xml:336 +msgid "" +"Where 123456 is a number that is exactly the same " +"as the number in the existing c: entry for size. " +"Basically you are duplicating the existing c: line as an " +"a: line, making sure that fstype is 4.2BSD. Save the file and exit." +msgstr "" +"Donde 123456 es exactamente el mismo número que " +"la entrada c:. Básicamente, está duplicando la línea " +"c: como a:, asegúrese de que el fstype " +"es 4.2BSD. Guarde el archivo y ciérrelo." + +#. (itstool) path: step/screen +#: article.translate.xml:343 +#, no-wrap +msgid "" +"# disklabel -B -r /dev/ad0c\n" +"# newfs /dev/ad0a" +msgstr "" +"# disklabel -B -r /dev/ad0c\n" +"# newfs /dev/ad0a" + +#. (itstool) path: step/title +#: article.translate.xml:348 +msgid "Placing Your Filesystem on the Flash Media" +msgstr "Colocando su sistema de archivos en el medio flash" + +#. (itstool) path: step/para +#: article.translate.xml:350 +msgid "Mount the newly prepared flash media:" +msgstr "Monte el medio flash recién preparado:" + +#. (itstool) path: step/screen +#: article.translate.xml:352 +#, no-wrap +msgid "# mount /dev/ad0a /flash" +msgstr "# mount /dev/ad0a /flash" + +#. (itstool) path: step/para +#: article.translate.xml:354 +msgid "" +"Bring this machine up on the network so we may transfer our tar file and " +"explode it onto our flash media filesystem. One example of how to do this is:" +msgstr "" +"Coloque esta máquina en la red para poder transferir nuestro archivo tar y " +"extraerlo en nuestro sistema de archivos del medio flash. Un ejemplo de cómo " +"hacerlo es:" + +#. (itstool) path: step/screen +#: article.translate.xml:358 +#, no-wrap +msgid "" +"# ifconfig xl0 192.168.0.10 netmask 255.255.255.0\n" +"# route add default 192.168.0.1" +msgstr "" +"# ifconfig xl0 192.168.0.10 netmask 255.255.255.0\n" +"# route add default 192.168.0.1" + +#. (itstool) path: step/para +#: article.translate.xml:361 +msgid "" +"Now that the machine is on the network, transfer your tar file. You may be " +"faced with a bit of a dilemma at this point - if your flash memory part is " +"128 megabytes, for instance, and your tar file is larger than 64 megabytes, " +"you cannot have your tar file on the flash media at the same time as you " +"explode it - you will run out of space. One solution to this problem, if you " +"are using FTP, is to untar the file while it is transferred over FTP. If you " +"perform your transfer in this manner, you will never have the tar file and " +"the tar contents on your disk at the same time:" +msgstr "" +"Ahora que la máquina está en la red, transfiera su archivo tar. Es posible " +"que se enfrente a un pequeño dilema en este punto - si su memoria flash " +"tiene por ejemplo 128 megabytes, y su archivo tar tiene más de 64 megabytes, " +"no podrá tener el archivo tar en el medio de flash al mismo tiempo que " +"realiza la descompresión - se quedará sin espacio. Una solución a este " +"problema, si está utilizando FTP, es descomprimir el archivo mientras se " +"transfiere por FTP. Si realiza la transferencia de esta forma, nunca tendrá " +"el archivo tar y los contenidos en el disco al mismo tiempo:" + +#. (itstool) path: step/screen +#: article.translate.xml:373 +#, no-wrap +msgid "ftp> get tarfile.tar \"| tar xvf -\"" +msgstr "ftp> get tarfile.tar \"| tar xvf -\"" + +#. (itstool) path: step/para +#: article.translate.xml:375 +msgid "If your tarfile is gzipped, you can accomplish this as well:" +msgstr "" +"Si su archivo tar está comprimido en gzip, puede hacerlo de esta forma:" + +#. (itstool) path: step/screen +#: article.translate.xml:378 +#, no-wrap +msgid "ftp> get tarfile.tar \"| zcat | tar xvf -\"" +msgstr "ftp> get tarfile.tar \"| zcat | tar xvf -\"" + +#. (itstool) path: step/para +#: article.translate.xml:380 +msgid "" +"After the contents of your tarred filesystem are on your flash memory " +"filesystem, you can unmount the flash memory and reboot:" +msgstr "" +"Una vez que el contenido de su sistema de archivos comprimido por tar está " +"en el sistema de archivos de la memoria flash, puede desmontar la memoria " +"flash y reiniciar:" + +#. (itstool) path: step/screen +#: article.translate.xml:384 +#, no-wrap +msgid "" +"# cd /\n" +"# umount /flash\n" +"# exit" +msgstr "" +"# cd /\n" +"# umount /flash\n" +"# exit" + +#. (itstool) path: step/para +#: article.translate.xml:388 +msgid "" +"Assuming that you configured your filesystem correctly when it was built on " +"the normal hard disk (with your filesystems mounted read-only, and with the " +"necessary options compiled into the kernel) you should now be successfully " +"booting your FreeBSD embedded system." +msgstr "" +"Suponiendo que configuró correctamente su sistema de archivos cuando lo " +"construyó en su disco duro normal, (con sus sistemas de archivos montados en " +"modo solo lectura, y con las opciones necesarias compiladas en el kernel) " +"ahora se debería iniciar con éxito su sistema embebido FreeBSD." + +#. (itstool) path: sect1/title +#: article.translate.xml:398 +msgid "System Strategies for Small and Read Only Environments" +msgstr "Estrategias para entornos pequeños y de solo lectura" + +#. (itstool) path: sect1/para +#: article.translate.xml:401 +msgid "" +"In , it was pointed out that the /var filesystem constructed by /etc/rc.d/var and " +"the presence of a read-only root filesystem causes problems with many common " +"software packages used with FreeBSD. In this article, suggestions for " +"successfully running cron, syslog, ports installations, and the Apache web " +"server will be provided." +msgstr "" +"En la , se indicó que el sistema de archivos " +"/var construido por /etc/rc.d/var " +"y la presencia de un sistema de archivos raíz montado en modo solo lectura " +"causa problemas con muchos paquetes de software utilizados en FreeBSD. En " +"este artículo, se proporcionarán sugerencias para ejecutar con éxito cron, " +"syslog, la instalación de ports y el servidor web Apache." + +#. (itstool) path: sect2/title +#: article.translate.xml:410 +msgid "Cron" +msgstr "Cron" + +#. (itstool) path: sect2/para +#: article.translate.xml:412 +msgid "" +"Upon boot, /var gets populated by /etc/rc.d/" +"var using the list from /etc/mtree/BSD.var.dist, so the cron, cron/tabs, " +"at, and a few other standard directories get created." +msgstr "" +"Tras el arranque, /var será llenado con /etc/" +"rc.d/var usando la lista disponible en /etc/mtree/BSD." +"var.dist, por lo que cron, cron/" +"tabs, at y algunos otros directorios " +"estándar son creados." + +#. (itstool) path: sect2/para +#: article.translate.xml:419 +msgid "" +"However, this does not solve the problem of maintaining cron tabs across " +"reboots. When the system reboots, the /var filesystem " +"that is in memory will disappear and any cron tabs you may have had in it " +"will also disappear. Therefore, one solution would be to create cron tabs " +"for the users that need them, mount your / filesystem " +"as read-write and copy those cron tabs to somewhere safe, like /" +"etc/tabs, then add a line to the end of /etc/rc." +"initdiskless that copies those crontabs into /var/cron/" +"tabs after that directory has been created during system " +"initialization. You may also need to add a line that changes modes and " +"permissions on the directories you create and the files you copy with " +"/etc/rc.initdiskless." +msgstr "" +"Sin embargo, esto no resuelve el problema de mantener las cron tabs entre " +"los reinicios. Cuando el sistema se reinicie, el sistema de archivos " +"/var cargado en memoria desaparecerá y todas las cron " +"tabs que tenga también desaparecerán. Por lo tanto, una solución sería crear " +"las cron tabs para los usuarios que las necesiten; monte su sistema de " +"archivos raíz / como lectura-escritura y copie las cron " +"tabs a un lugar seguro, como /etc/tabs, a continuación, " +"añada una entrada al final de /etc/rc.initdiskless que " +"copie estas crontabs a /var/cron/tabs después de que el " +"directorio se cree durante el inicio del sistema. Es posible que también " +"deba añadir una entrada que cambie los modos y permisos en los directorios " +"creados y en los archivos copiados con /etc/rc.initdiskless." + +#. (itstool) path: sect2/title +#: article.translate.xml:437 +msgid "Syslog" +msgstr "Syslog" + +#. (itstool) path: sect2/para +#: article.translate.xml:439 +msgid "" +"syslog.conf specifies the locations of certain log " +"files that exist in /var/log. These files are not " +"created by /etc/rc.d/var upon system initialization. " +"Therefore, somewhere in /etc/rc.d/var, after the " +"section that creates the directories in /var, you will " +"need to add something like this:" +msgstr "" +"syslog.conf especifica las ubicaciones de ciertos " +"ficheros de log que hay en /var/log. Estos archivos no " +"son creados por /etc/rc.d/var durante la inicialización " +"del sistema. Por lo tanto, en algún lugar de /etc/rc.d/var, justo después de la sección que crea los directorios en " +"/var, tendrá que añadir algo como esto:" + +#. (itstool) path: sect2/screen +#: article.translate.xml:448 +#, no-wrap +msgid "" +"# touch /var/log/security /var/log/maillog /var/log/cron /var/log/messages\n" +"# chmod 0644 /var/log/*" +msgstr "" +"# touch /var/log/security /var/log/maillog /var/log/cron /var/log/messages\n" +"# chmod 0644 /var/log/*" + +#. (itstool) path: sect2/title +#: article.translate.xml:453 +msgid "Ports Installation" +msgstr "Instalación de ports" + +#. (itstool) path: sect2/para +#: article.translate.xml:455 +msgid "" +"Before discussing the changes necessary to successfully use the ports tree, " +"a reminder is necessary regarding the read-only nature of your filesystems " +"on the flash media. Since they are read-only, you will need to temporarily " +"mount them read-write using the mount syntax shown in . You should always remount those filesystems read-only when you are " +"done with any maintenance - unnecessary writes to the flash media could " +"considerably shorten its lifespan." +msgstr "" +"Antes de analizar los cambios necesarios para utilizar con éxito el árbol de " +"ports, es necesario recordar que su sistema de archivos en el medio flash es " +"de solo lectura. Dado que es de solo lectura, necesitará montarlo " +"temporalmente en modo lectura-escritura utilizando la sintaxis que se " +"muestra en la . Siempre debe volver a montar estos " +"sistemas de archivos en modo solo lectura cuando haya terminado cualquier " +"mantenimiento - las escrituras innecesarias en el medio flash podrían " +"acortar considerablemente su vida útil." + +#. (itstool) path: para/buildtarget +#: article.translate.xml:466 article.translate.xml:489 +msgid "install" +msgstr "install" + +#. (itstool) path: sect2/para +#: article.translate.xml:464 +msgid "" +"To make it possible to enter a ports directory and successfully run " +"make <_:buildtarget-1/>, we must create a packages " +"directory on a non-memory filesystem that will keep track of our packages " +"across reboots. Because it is necessary to mount your filesystems as read-" +"write for the installation of a package anyway, it is sensible to assume " +"that an area on the flash media can also be used for package information to " +"be written to." +msgstr "" +"Para que sea posible entrar en el directorio de ports y ejecutar con éxito " +"el comando make <_:buildtarget-1/>, debemos crear un " +"directorio para los paquetes en un sistema de archivos que no se encuentre " +"en la memoria para que mantenga nuestros paquetes durante los reinicios. " +"Como es necesario montar sus sistemas de archivos en modo lectura-escritura " +"para la instalación de un paquete, es apropiado suponer que también se puede " +"usar un área en el medio flash para escribir la información del paquete." + +#. (itstool) path: sect2/para +#: article.translate.xml:474 +msgid "" +"First, create a package database directory. This is normally in /" +"var/db/pkg, but we cannot place it there as it will disappear " +"every time the system is booted." +msgstr "" +"Primero, cree el directorio para la base de datos de los paquetes. " +"Normalmente se encuentra en /var/db/pkg, pero no " +"podemos colocarlo allí ya que desaparecerá cada vez que se inicie el sistema." + +#. (itstool) path: sect2/screen +#: article.translate.xml:479 +#, no-wrap +msgid "# mkdir /etc/pkg" +msgstr "# mkdir /etc/pkg" + +#. (itstool) path: sect2/para +#: article.translate.xml:481 +msgid "" +"Now, add a line to /etc/rc.d/var that links the " +"/etc/pkg directory to /var/db/pkg. " +"An example:" +msgstr "" +"Ahora, agregue una línea al archivo /etc/rc.d/var que " +"enlace /etc/pkg a /var/db/pkg. Un " +"ejemplo:" + +#. (itstool) path: sect2/screen +#: article.translate.xml:485 +#, no-wrap +msgid "# ln -s /etc/pkg /var/db/pkg" +msgstr "# ln -s /etc/pkg /var/db/pkg" + +#. (itstool) path: sect2/para +#: article.translate.xml:487 +msgid "" +"Now, any time that you mount your filesystems as read-write and install a " +"package, the make <_:buildtarget-1/> will work, and " +"package information will be written successfully to /etc/pkg (because the filesystem will, at that time, be mounted read-write) " +"which will always be available to the operating system as /var/db/" +"pkg." +msgstr "" +"Ahora, cada vez que monte su sistema de archivos en modo lectura-escritura e " +"instale un paquete, el comando make <_:buildtarget-1/> " +"funcionará, y la información del paquete se escribirá correctamente en " +"/etc/pkg (porque el sistema de archivos, en ese " +"momento, estará montado en modo lectura-escritura) que siempre estará " +"disponible para el sistema operativo como /var/db/pkg." + +#. (itstool) path: sect2/title +#: article.translate.xml:498 +msgid "Apache Web Server" +msgstr "Servidor Web Apache" + +#. (itstool) path: note/para +#: article.translate.xml:501 +msgid "" +"The steps in this section are only necessary if Apache is set up to write " +"its pid or log information outside of /var. By default, " +"Apache keeps its pid file in /var/run/httpd.pid and its " +"log files in /var/log." +msgstr "" +"Los pasos de esta sección solo son necesarios si Apache está configurado " +"para escribir su pid o registro log fuera de /var. Por " +"defecto, Apache guarda su archivo pid en /var/run/httpd.pid y sus registros de log en /var/log." + +#. (itstool) path: sect2/para +#: article.translate.xml:508 +msgid "" +"It is now assumed that Apache keeps its log files in a directory " +"apache_log_dir outside of " +"/var. When this directory lives on a read-only " +"filesystem, Apache will not be able to save any log files, and may have " +"problems working. If so, it is necessary to add a new directory to the list " +"of directories in /etc/rc.d/var to create in /" +"var, and to link apache_log_dir to /var/log/apache. It is also " +"necessary to set permissions and ownership on this new directory." +msgstr "" +"Se supone que Apache guarda sus archivos de logs en un directorio " +"apache_log_dir fuera de " +"/var. Cuando este directorio reside en un sistema de " +"archivos de solo lectura, Apache no puede guardar ningún archivo de log y " +"puede tener problemas para funcionar. Si es así, debe agregar un nuevo " +"directorio al listado de directorios en /etc/rc.d/var a " +"crear en /var y vincular " +"apache_log_dir a /" +"var/log/apache. También es necesario establecer permisos y " +"propietarios a este nuevo directorio." + +#. (itstool) path: sect2/para +#: article.translate.xml:521 +msgid "" +"First, add the directory log/apache to the list of " +"directories to be created in /etc/rc.d/var." +msgstr "" +"En primer lugar, agregue el directorio log/apache a la " +"lista de directorios que se crearán en /etc/rc.d/var." + +#. (itstool) path: sect2/para +#: article.translate.xml:525 +msgid "" +"Second, add these commands to /etc/rc.d/var after the " +"directory creation section:" +msgstr "" +"En segundo lugar, agregue estos comandos a /etc/rc.d/var después de la sección de creación del directorio:" + +#. (itstool) path: sect2/screen +#: article.translate.xml:529 +#, no-wrap +msgid "" +"# chmod 0774 /var/log/apache\n" +"# chown nobody:nobody /var/log/apache" +msgstr "" +"# chmod 0774 /var/log/apache\n" +"# chown nobody:nobody /var/log/apache" + +#. (itstool) path: sect2/para +#: article.translate.xml:532 +msgid "" +"Finally, remove the existing apache_log_dir directory, and replace it with a link:" +msgstr "" +"Por último, elimine el directorio apache_log_dir y reemplácelo por un enlace:" + +#. (itstool) path: sect2/screen +#: article.translate.xml:536 +#, no-wrap +msgid "" +"# rm -rf apache_log_dir\n" +"# ln -s /var/log/apache apache_log_dir" +msgstr "" +"# rm -rf apache_log_dir\n" +"# ln -s /var/log/apache apache_log_dir" Property changes on: head/es_ES.ISO8859-1/articles/solid-state/es_ES.po ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property