1 <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V3.1//EN">
8 <title>Free Software Development HOWTO</title>
11 <firstname>Benjamin</firstname>
12 <othername>Mako</othername>
13 <surnamen>Hill</surname>
16 <email>mako@debian.org</email>
24 <revnumber>v0.01</revnumber>
25 <date>1 January 2001</date>
26 <authorinitials>bch</authorinitials>
35 <primary>fswd</primary>
39 This HOWTO is designed for people with experience in programming
40 and some skills in managing a software project but who are new to
41 the world of Free Software. This document is meant to act as a
42 guide to the non-technical aspects of programming and was written
43 to act as a crash course in the people skills that aren't taught
44 to commercial coders but that can make or break a free software
51 <!-- Section1: intro -->
54 <title>Introduction</title>
57 <primary>fswd!introduction</primary>
61 For various reasons, this realease has been codenamed the
62 <emphasis>homade yogurt</emphasis> release.
66 New code names will appear as per industry standard
67 guidelines to emphasize the state-of-the-art-ness of this
72 Skimming through Freshmeat provides mountains of reasons for this
73 HOWTO's existence--the Internet is littered with excellently
74 written and useful programs that have faded away into the Universe
75 of Free Software Forgottenness. This dismal scene made me ask
80 This HOWTO tries to do a lot of thing (probably too many), but it
81 can't answer that question and won't attempt it. What this HOWTO
82 will attempt to do is give your Free Software project a fighting
83 chance-an edge. If you write a piece of crap that no one is
84 interested in, you can read this HOWTO until you recite it in your
85 sleep and your project will probably fail. Then again, you can
86 write a beautiful, relevent piece of software and follow every
87 instruction in this HOWTO and your software may still not make
88 it. Sometimes life is like that. However, I'll go out a limb and
89 say that if you write a great, relevant pieces of software and
90 ignore the advise in this HOWTO, you'll probably fail <emphasis>
91 more often</emphasis>.
95 A lot of the information in this HOWTO is best called common
96 sense. Of course, as any debate on interfaces will prove, what is
97 common sense to some programmers proves totally unintuitive to
98 others. After explaining bites and pieces of this HOWTO to Free
99 Software developers on several occasions, I realized that that
100 writing this HOWTO might provide a useful resource and a forum for
101 programmers to share ideas about what has and has not worked for
110 As anyone involved in any of what seems like an unending parade of
111 ridiculous intellectual property clashes will attest to, a little
112 bit of legalese proves important.
115 <!-- Section2: copyright -->
117 <sect2 id="copyright">
118 <title>Copyright Information</title>
121 This document is copyrighted (c) 2000 Stein Gjoen and is
122 distributed under the terms of the Linux Documentation Project
123 (LDP) license, stated below. <emphasis>Replace with your name,
124 or supply a new license, when you use this skeleton for a new
129 Unless otherwise stated, Linux HOWTO documents are
130 copyrighted by their respective authors. Linux HOWTO documents may
131 be reproduced and distributed in whole or in part, in any medium
132 physical or electronic, as long as this copyright notice is
133 retained on all copies. Commercial redistribution is allowed and
134 encouraged; however, the author would like to be notified of any
139 All translations, derivative works, or aggregate works
140 incorporating any Linux HOWTO documents must be covered under this
141 copyright notice. That is, you may not produce a derivative work
142 from a HOWTO and impose additional restrictions on its
143 distribution. Exceptions to these rules may be granted under
144 certain conditions; please contact the Linux HOWTO coordinator at
145 the address given below.
149 In short, we wish to promote dissemination of this
150 information through as many channels as possible. However, we do
151 wish to retain copyright on the HOWTO documents, and would like to
152 be notified of any plans to redistribute the HOWTOs.
156 If you have any questions, please contact
157 <email>linux-howto@metalab.unc.edu</email>
161 <!-- Section2: disclaimer -->
163 <sect2 id="disclaimer">
164 <title>Disclaimer</title>
167 No liability for the contents of this documents can be accepted.
168 Use the concepts, examples and other content at your own risk.
169 As this is a new edition of this document, there may be errors
170 and inaccuracies, that may of course be damaging to your system.
171 Proceed with caution, and although this is highly unlikely,
172 the author(s) do not take any responsibility for that.
176 All copyrights are held by their by their respective owners, unless
177 specifically noted otherwise. Use of a term in this document
178 should not be regarded as affecting the validity of any trademark
183 Naming of particular products or brands should not be seen
188 You are strongly recommended to take a backup of your system
189 before major installation and backups at regular intervals.
193 <!-- Section2: newversions-->
195 <sect2 id="newversions">
196 <title>New Versions</title>
199 <primary>(your index root)!news on</primary>
203 This is the initial release. It is written to be released to
204 developers for critique and brainstorming and submitted to
205 Hampshire College for academic credit. Please keep in mind that
206 this version of the HOWTO is still in an infant stage and will be
207 revised extensively before it hits the LDP.
211 The latest version number of this document should always be listed
212 at my webpage at<ulink url="http://people.debian.org/~mako/">
213 http://people.debian.org/~mako/</unlink> Debian.
217 The newest version of this HOWTO will always be made available at
218 the same website, in a variety of formats:
225 <ulink url="http://people.debian.org/fswd-howto.html">HTML</ulink>.
231 <ulink URL="http://people.debian.org/fswd-howto.txt">plain text</ulink>.
237 <ulink url="http://people.debian.org/fswd-howto.US.ps.gz">compressed
238 postscript (US letter format)</ulink>.
244 <ulink url="http://people.debian.org/fswd-howto.UF.ps.gz">compressed
245 postscript (Universal format / 8.27x11in; 210x279mm)</ulink>.
251 <ulink url="http://people.debian.org/fswd-howto.sgml">SGML source</ulink>.
257 <!-- Section2: credits -->
260 <title>Credits</title>
263 <emphasis>It is always nice to acknowledge people who help you
264 with input; it is also regarded by many as important in the
265 Linux world new economy.</emphasis>
269 In this version I have the pleasure of acknowledging:
273 <email>name (at) site.org</email>
277 <emphasis>Please scramble the addresses so email harvesters
278 cannot get addresses from your HOWTO and then spam people. That
279 has happened in the past.</emphasis>
283 <emphasis>Somecompany</emphasis> is acknowledged for sending me
284 documentation on their gizmos as well as permission to quote from
285 the material. These quotes have been approved before appearing
286 here and will be clearly labeled.
290 <!-- Section2: feedback -->
292 <sect2 id="feedback">
293 <title>Feedback</title>
296 Feedback is most certainly welcome for this document. Without
297 your submissions and input, this document wouldn't exist. Please
298 send your additions, comments and criticisms to the following
299 email address : <email>sgjoen@nyx.net</email>.
303 <!-- Section2: translations -->
305 <sect2 id="translations">
306 <title>Translations</title>
309 Not everyone speaks English, pointers to translations are nice.
310 Also your translators tend to give very important inputs.
318 <ulink url="http://linuxdoc.org/">German Translation</ulink>
319 by <email>someone (at) somewhere.de</email>
325 <ulink url="http://linuxdoc.org/">French Translation</ulink>
326 by <email>someone (at) somewhere.fr</email>
332 <ulink url="http://linuxdoc.org/">Italian Translation</ulink>
333 by <email>someone (at) somewhere.it</email>
342 <!-- Section1: intro: END -->
344 <!-- Section1: starting -->
346 <sect1 id="starting">
347 <title>Starting a Project</title>
349 <!-- Section2: chooseproject-->
351 <sect2 id="chooseproject">
352 <title>Choosing a Project</title>
355 <!-- Section2: chooselicense-->
357 <sect2 id="chooselicense">
358 <title>Deciding on a License</title>
361 <!-- Section2: chooseversioning-->
363 <sect2 id="chooseversioning">
364 <title>Choosing a Method of Version Numbering</title>
367 <!-- Section2: documentation-->
369 <sect2 id="documentation">
370 <title>Documentation</title>
373 <!-- Section2: presentation -->
375 <sect2 id="presentation">
376 <title>Other Presentation Issues</title>
379 <!-- Section2: futuredev -->
381 <sect2 id="futuredev">
382 <title>Nuturing Future Development</title>
387 <!-- Section1: starting: END -->
389 <!-- Section1: developers -->
391 <sect1 id="developers">
392 <title>Maintaining a Project: Interacting with Developers</title>
394 <!-- Section2: delegation -->
396 <sect2 id="delegation">
397 <title>Delegating Work</title>
400 <!-- Section2: branches -->
402 <sect2 id="branches">
403 <title>Stable and Development Branches</title>
406 <!-- Section2: freezing -->
408 <sect2 id="freezing">
409 <title>Freezing</title>
412 <!-- Section2: codecram -->
414 <sect2 id="codecram">
415 <title>Avoiding the Code Cram Effect</title>
418 <!-- Section2: patching -->
420 <sect2 id="patching">
421 <title>Accepting and Rejecting Patches</title>
425 <!-- Section1: users -->
428 <title>Maintaining a Project: Interacting with Users</title>
430 <!-- Section2: announcing -->
432 <sect2 id="announcing">
433 <title>Announcing Your Project</title>
436 <!-- Section2: testing -->
439 <title>Testing and Testers</title>
443 <!-- Section1: samples -->
446 <title>Samples</title>
449 <emphasis>This section gives some simple SGML examples you could
450 use. Read the SGML source to see how it was done.</emphasis>
454 Further information and examples can be obtained from the publication
455 <ulink url="http://docbook.org/tdg/html/">DocBook: The Definitive
456 Guide</ulink>. Written by <emphasis>Norman Walsh</emphasis>
457 and <emphasis>Leonard Muellner</emphasis>; 1st Edition, October 1999.
460 <!-- Section2: lists -->
466 <emphasis>Lists are used frequently, and are available in a number
467 of formats shown below.</emphasis>
471 A list in which each entry is marked with a bullet or other dingbat:
493 A list in which each entry is composed of a set of one or more
494 terms and an associated description:
503 <para>such as apples, oranges, and more.</para>
510 <para>Don't eat too many; you are what you eat.</para>
515 <term>Vegetables</term>
517 <para>Potatos are spelled with care.</para>
525 A list in which each entry is marked with a sequentially
533 <para>Step one</para>
537 <para>Step two</para>
544 <!-- Section2: links -->
550 <emphasis>Links can be used within your documents to refer to
551 different sections and chapters or to refer to documents external
555 <sect3 id="int-links">
556 <title>Internal links</title>
559 Click on the <xref LinkEnd="samples"> link to jump to the top of
560 this chapter. Note the anchor at the section tag.
564 <sect3 id="ext-links">
565 <title>External links</title>
568 Click on <ulink url="http://www.linuxdoc.org/">this</ulink> link
569 to jump to the LDP site. Note you can use http, ftp, news and
570 other protocols in the locator if required.
576 <!-- Section2: images -->
579 <title>Images</title>
582 <emphasis>Avoid diagrams if possible as this cannot be rendered
583 in the ASCII outputs which are still needed by many around the
589 <title>Graphics Test Image</title>
590 <graphic FileRef="red.gif"></graphic>
595 Here is another variation which allows for ALT text:
602 <imagedata fileref="green.gif" format="gif">
607 ALT text to be used: Green Ball
613 Caption for the graphic goes here: This is a Green Ball.
622 <!-- Section1: samples: END -->
625 <!-- Section1: structure -->
627 <sect1 id="structure">
628 <title>Structure</title>
631 <emphasis>A quick overview on how all parts fit together in the overall
632 structure. An example from the Multi Disk HOWTO is used.</emphasis>
636 As this type of document is supposed to be as much for learning as
637 a technical reference document I have rearranged the structure to
638 this end. For the designer of a system it is more useful to have
639 the information presented in terms of the goals of this exercise
640 than from the point of view of the logical layer structure of the
641 devices themselves. Nevertheless this document would not be
642 complete without such a layer structure the computer field is so
643 full of, so I will include it here as an introduction to how it
647 <!-- Section2: logical-struct -->
649 <sect2 id="logical-struct">
650 <title>Logical structure</title>
653 <primary>disk!structure, I/O subsystem</primary>
657 This is based on how each layer access each other, traditionally
658 with the application on top and the physical layer on the bottom.
659 It is quite useful to show the interrelationship between each of
660 the layers used in controlling drives.
663 ___________________________________________________________
664 |__ File structure ( /usr /tmp etc) __|
665 |__ File system (ext2fs, vfat etc) __|
666 |__ Volume management (AFS) __|
667 |__ RAID, concatenation (md) __|
668 |__ Device driver (SCSI, IDE etc) __|
669 |__ Controller (chip, card) __|
670 |__ Connection (cable, network) __|
671 |__ Drive (magnetic, optical etc) __|
672 -----------------------------------------------------------
677 In the above diagram both volume management and RAID and
678 concatenation are optional layers. The 3 lower layers are in
679 hardware. All parts are discussed at length later on in this
684 <!-- Section2: doc-struct -->
686 <sect2 id="doc-struct">
687 <title>Document structure</title>
690 Most users start out with a given set of hardware and some plans
691 on what they wish to achieve and how big the system should be.
692 This is the point of view I will adopt in this document in
693 presenting the material, starting out with hardware, continuing
694 with design constraints before detailing the design strategy that
695 I have found to work well. I have used this both for my own
696 personal computer at home, a multi purpose server at work and
697 found it worked quite well. In addition my Japanese co-worker in
698 this project have applied the same strategy on a server in an
699 academic setting with similar success.
703 Finally at the end I have detailed some configuration tables for
704 use in your own design. If you have any comments regarding this
705 or notes from your own design work I would like to hear from you
706 so this document can be upgraded.
710 <!-- Section2: reading-plan -->
712 <sect2 id="reading-plan">
713 <title>Reading plan</title>
716 <emphasis>As you go beyond 50 pages or so there will be a lot of
717 text that experts and even the experienced do not need to read.
718 Keeping in mind that we wish to care for all kinds of people in
719 the Linux world we might have to make a reading plan. Again,
720 an example follows from the Multi Disk HOWTO.</emphasis>
724 Although not the biggest HOWTO it is nevertheless rather big
725 already and I have been requested to make a reading plan to make
726 it possible to cut down on the volume.
736 (aka the elite). If you are familiar with Linux as well as
737 disk drive technologies you will find most of what you need in
738 the appendices. Additionally you are recommended to read the
739 FAQ and the <XRef LinkEnd="bits-n-pieces">chapter.
745 <term>Experienced</term>
748 (aka Competent). If you are familiar with computers in
749 general you can go straight to the chapters on
750 <XRef LinkEnd="technologies"> and continue from there on.
759 (mostly harmless). You just have to read the whole thing.
760 Sorry. In addition you are also recommended to read all the
761 other disk related HOWTOs.
772 <!-- Section1: structure: END -->
775 <!-- Section1: technologies -->
777 <sect1 id="technologies">
778 <title>Technologies</title>
781 <primary>(your index root)!technologies</primary>
785 <emphasis>Introduction of technology for the newbie with a few
786 references to detailed works. Remember that not everyone has
787 Internet access so you have to explain in sufficient details so
788 even the newbie can get by.</emphasis>
793 <!-- Section1: technologies: END -->
796 <!-- Section1: implement -->
798 <sect1 id="implement">
799 <title>Implementation</title>
802 <primary>(your index root)!implementation</primary>
806 <emphasis>Now your readers should have a sufficient knowledge of
807 what this is about and now we come to the hands on of implementing
808 your clever scheme.</emphasis>
813 <!-- Section1: implement: END -->
816 <!-- Section1: maint -->
819 <title>Maintenance</title>
822 <primary>(your index root)!maintenance</primary>
826 <emphasis>Few systems and designs are maintenance free, here you
827 explain how to keep the system running.</emphasis>
832 <!-- Section1: maint: END -->
835 <!-- Section1: adv-issues -->
837 <sect1 id="adv-issues">
838 <title>Advanced Issues</title>
841 <primary>(your index root)!advanced topics</primary>
845 <emphasis>You can get most things up and running in a quick and
846 dirty fashion, useful for testing and getting used to how things
847 work. For more serious use you would need to be a little more
848 advanced. This is the place to explain it all, if applicable.</emphasis>
853 <!-- Section1: adv-issues: END -->
856 <!-- Section1: moreinfo -->
858 <sect1 id="moreinfo">
859 <title>Further Information</title>
862 <primary>(your index root)!information resources</primary>
866 <emphasis>A HOWTO cannot describe everything, some times the user
867 has to venture out on th enet to get more information or just
868 updates. Here is the place to tell where and how. Again examples
869 from the Multi Disk HOWTO, replace as needed.</emphasis> There is wealth
870 of information one should go through when setting up a major system,
871 for instance for a news or general Internet service provider. The
872 FAQs in the following groups are useful:
875 <!-- Section2: newsgroups -->
877 <sect2 id="newsgroups">
878 <title>News groups</title>
881 <primary>disk!information resources!news groups</primary>
884 <para>Some of the most interesting news groups are:
890 <ulink url="news:comp.arch.storage">Storage</ulink>.
896 <ulink url="news:comp.sys.ibm.pc.hardware.storage">PC storage</ulink>.
902 <ulink url="news:alt.filesystems.afs">AFS</ulink>.
908 <ulink url="news:comp.periphs.scsi">SCSI</ulink>.
914 <ulink url="news:comp.os.linux.setup">Linux setup</ulink>.
922 Most newsgroups have their own FAQ that are designed to answer most
923 of your questions, as the name Frequently Asked Questions indicate.
924 Fresh versions should be posted regularly to the relevant newsgroups.
925 If you cannot find it in your news spool you could go directly to the
926 <ulink url="ftp://rtfm.mit.edu/">FAQ main archive FTP site</ulink>.
927 The WWW versions can be browsed at the
928 <ulink url="http://www.cis.ohio-state.edu/hypertext/faq/usenet/FAQ-List.html">FAQ
929 main archive WWW site</ulink>.
933 Some FAQs have their own home site, of particular interest:
939 <ulink url="http://www.paranoia.com/~filipg/HTML/LINK/F_SCSI.html">SCSI FAQ</ulink>
946 <ulink url="http://alumni.caltech.edu/~rdv/comp_arch_storage/FAQ-1.html">comp.arch.storage FAQ</ulink>.
954 <!-- Section2: maillists -->
956 <sect2 id="maillists">
957 <title>Mailing Lists</title>
960 <primary>disk!information resources!mailing lists</primary>
964 These are low-noise channels mainly for developers. Think twice
965 before asking questions there as noise delays the development.
966 Some relevant lists are <email>linux-raid</email>,
967 <email>linux-scsi</email> and <email>linux-ext2fs</email>. Many
968 of the most useful mailing lists run on the <Literal
969 remap="tt">vger.rutgers.edu</Literal> server but this is
970 notoriously overloaded, so try to find a mirror. There are some
971 lists mirrored at <ulink url="http://www.redhat.com">The Redhat
972 Home Page</ulink>. Many lists are also accessible at <ulink
973 url="http://www.linuxhq.com/lnxlists">linuxhq</ulink>, and the
974 rest of the web site contains useful information as well.
978 If you want to find out more about the lists available you can send
979 a message with the line <command>lists</command> to the list server
980 at <email>majordomo@vger.rutgers.edu</email>.
981 If you need help on how to use the mail server just send the line
982 <command>help</command> to the same address. Due to the
983 popularity of this server it is likely it takes a bit to time before
984 you get a reply or even get messages after you send a
985 <command>subscribe</command> command.
989 There is also a number of other majordomo list servers that can
990 be of interest such as the EATA driver list
991 (<email>linux-eata@mail.uni-mainz.de</email>)
992 and the Intelligent IO list <email>linux-i2o@dpt.com</email>.
996 Mailing lists are in a state of flux but you can find links to a
997 number of interesting lists from the
998 <ulink url="http://www.linuxdoc.org/">Linux Documentation
1003 <!-- Section2: howto -->
1006 <title>HOWTO</title>
1009 <primary>disk!information resources!HOWTOs</primary>
1013 These are intended as the primary starting points to get the
1014 background information as well as show you how to solve a
1015 specific problem. Some relevant HOWTOs are
1016 <Literal remap="tt">Bootdisk</Literal>,
1017 <Literal remap="tt">Installation</Literal>,
1018 <Literal remap="tt">SCSI</Literal> and
1019 <Literal remap="tt">UMSDOS</Literal>. The main site for these is the
1020 <ulink url="http://www.linuxdoc.org/">LDP archive</ulink>at
1021 Metalab (formerly known as Sunsite).
1025 There is a a new HOWTO out that deals with setting up a DPT RAID
1026 system, check out the
1027 <ulink url="http://www.ram.org/computing/linux/dpt_raid.html">DPT RAID
1028 HOWTO homepage</ulink>.
1032 <!-- Section2: local-res -->
1034 <sect2 id="local-res">
1035 <title>Local Resources</title>
1038 <primary>disk!information resources!local</primary>
1042 In most distributions of Linux there is a document directory
1043 installed, have a look in the <filename>/usr/doc</filename>
1044 directory. where most packages store their main documentation and
1045 README files etc. Also you will here find the HOWTO archive
1046 (<filename>/usr/doc/HOWTO</filename>) of ready formatted HOWTOs
1047 and also the mini-HOWTO archive
1048 (<filename>/usr/doc/HOWTO/mini</filename>) of plain text
1053 Many of the configuration files mentioned earlier can be found in
1054 the <filename>/etc</filename> directory. In particular you will
1055 want to work with the <filename>/etc/fstab</filename> file that
1056 sets up the mounting of partitions and possibly also
1057 <filename>/etc/raidtab</filename> file that is used for the
1058 <Literal remap="tt">md</Literal> system to set up RAID.
1062 The kernel source in <filename>/usr/src/linux</filename> is, of
1063 course, the ultimate documentation. In other words, <quote>use
1064 the source, Luke</quote>. It should also be pointed out that the
1065 kernel comes not only with source code which is even commented
1066 (well, partially at least) but also an informative
1067 <filename>/usr/src/linux/Documentation</filename>. If you are
1068 about to ask any questions about the kernel you should read this
1069 first, it will save you and many others a lot of time and
1070 possibly embarrassment.
1074 Also have a look in your system log file
1075 (<filename>/var/log/messages</filename>) to see what is going on
1076 and in particular how the booting went if too much scrolled off
1077 your screen. Using <command>tail -f /var/log/messages</command>
1078 in a separate window or screen will give you a continuous update
1079 of what is going on in your system.
1083 You can also take advantage of the <filename>/proc</filename>
1084 file system that is a window into the inner workings of your
1085 system. Use <command>cat</command> rather than
1086 <command>more</command> to view the files as they are reported as
1087 being zero length. Reports are that <command>less</command> works
1092 <!-- Section2: web -->
1095 <title>Web Sites</title>
1098 <primary>disk!information resources!WWW</primary>
1101 <primary>disk!information resources!web pages</primary>
1105 There are a huge number of informative web sites available. By
1106 their very nature they change quickly so do not be surprised
1107 if these links become quickly outdated.
1111 A good starting point is of course the
1112 <ulink url="http://www.linuxdoc.org/">Linux Documentation
1113 Project</ulink> home page, an information central for
1114 documentation, project pages and much more.
1118 Please let me know if you have any other leads that can be
1125 <!-- Section1: moreinfo: END -->
1128 <!-- Section1: help -->
1131 <title>Getting Help</title>
1134 <primary>(your index root)!assistance, obtaining</primary>
1138 In the end you might find yourself unable to solve your problems
1139 and need help from someone else. The most efficient way is either
1140 to ask someone local or in your nearest Linux user group, search
1141 the web for the nearest one.
1145 Another possibility is to ask on Usenet News in one of the many,
1146 many newsgroups available. The problem is that these have such a
1147 high volume and noise (called low signal-to-noise ratio) that your
1148 question can easily fall through unanswered.
1152 No matter where you ask it is important to ask well or you will
1153 not be taken seriously. Saying just <emphasis remap="it">my disk
1154 does not work</emphasis> is not going to help you and instead the
1155 noise level is increased even further and if you are lucky someone
1156 will ask you to clarify.
1160 Instead describe your problems in some detail that will enable
1161 people to help you. The problem could lie somewhere you did not
1162 expect. Therefore you are advised to list the following information
1170 <term>Hardware</Term>
1175 <para>Processor</para>
1187 <para>Chip set (LX, BX etc)</para>
1191 <para>Bus (ISA, VESA, PCI etc)</para>
1196 Expansion cards used (Disk controllers, video, IO
1207 <term>Software</term>
1213 <para>BIOS (On motherboard and possibly SCSI host adapters)</para>
1217 <para>LILO, if used</para>
1222 Linux kernel version as well as possible modifications
1228 <para>Kernel parameters, if any</para>
1233 Software that shows the error (with version number
1245 <term>Peripherals</term>
1252 Type of disk drives with manufacturer name, version and type
1257 <para>Other relevant peripherals</para>
1269 Remember that booting text is logged to
1270 <filename>/var/log/messages</filename> which can answer most of
1271 the questions above. Obviously if the drives fail you might not be
1272 able to get the log saved to disk but you can at least scroll
1273 back up the screen using the <keycap>SHIFT</keycap> and
1274 <keycap>PAGE UP</keycap> keys. It may also be useful to include
1275 part of this in your request for help but do not go overboard,
1276 keep it <emphasis>brief</emphasis> as a complete log file dumped
1277 to Usenet News is more than a little annoying.
1282 <!-- Section1: help: END -->
1285 <!-- Section1: remarks -->
1287 <sect1 id="remarks">
1288 <title>Concluding Remarks</title>
1291 <primary>(your index root)!conclusion</primary>
1295 <emphasis>Just summing up... Also a place for general
1296 recommendations.</emphasis>
1301 <!-- Section1: remarks: END -->
1304 <!-- Section1: faq -->
1307 <title>Questions and Answers</title>
1310 <primary>(your index root)!FAQ</primary>
1313 <primary>(your index root)!frequently asked questions</primary>
1317 <emphasis>Check the newsgroups and try to determine some frequent
1318 problems and cover them here. Again an example from the Multi Disk
1323 This is just a collection of what I believe are the most common
1324 questions people might have. Give me more feedback and I will turn
1325 this section into a proper FAQ.
1332 Q:How many physical disk drives (spindles) does a Linux system need?
1336 A: Linux can run just fine on one drive (spindle). Having
1337 enough RAM (around 32 MB, and up to 64 MB) to support swapping
1338 is a better price/performance choice than getting a second
1339 disk. (E)IDE disk is usually cheaper (but a little slower) than
1346 Q: Are there any disadvantages in this scheme?
1350 A: There is only a minor snag: if even a single partition
1351 overflows the system might stop working properly. The severity
1352 depends of course on what partition is affected. Still this is
1353 not hard to monitor, the command <command>df</command> gives
1354 you a good overview of the situation. Also check the swap
1355 partition(s) using <command>free</command> to make sure you are
1356 not about to run out of virtual memory.
1362 Q: OK, so should I split the system into as many partitions as
1363 possible for a single drive?
1367 A: No, there are several disadvantages to that. First of all
1368 maintenance becomes needlessly complex and you gain very little
1369 in this. In fact if your partitions are too big you will seek
1370 across larger areas than needed. This is a balance and
1371 dependent on the number of physical drives you have.
1378 Greg Leblanc: Depending on how big this FAQ gets, perhaps it
1379 would be worthwhile to have, say, the 5 most FAQ, and put the
1380 rest into an external FAQ. Dunno. Comments?
1383 <emphasis>(rest deleted.)</emphasis>
1388 <!-- Section1: faq: END -->
1391 <!-- Section1: bits-n-pieces -->
1393 <sect1 id="bits-n-pieces">
1394 <title>Bits and Pieces </title>
1397 <primary>disk!miscellaneous</primary>
1401 This is basically a section where I stuff all the bits I have not
1402 yet decided where should go, yet that I feel is worth knowing
1403 about. It is a kind of transient area.
1408 <!-- Section1: bits-n-pieces: END -->
1411 <!-- Section1: examples -->
1413 <sect1 id="examples">
1414 <title>Examples</title>
1417 <primary>(your index root)!examples</primary>
1421 <emphasis>Example designs and sample configuration files and other
1422 relevant details is always handy</emphasis>
1427 <!-- Section1: examples: END -->
1431 <!-- Keep this comment at the end of the file
1436 sgml-namecase-general:t
1437 sgml-general-insert-case:lower
1438 sgml-minimize-attributes:nil
1439 sgml-always-quote-attributes:t
1441 sgml-indent-data:nil
1442 sgml-parent-document:nil
1443 sgml-exposed-tags:nil
1444 sgml-local-catalogs:nil
1445 sgml-local-ecat-files:nil