Commit graph

348 commits

Author SHA1 Message Date
Alexander Langer
b73ba86320 Block-devices are obsolete. 2000-12-04 11:34:57 +00:00
John Baldwin
9b75bcbfaa Add a new chapter to the kernel section that will eventually document all
of the locks used to make the kernel MP safe.
2000-11-29 04:15:17 +00:00
Jeroen Ruigrok van der Werven
e1fe303667 Split off PCI chapter.
Submitted by:	murray
2000-11-28 19:07:46 +00:00
Jeroen Ruigrok van der Werven
fc669e67ec Split off the driversbasic chapter and put it in its own file.
Submitted by:	murray
2000-11-28 19:04:09 +00:00
Jeroen Ruigrok van der Werven
1ac9fc70ea Split the secure programming section off into it's own file.
Submitted by:	murray
2000-11-28 18:31:39 +00:00
Jeroen Ruigrok van der Werven
57f0c002c6 Split off the tools section into its own directory.
Asked for by:	murray
2000-11-28 18:21:36 +00:00
Jeroen Ruigrok van der Werven
53842b289f Add the chapters entity file for the Developer's Handbook.
Submitted by:	murray
2000-11-28 18:03:54 +00:00
Murray Stokely
eeb803f1dc Integrate James Raynard's programming tutorial into the Developer's Hanbook.
I was unable to contact James to ask for his permission.

Discussed on: -doc
2000-11-16 19:02:53 +00:00
Dag-Erling Smørgrav
2c9f882842 Minor wording tweak. 2000-11-15 12:42:07 +00:00
Dag-Erling Smørgrav
a43d4233ca Update the description of how to load modules in gdb, and separate it from
the section on remote debugging since it also applies to crash dumps.  Thanks
to grog for his gdb macros, which pointed me in the right direction.

