From owner-freebsd-doc Mon Aug 12 9:30:17 2002 Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50AEC37B400 for ; Mon, 12 Aug 2002 09:30:08 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E7F8F43E6A for ; Mon, 12 Aug 2002 09:30:07 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7CGU3JU057840 for ; Mon, 12 Aug 2002 09:30:03 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7CGU3Hp057839; Mon, 12 Aug 2002 09:30:03 -0700 (PDT) Date: Mon, 12 Aug 2002 09:30:03 -0700 (PDT) Message-Id: <200208121630.g7CGU3Hp057839@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org Cc: From: Christian Brueffer Subject: Re: docs/40951: Various fixes for the solid-state article Reply-To: Christian Brueffer Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR docs/40951; it has been noted by GNATS. From: Christian Brueffer To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: Subject: Re: docs/40951: Various fixes for the solid-state article Date: Mon, 12 Aug 2002 18:34:44 +0000 Ok, here are two new patches which incorporate the sentence Ceri Davies suggested. The first one contains the actual fixes, the second one contains whitespace fixes. --- article.sgml Thu May 16 03:42:01 2002 +++ article.sgml.modified Mon Aug 12 18:06:27 2002 @@ -134,7 +134,7 @@ First, 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 no the disk will most likely be mounted + 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 @@ -204,7 +204,7 @@ 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 + 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 @@ -290,7 +290,7 @@ by pressing the w key (this is a hidden option on this screen). When presented with a menu to choose a boot manager, take care to select None if you are using an - M-Systems Disk-On-Chip. If you are using a ATA compatible compact + M-Systems Disk-On-Chip. If you are using an ATA compatible compact flash card, you should choose the FreeBSD Boot Manager. Now press the q key to quit the partition menu. You will be shown the boot manager menu once more - repeat the choice you made @@ -333,7 +333,7 @@ of the file from ESDI to DOC2K. Next, regardless of whether you are using Disk-On-Chip or ATA compatible compact flash media, you need to add - an a: line at the end of the file. This a: line + an a: line at the end of the file. This a: line should look like: a: 123456 0 4.2BSD 0 0 @@ -546,14 +546,11 @@ 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 - it is - dangerous to leave them in read-write mode lest a process begin - logging or otherwise writing regularly to the flash media and wearing - it out over time. + filesystems read-only when you are done with any maintenance - unnecessary writes to the flash media could considerably shorten its lifespan. To make it possible to enter a ports directory and successfully run make install, it is necessary for the file - /var/db/port.mkversion to exist, and that it have + /var/db/port.mkversion to exist, and that it has a correct date in it. Further, 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 @@ -599,7 +596,7 @@ Apache keeps pid files and logs in apache_install/logs. - Since this directory no doubt exists on a read-only filesystem, this + Since this directory, without a doubt, exists on a read-only filesystem, this will not work. It is necessary to add a new directory to the /etc/rc.diskless2 list of directories to create in /var, to link --- article.sgml.fixes Mon Aug 12 18:22:46 2002 +++ article.sgml.whitespace Mon Aug 12 18:25:00 2002 @@ -333,8 +333,8 @@ of the file from ESDI to DOC2K. Next, regardless of whether you are using Disk-On-Chip or ATA compatible compact flash media, you need to add - an a: line at the end of the file. This a: line - should look like: + an a: line at the end of the file. This + a: line should look like: a: 123456 0 4.2BSD 0 0 @@ -546,7 +546,9 @@ 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. + filesystems read-only when you are done with any maintenance - + unnecessary writes to the flash media could considerably shorten its + lifespan. To make it possible to enter a ports directory and successfully run make install, it is necessary for the file @@ -596,8 +598,8 @@ Apache keeps pid files and logs in apache_install/logs. - Since this directory, without a doubt, exists on a read-only filesystem, this - will not work. It is necessary to add a new directory to the + Since this directory, without a doubt, exists on a read-only filesystem, + this will not work. It is necessary to add a new directory to the /etc/rc.diskless2 list of directories to create in /var, to link apache_install/logs to - Christian -- http://www.unixpages.org chris@unixpages.org GPG Pub-Key : www.unixpages.org/cbrueffer.asc GPG Fingerprint: 0DB5 8563 2473 C72A A8D1 56EA DAD2 B05D 5F3C 3185 GPG Key ID : DAD2B05D5F3C3185 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message