Reviewed by:	nik
2000-11-15 12:40:05 +00:00
Joseph Koshy
48531a3b88 GDB now needs an explicit `-k' option to switch to kernel debugging mode. The
tactic of invoking GDB under the name of `kgdb' has not worked for a while.
Correct the `Kernel Debugging' chapter of the Handbook to reflect this change.

Reviewed by:	ben
2000-11-07 09:08:11 +00:00
Murray Stokely
a86ed65644 Added chapter on secure programming in basics section and added a
bibliography.
2000-11-06 13:52:26 +00:00
Murray Stokely
87fddebcea First significant batch of content for the Developer's Handbook.
* Added introductory content for device driver chapter.
   * Included some example pseudo device drivers with (not-enough) commentary.
   * Added new chapters to the framework
   * Included pointers to more information in some of the unwritten chapters.
2000-11-06 10:22:11 +00:00
Alexey Zelkin
d727224850 Fix kerberos release number: s/V/5 2000-10-06 15:36:45 +00:00
Murray Stokely
376c5138c6 Following asmodai's nice skeleton of the developers' handbook, this
change adds a section to Chapter 4 on the layout of /usr/src.
2000-10-03 07:34:34 +00:00
Chris Costello
8f61bed60b Properly capitalize section <title> tags. 2000-08-20 17:18:43 +00:00
Jeroen Ruigrok van der Werven
e39773fe6a Add the initial skeleton of the Developers' Handbook. 2000-07-30 18:20:23 +00:00
Ben Smithurst
9116abfe00 Update the bit about stripping the kernel:
* stripping is done automatically now
* ELF kernels don't need to have the full debug symbol table loaded.

PR:		19648
Submitted by:	Jeff Blaine <jblaine@mitre.org>
Reviewed by:	grog, nik
2000-07-14 21:57:34 +00:00
Jim Mock
dfefe8d45b The third, and final episode in the attack of the spelling police series.
Well, at least for now anyway :-)
2000-06-14 20:30:40 +00:00
Jim Mock
370586999f Attack of the spelling police, part II. 2000-06-14 00:47:37 +00:00
Jim Mock
3302fdee27 Change &ldquo;...&rdquo; to <quote>...</quote> as per a discussion on
-doc.

Suggested by:	nik
2000-06-08 01:56:23 +00:00
Chris Costello
9d66d5d223 Properly capitalize section titles. Remove capitalization on `is'', `and'',
etc.  Capitalize all other words in titles.

Reviewed by:	jim
2000-04-03 02:15:43 +00:00
Neil Blakey-Milner
7bbaccde07 While I'm looking for ugly filenames, add a nice filename for
contributed software policies.
2000-03-25 17:02:35 +00:00
Martin Cracauer
6e041c10c0 Note that serial gdb is not necessarily on first serial port,
but on that one with sio flags 0x80 in kernel config.
1999-12-16 16:04:24 +00:00
Nik Clayton
f1149f86ae Replace reference to diediedie() with one to panic.
PR:             docs/14112
Submitted by:   Thierry.Besancon@lps.ens.fr
Patch from:     ru
1999-12-16 01:53:05 +00:00
Jesus Rodriguez Cuesta
7299e0152d Add a forgotten "</para>" 1999-11-15 21:17:20 +00:00
David E. O'Brien
f92d0dc446 Minorly update for ELF. 1999-11-15 04:42:59 +00:00
Chris Costello
7cfb0ff20b Rid blank lines of whitespace.
(Translation teams:  You can ignore this commit.)
1999-11-07 01:54:56 +00:00
Peter Wemm
5ff728b8ca $Id$ -> $FreeBSD$ 1999-09-06 06:53:43 +00:00
Nik Clayton
122d319794 "../handbook.sgml" -> "../book.sgml" in Emacs local variables section. 1999-08-23 21:24:10 +00:00
Nik Clayton
f18b900b84 Fix many typos. Much kudos to the submitter for this effort.
PR:             docs/12956
Submitted by:   Neil Blakey-Milner <nbm@rucus.ru.ac.za>
1999-08-05 20:48:25 +00:00
Nik Clayton
838f8740b9 Any variant on "freebsd.org" (all cases) mapped to "FreeBSD.org".
PR:             docs/12842
Submitted by:   Chris Costello <chris@calldei.com>
1999-07-28 20:23:32 +00:00
Nik Clayton
9cc9facec2 A new section explaining the policy on encumbered files in the source
tree.  Based on text from phk, and run through the txt2docbook filter.
1999-07-07 00:00:18 +00:00
Nik Clayton
419cffe7ba Update information on how to build a debug kernel, fix a typo and
a contraction.

PR:             docs/11849
Submitted by:   chris@calldei.com
1999-05-29 12:55:39 +00:00
David E. O'Brien
c9769af30f It appears "-g" is now the right option to ``strip'' rather than "-d". 1999-05-22 16:36:02 +00:00
Greg Lehey
b607de5d28 Remove <blockquote> tag around quoted screen output.
Prodded-by:	nik
1999-04-12 04:41:20 +00:00
Greg Lehey
e080c1791b Tidy up displays so that they fit onto a printed page (sort of). 1999-04-06 01:26:25 +00:00
Nik Clayton
10b0b0a21e Add SGML comments at the top of the files with the $Id$ string. Remove
most of the other spurious comments.

Two comments relating to copyright have *not* been merged in from the
LinuxDoc version yet -- I've contacted the original authors to ask if
they would be willing to assign the copyright to the project. When I
get their response the copyright comments will either be merged in, or
left out, as necessary.
1999-03-08 22:04:49 +00:00
Nik Clayton
1e28ab5a96 Huge whitespace changes. Translators can ignore this commit completely.
Rationale: All the changes to the DocBook handbook so far have been
careful to keep whitespace changes to a minimum. This is so the
translators have as easy a job as possible in identifying exactly what's
changed.

This has meant the English version has become more and more 'ugly'. Lines
indented by the wrong amount, some lines longer than 130 characters,
others shorter than 20, gaps of 3 or 4 lines between paragraphs (and
sometimes within paragraphs). This makes it difficult to follow the
structure of the document, and needlessly complicates fixing SGML
problems.

It also makes the source practically useless as a teaching aid; the
more baroque the source looks, the less likely people are to dive in and
contribute.

This commit fixes all that -- and boy was it tedious. The snag is, it's
touched almost every line in every file in the Handbook.

Technically, the changes were made by running (in Emacs)
sgml-indent-or-tab (bound to the TAB key) on almost each line (except
those in <programlisting>, <screen>, <literallayout>, and other
verbatim sections), and then running sgml-fill-element (bound to
C-c C-q) on most paragraphs.

FWIW, this is the first, only, and last change of this type contemplated.
1999-03-07 21:26:43 +00:00
Nik Clayton
62a7d13816 Created a new set of entities for manual pages.
The construct:

    <citerefentry>
      <refentrytitle>foobar</refentrytitle>
      <manvolnum>1</manvolnum>
    </citerefentry>

is a pain to type, and messes up the pretty-printing of the source code.
Replace every occurence of a entry like that with:

    &man.foobar.1;

Adjusting the manual page name and section number appropriately.

The definitions for these entities are stored in man-refs.ent. This
file is in doc/share/sgml because it is not just specific to the Handbook.
I expect the DocBook'd FAQ and Tutorials (coming RSN) to use them as
well.

A new PUBLIC identifier has been created for these entities, and added to
the catalog file.
1999-03-07 16:32:22 +00:00
Nik Clayton
fe79ecbe4d Revert one of my previous changes. Sentences now have two spaces after
the period. Apologies for the repository bloat. This is entirely a
whitespace change.
1999-03-04 22:42:55 +00:00
Nik Clayton
7321b94099 Suddenly realised none of the
<informalexample>
    <screen>
      ...
    </screen>
  </informalexample>

need the <informalexample> element. So remove it. Simple search and
replace does the trick.
1999-01-30 23:35:05 +00:00
Nik Clayton
9fc2fa5197 * Added boothelp.sgml
* Merged in changes between tags LINUXDOC_2_DOCBOOK and
  LINUXDOC_2_DOCBOOK_2. The merges are as follows (if a file isn't listed
  here it's because there are no changes to merge since the
  LINUXDOC_2_DOCBOOK tag was put down).

  File                 From  ->  To      Merged to files...
  ---------------------------------------------------------------
  authors.sgml         1.118 ->  1.128   authors.ent
  boothelp.sgml        Added
  contrib.sgml         1.312 ->  1.329   staff/chapter.sgml
  eresources.sgml      1.50  ->  1.51    eresources/chapter.sgml
  handbook.sgml        1.91  ->  1.95    handbook.sgml
  mirrors.sgml         1.92  ->  1.99    mirrors/chapter.sgml
  porting.sgml         1.112 ->  1.118   [1]
  ports.sgml           1.31  ->  1.33    ports/chapter.sgml
  printing.sgml        1.22  ->  1.23    printing/chapter.sgml
  stable.sgml          1.17  ->  1.18    cutting-edge/chapter.sgml [2]
  submitters.sgml      1.246 ->  1.261   contrib/chapter.sgml

  [1] Merged changes. Part of these changes are the migration of the
      "Making a port" section from contrib/chapter.sgml to
      ports/chapter.sgml

  [2] Merged some changes. 1.18 demotes some of the section headings so
      that the -stable section will appear on one HTML page. This is not
      the case with the DocBook stylesheets we're using, so wasn't
      necessary. For the time being, the -stable headings will follow
      the -current headings. This can be revisited after the migration
      is complete.

  There will be one more merge pass once the Handbook in doc/handbook/ is
  frozen, and then a pass to reformat (refill) most of the lines in the
  Handbook so it's more aesthetically pleasing. The SGML parsers don't
  care, but it makes it easier to follow the structure when editing the
  documents.

* Removed

      sgml-shorttag: nil
      sgml-minimize-attributes: max

  from the Emacs local variables at the bottom of each file. It didn't
  do quite what I was expecting.
1998-12-10 20:44:09 +00:00
Nik Clayton
276c9344d5 Merged in the following changes. This was done by taking diffs between the
tags LINUXDOC_2_DOCBOOK_START and LINUXDOC_2_DOCBOOK from doc/handbook/.

Note that the LINUXDOC_2_DOCBOOK tag is not necessarily at the HEAD of
the file. So some files won't show changes because changes were applied
after I laid down the LINUXDOC_2_DOCBOOK tag.

Not everything was merged. In some cases, URLs had been shortened;

    http://www.freebsd.org/docproj/

becomes

     ../docproj/

This is a mistake, since users browsing the Handbook on their own machine
can't be expected to have links like this work. Of course, for mirrors,
they'll end up pointing back to the main site. For the mean time, do
nothing -- this will need an entity defined to reference the base URL
of the FreeBSD site, individual mirrors can set this as necessary.

Notice how some files (on the left) are merged to the same file (on
the right). This is because the new Handbook file structure is organised
on DocBook chapter lines.

Files with no revision number in the "From" column didn't exist when I
started the conversion.

File                 From  ->  To      Merged to files...
---------------------------------------------------------------
anoncvs.sgml               ->  1.1     cutting-edge/chapter.sgml
authors.sgml         1.93  ->  1.118   authors.ent
backups.sgml               ->  1.4     backups/chapter.sgml
bibliography.sgml    1.33  ->  1.37    bibliography/chapter.sgml
contrib.sgml         1.274 ->  1.312   staff/chapter.sgml
ctm.sgml             1.22  ->  1.23    cutting-edge/chapter.sgml
cvsup.sgml           1.36  ->  1.40    cutting-edge/chapter.sgml
disks.sgml                 ->  1.3     disks/chapter.sgml
eresources.sgml      1.39  ->  1.50    eresources/chapter.sgml
firewalls.sgml       1.19  ->  1.20    security/chapter.sgml
handbook.sgml        1.83  ->  1.91    handbook.sgml
history.sgml         1.24  ->  1.25    introduction/chapter.sgml
install.sgml         1.65  ->  1.67    install/chapter.sgml
isdn.sgml            1.12  ->  1.15    advanced-networking/chapter.sgml
kerberos.sgml        1.12  ->  1.13    security/chapter.sgml
kernelconfig.sgml    1.31  ->  1.32    kernelconfig/chapter.sgml
kerneldebug.sgml     1.17  ->  1.19    kerneldebug/chapter.sgml
linuxemu.sgml        1.22  ->  1.24    linuxemu/chapter.sgml
memoryuse.sgml       1.11  ->  1.12    internals/chapter.sgml
mirrors.sgml         1.80  ->  1.92    mirrors/chapter.sgml
nutshell.sgml        1.14  ->  1.15    introduction/chapter.sgml
pgpkeys.sgml         1.25  ->  1.28    pgpkeys/chapter.sgml
policies.sgml        1.16  ->  1.18    policies/chapter.sgml
porting.sgml         1.93  ->  1.112   contrib/chapter.sgml
ports.sgml           1.29  ->  1.31    ports/chapter.sgml
printing.sgml        1.21  ->  1.22    printing/chapter.sgml
relnotes.sgml        1.24  ->  1.28    introduction/chapter.sgml  [1]
submitters.sgml      1.161 ->  1.246   contrib/chapter.sgml
synching.sgml        1.12  ->  1.13    cutting-edge/chapter.sgml
userppp.sgml         1.28  ->  1.30    ppp-and-slip/chapter.sgml

[1] A chunk of relnotes.sgml is in an IGNORED marked section. Why?

Submitted by:	A bunch (~ 50%) of merging done by Charles A. Wimmer
                (cawimm@FreeBSD.ORG), rest by Nik.
1998-11-12 01:26:39 +00:00
Nik Clayton
6ff34ef882 Replace
<xref linkend="target" remap="foo">

with

    <link linkend="target">foo</link>

Internal links within the Handbook now do the right thing.
1998-11-05 23:28:48 +00:00
Nik Clayton
97bffaedea Fix line 125 of kerneldebug/chapter.sgml, & -> &amp; 1998-11-03 23:49:40 +00:00
Nik Clayton
336215d4e6 Added chapter.decl, which contains a declaration for a DocBook chapter.
Added

<!--
     Local Variables:
     mode: sgml
     sgml-declaration: "../chapter.decl"
     sgml-indent-data: t
     sgml-omittag: nil
     sgml-shorttag: nil
     sgml-always-quote-attributes: t
     sgml-minimize-attributes: max
     sgml-parent-document: ("../handbook.sgml" "part" "chapter")
     End:
-->

to the bottom of each chapter.sgml file so that Emacs can do the right
thing.
1998-11-03 23:28:30 +00:00
Nik Clayton
2207769022 Split the handbook into individual files. Each chapter is in a file called
chapter.sgml in a directory named according to the value the id
attribute on that chapter.

Added chapters.ent, which lists the entities for each chapter.

Updated handbook.sgml to use these entities.
1998-11-03 23:17:06 +00:00