---
title: Preface
prev: books/handbook
next: books/handbook/parti
description: The FreeBSD newcomer will find that the first section of this book guides the user through the FreeBSD installation process and gently introduces the concepts and conventions that underpin UNIX
tags: ["preface", "audience", "organization", "conventions", "acknowledgments"]
showBookMenu: true
weight: 1
params:
  path: "/books/handbook/preface/"
---

[preface]
[[book-preface]]
= Preface
:doctype: book
:toc: macro
:toclevels: 1
:icons: font
:source-highlighter: rouge
:experimental:
:images-path: books/handbook/preface/

ifdef::env-beastie[]
ifdef::backend-html5[]
:imagesdir: ../../../../images/{images-path}
endif::[]
ifndef::book[]
include::shared/authors.adoc[]
include::shared/mirrors.adoc[]
include::shared/releases.adoc[]
include::shared/attributes/attributes-{{% lang %}}.adoc[]
include::shared/{{% lang %}}/teams.adoc[]
include::shared/{{% lang %}}/mailing-lists.adoc[]
include::shared/{{% lang %}}/urls.adoc[]
toc::[]
endif::[]
ifdef::backend-pdf,backend-epub3[]
include::../../../../../shared/asciidoctor.adoc[]
endif::[]
endif::[]

ifndef::env-beastie[]
toc::[]
include::../../../../../shared/asciidoctor.adoc[]
endif::[]

[[preface-audience]]
== Intended Audience

The FreeBSD newcomer will find that the first section of this book guides the user through the FreeBSD installation process and gently introduces the concepts and conventions that underpin UNIX(R).
Working through this section requires little more than the desire to explore, and the ability to take on board new concepts as they are introduced.

Once you have traveled this far, the second, far larger, section of the Handbook is a comprehensive reference to all manner of topics of interest to FreeBSD system administrators.
Some of these chapters may recommend that you do some prior reading, and this is noted in the synopsis at the beginning of each chapter.

For a list of additional sources of information, please see crossref:bibliography[bibliography,Bibliography].

[[preface-changes-from4]]
== Fourth Edition

The current version of the Handbook represents the cumulative effort of a working group that has been reviewing and updating all Handbook content.
These are the major updates since the fourth edition of the Handbook.

* The Handbook has been converted from link:https://docbook.org/[Docbook] to link:https://gohugo.io/[Hugo] and link:https://asciidoctor.org/[AsciiDoctor]
* The link:https://docs.FreeBSD.org[FreeBSD Documentation Portal] has been created.
* The crossref:introduction[introduction, Introduction] chapter has been updated to improve the FreeBSD history and fix minor typos.
* The crossref:bsdinstall[bsdinstall, Install] chapter has been updated with an upgraded synopsis, the latest changes to the installer, refreshed images, added alt text to images, and the removal of references to specific versions.
* The crossref:basics[basics, Basics] chapter has updated tables, command outputs, and directory structure per man:hier.
* The crossref:ports[ports, Ports] chapter has been updated and now simplifies package searches, updates software examples (Nginx replaces Apache), improves the man:pkg[8] bootstrap process, and adds new instructions for configuring and managing packages, including blocking and unblocking.
* The crossref:x11[x11, X11] chapter has been updated to reflect the current state of graphics in FreeBSD, remove outdated references to old Intel drivers, configurations, and compiz, and relocate desktop environment instructions (such as KDE Plasma and GNOME) to the Desktop Environments chapter, as these environments now also support Wayland in addition to X11.
* The crossref:wayland[wayland,Wayland] chapter has been added with information about installing and configuring Wayland under FreeBSD.
* The crossref:network[network, Network] chapter has been created to cover basic wired and wireless network configuration, including hostname, DNS, and troubleshooting. Sections on wired networks, wireless, and IPv6 have been moved and updated with improved command outputs, use of sysrc, and better AsciiDoc syntax.
* The crossref:desktop[desktop, Desktop] chapter has been updated with upgraded installation instructions for KDE Plasma, GNOME, XFCE, MATE, Cinnamon, and LXQT, expanded browser options, a new development tools section, and updates to office productivity, document viewers, and finance sections.
* The crossref:multimedia[multimedia, Multimedia] chapter has been reworked with updates to the sound section, new tables for sound mixers, audio players, and video players, guidance on automatic headphone switching, a new conferencing and meetings section, and a revised image scanners section.
* The crossref:linuxemu[linuxemu, Linuxemu] chapter has been improved with updated instructions for setting up a Debian/Ubuntu base system using debootstrap.
* The crossref:config[config, Config] chapter has been renamed for accuracy, with updates to service management, cron and periodic, syslog, power management, and swap sections. A new entry on config files was added, and the outdated tuning section was removed.
* The crossref:security[security, Security] chapter has been updated with enhancements to VPN over IPSec, securing accounts, password hashes, sudo/doas, and OpenSSH/OpenSSL. New sections have been added covering IDS, secure levels, file flags, Capsicum, NFSv4 ACLs, and resource limits.
* The crossref:jails[jails, Jails] chapter has been updated to include details on jail types (Thick, Thin, VNET, and Linux Jails), host system configuration, networking options, the jail configuration file, setup procedures, upgrade methods, resource limits, and different jail managers and container solutions.
* The crossref:mail[mail, Mail] chapter has been updated to include information on DMA, upgrades to Sendmail, instructions for changing DMA and Sendmail to use different MTAs, and the removal of Dialup and Fetchmail sections, along with a reorganization of the chapter.
* The crossref:bibliography[bibliography,Bibliography] has been extensively updated.

[[preface-changes-from3]]
== Third Edition

The current online version of the Handbook represents the cumulative effort of many hundreds of contributors over the past 10 years.
The following are some of the significant changes since the two volume third edition was published in 2004:

* crossref:wine[wine,WINE] has been added with information about how to run Windows(R) applications on FreeBSD.
* crossref:dtrace[dtrace,DTrace] has been added with information about the powerful DTrace performance analysis tool.
* crossref:filesystems[filesystems,Other File Systems] have been added with information about non-native file systems in FreeBSD, such as ZFS from Sun(TM).
* crossref:audit[audit,Security Event Auditing] has been added to cover the new auditing capabilities in FreeBSD and explain its use.
* crossref:virtualization[virtualization,Virtualization] has been added with information about installing FreeBSD on virtualization software.
* crossref:bsdinstall[bsdinstall,Installing FreeBSD] has been added to cover installation of FreeBSD using the new installation utility, bsdinstall.

[[preface-changes-from2]]
== Second Edition (2004)

The third edition was the culmination of over two years of work by the dedicated members of the FreeBSD Documentation Project.
The printed edition grew to such a size that it was necessary to publish as two separate volumes.
The following are the major changes in this new edition:

* crossref:config[config-tuning,Configuration and Tuning] has been expanded with new information about the ACPI power and resource management, the `cron` system utility, and more kernel tuning options.
* crossref:security[security,Security] has been expanded with new information about virtual private networks (VPNs), file system access control lists (ACLs), and security advisories.
* crossref:mac[mac,Mandatory Access Control] is a new chapter with this edition. It explains what MAC is and how this mechanism can be used to secure a FreeBSD system.
* crossref:disks[disks,Storage] has been expanded with new information about USB storage devices, file system snapshots, file system quotas, file and network backed filesystems, and encrypted disk partitions.
* A troubleshooting section has been added to crossref:ppp-and-slip[ppp-and-slip,PPP].
* crossref:mail[mail,Electronic Mail] has been expanded with new information about using alternative transport agents, SMTP authentication, UUCP, fetchmail, procmail, and other advanced topics.
* crossref:network-servers[network-servers,Network Servers] is all new with this edition. This chapter includes information about setting up the Apache HTTP Server, ftpd, and setting up a server for Microsoft(R) Windows(R) clients with Samba. Some sections from crossref:advanced-networking[advanced-networking,Advanced Networking] were moved here to improve the presentation.
* crossref:advanced-networking[advanced-networking,Advanced Networking] has been expanded with new information about using Bluetooth(R) devices with FreeBSD, setting up wireless networks, and Asynchronous Transfer Mode (ATM) networking.
* A glossary has been added to provide a central location for the definitions of technical terms used throughout the book.
* A number of aesthetic improvements have been made to the tables and figures throughout the book.

[[preface-changes]]
== First Edition (2001)

The second edition was the culmination of over two years of work by the dedicated members of the FreeBSD Documentation Project.
The following were the major changes in this edition:

* A complete Index has been added.
* All ASCII figures have been replaced by graphical diagrams.
* A standard synopsis has been added to each chapter to give a quick summary of what information the chapter contains, and what the reader is expected to know.
* The content has been logically reorganized into three parts: "Getting Started", "System Administration", and "Appendices".
* crossref:basics[basics,FreeBSD Basics] has been expanded to contain additional information about processes, daemons, and signals.
* crossref:ports[ports,Installing Applications: Packages and Ports] has been expanded to contain additional information about binary package management.
* crossref:x11[x11,The X Window System] has been completely rewritten with an emphasis on using modern desktop technologies such as KDE and GNOME on XFree86(TM) 4.X.
* crossref:boot[boot,The FreeBSD Booting Process] has been expanded.
* crossref:disks[disks,Storage] has been written from what used to be two separate chapters on "Disks" and "Backups". We feel that the topics are easier to comprehend when presented as a single chapter. A section on RAID (both hardware and software) has also been added.
* crossref:serialcomms[serialcomms,Serial Communications] has been completely reorganized and updated for FreeBSD 4.X/5.X.
* crossref:ppp-and-slip[ppp-and-slip,PPP] has been substantially updated.
* Many new sections have been added to crossref:advanced-networking[advanced-networking,Advanced Networking].
* crossref:mail[mail,Electronic Mail] has been expanded to include more information about configuring sendmail.
* crossref:linuxemu[linuxemu,Linux® Binary Compatibility] has been expanded to include information about installing Oracle(R) and SAP(R) R/3(R).
* The following new topics are covered in this second edition:

** crossref:config[config-tuning,Configuration and Tuning].
** crossref:multimedia[multimedia,Multimedia].

[[preface-overview]]
== Organization of This Book

This book is split into five logically distinct sections.
The first section, _Getting Started_, covers the installation and basic usage of FreeBSD.
It is expected that the reader will follow these chapters in sequence, possibly skipping chapters covering familiar topics.
The second section, _Common Tasks_, covers some frequently used features of FreeBSD.
This section, and all subsequent sections, can be read out of order.
Each chapter begins with a succinct synopsis that describes what the chapter covers and what the reader is expected to already know.
This is meant to allow the casual reader to skip around to find chapters of interest.
The third section, _System Administration_, covers administration topics.
The fourth section, _Network Communication_, covers networking and server topics.
The fifth section contains appendices of reference information.

_crossref:introduction[introduction,Introduction]_::
Introduces FreeBSD to a new user. It describes the history of the FreeBSD Project, its goals and development model.

_crossref:bsdinstall[bsdinstall,Installing FreeBSD]_::
Walks a user through the entire installation process of FreeBSD 9._x_ and later using bsdinstall.

_crossref:basics[basics,FreeBSD Basics]_::
Covers the basic commands and functionality of the FreeBSD operating system. If you are familiar with Linux(R) or another flavor of UNIX(R) then you can probably skip this chapter.

_crossref:ports[ports,Installing Applications: Packages and Ports]_::
Covers the installation of third-party software with both FreeBSD's innovative "Ports Collection" and standard binary packages.

_crossref:x11[x11,The X Window System]_::
Describes the X Window System in general and using X11 on FreeBSD in particular. Also describes common desktop environments such as KDE and GNOME.

_crossref:wayland[wayland,Wayland]_::
Describes the Wayland display server in general and using Wayland on FreeBSD in particular. Also describes common compositors such as Wayfire, Hikari and Sway.

_crossref:desktop[desktop,Desktop Applications]_::
Lists some common desktop applications, such as web browsers and productivity suites, and describes how to install them on FreeBSD.

_crossref:multimedia[multimedia,Multimedia]_::
Shows how to set up sound and video playback support for your system. Also describes some sample audio and video applications.

_crossref:kernelconfig[kernelconfig,Configuring the FreeBSD Kernel]_::
Explains why you might need to configure a new kernel and provides detailed instructions for configuring, building, and installing a custom kernel.

_crossref:printing[printing,Printing]_::
Describes managing printers on FreeBSD, including information about banner pages, printer accounting, and initial setup.

_crossref:linuxemu[linuxemu,Linux® Binary Compatibility]_::
Describes the Linux(R) compatibility features of FreeBSD. Also provides detailed installation instructions for many popular Linux(R) applications such as Oracle(R) and Mathematica(R).

_crossref:wine[wine,WINE]_::
Describes WINE and provides detailed installation instructions. Also describes how WINE operates, how to install a GUI helper, how to run Windows(R) applications on FreeBSD, and offers other tips and solutions.

_crossref:config[config-tuning,Configuration and Tuning]_::
Describes the parameters available for system administrators to tune a FreeBSD system for optimum performance. Also describes the various configuration files used in FreeBSD and where to find them.

_crossref:boot[boot,The FreeBSD Booting Process]_::
Describes the FreeBSD boot process and explains how to control this process with configuration options.

_crossref:security[security,Security]_::
Describes many different tools available to help keep your FreeBSD system secure, including Kerberos, IPsec and OpenSSH.

_crossref:jails[jails,Jails]_::
Describes the jails framework, and the improvements of jails over the traditional chroot support of FreeBSD.

_crossref:mac[mac,Mandatory Access Control]_::
Explains what Mandatory Access Control (MAC) is and how this mechanism can be used to secure a FreeBSD system.

_crossref:audit[audit,Security Event Auditing]_::
Describes what FreeBSD Event Auditing is, how it can be installed, configured, and how audit trails can be inspected or monitored.

_crossref:disks[disks,Storage]_::
Describes how to manage storage media and filesystems with FreeBSD. This includes physical disks, RAID arrays, optical and tape media, memory-backed disks, and network filesystems.

_crossref:geom[geom,GEOM: Modular Disk Transformation Framework]_::
Describes what the GEOM framework in FreeBSD is and how to configure various supported RAID levels.

_crossref:zfs[zfs,The OpenZFS storage platform]_::
Describes the OpenZFS storage platform and provides a quick-start guide and information about advanced topics running OpenZFS under FreeBSD.

_crossref:filesystems[filesystems,Other File Systems]_::
Examines support for non-native file systems under FreeBSD like ext2, ext3 and ext4.

_crossref:virtualization[virtualization,Virtualization]_::
Describes what virtualization systems offer, and how they can be used with FreeBSD.

_crossref:l10n[l10n,Localization - i18n/L10n Usage and Setup]_::
Describes how to use FreeBSD in languages other than English. Covers both system and application level localization.

_crossref:cutting-edge[updating-upgrading,Updating and Upgrading FreeBSD]_::
Explains the differences between FreeBSD-STABLE, FreeBSD-CURRENT, and FreeBSD releases. Describes which users would benefit from tracking a development system and outlines that process. Covers the methods users may take to update their system to the latest security release.

_crossref:dtrace[dtrace,DTrace]_::
Describes how to configure and use the DTrace tool from Sun(TM) on FreeBSD. Dynamic tracing can help locate performance issues, by performing real time system analysis.

_crossref:usb-device-mode[usb-device-mode,USB Device Mode / USB OTG]_::
Explains the use of USB Device Mode and USB On The Go (USB OTG) on FreeBSD.

_crossref:ppp-and-slip[ppp-and-slip,PPP]_::
Describes how to use PPP to connect to remote systems in FreeBSD.

_crossref:mail[mail,Electronic Mail]_::
Explains the different components of an email server and dives into simple configuration topics for the most popular mail server software: sendmail.

_crossref:network-servers[network-servers,Network Servers]_::
Provides detailed instructions and example configuration files to set up your FreeBSD machine as a network filesystem server, domain name server, network information system server, or time synchronization server.

_crossref:firewalls[firewalls,Firewalls]_::
Explains the philosophy behind software-based firewalls and provides detailed information about the configuration of the different firewalls available for FreeBSD.

_crossref:advanced-networking[advanced-networking,Advanced Networking]_::
Describes many networking topics, including sharing an Internet connection with other computers on your LAN, advanced routing topics, wireless networking, Bluetooth(R), ATM, IPv6, and much more.

_crossref:mirrors[mirrors,Obtaining FreeBSD]_::
Lists different sources for obtaining FreeBSD media on CDROM or DVD as well as different sites on the Internet that allow you to download and install FreeBSD.

_crossref:bibliography[bibliography,Bibliography]_::
This book touches on many different subjects that may leave you hungry for a more detailed explanation. The bibliography lists many excellent books that are referenced in the text.

_crossref:eresources[eresources,Resources on the Internet]_::
Describes the many forums available for FreeBSD users to post questions and engage in technical conversations about FreeBSD.

_crossref:pgpkeys[pgpkeys,OpenPGP Keys]_::
Lists the PGP fingerprints of several FreeBSD Developers.

[[preface-conv]]
== Conventions used in this book

To provide a consistent and easy to read text, several conventions are followed throughout the book.

[[preface-conv-typographic]]
=== Typographic Conventions

_Italic_::
An _italic_ font is used for filenames, URLs, emphasized text, and the first usage of technical terms.

`Monospace`::
A `monospaced` font is used for error messages, commands, environment variables, names of ports, hostnames, user names, group names, device names, variables, and code fragments.

*Bold*::
A *bold* font is used for applications, commands, and keys.

[[preface-conv-commands]]
=== User Input

Keys are shown in *bold* to stand out from other text.
Key combinations that are meant to be typed simultaneously are shown with `+` between the keys, such as:

kbd:[Ctrl+Alt+Del]

Meaning the user should type the kbd:[Ctrl], kbd:[Alt], and kbd:[Del] keys at the same time.

Keys that are meant to be typed in sequence will be separated with commas, for example:

kbd:[Ctrl+X], kbd:[Ctrl+S]

Would mean that the user is expected to type the kbd:[Ctrl] and kbd:[X] keys simultaneously and then to type the kbd:[Ctrl] and kbd:[S] keys simultaneously.

[[preface-conv-examples]]
=== Examples

Examples starting with [.filename]#C:\># indicate a MS-DOS(R) command.
Unless otherwise noted, these commands may be executed from a "Command Prompt" window in a modern Microsoft(R) Windows(R) environment.

[source,shell]
....
C:\> tools\fdimage floppies\kern.flp A:
....

Examples starting with # indicate a command that must be invoked as the superuser in FreeBSD.
You can login as `root` to type the command, or login as your normal account and use man:su[1] to gain superuser privileges.

[source,shell]
....
# dd if=kern.flp of=/dev/fd0
....

Examples starting with % indicate a command that should be invoked from a normal user account.
Unless otherwise noted, C-shell syntax is used for setting environment variables and other shell commands.

[source,shell]
....
% top
....

[[preface-acknowledgements]]
== Acknowledgments

The book you are holding represents the efforts of many hundreds of people around the world.
Whether they sent in fixes for typos, or submitted complete chapters, all the contributions have been useful.

Several companies have supported the development of this document by paying authors to work on it full-time, paying for publication, etc.
In particular, BSDi (subsequently acquired by http://www.windriver.com[Wind River Systems]) paid members of the FreeBSD Documentation Project to work on improving this book full time leading up to the publication of the first printed edition in March 2000 (ISBN 1-57176-241-8).
Wind River Systems then paid several additional authors to make a number of improvements to the print-output infrastructure and to add additional chapters to the text.
This work culminated in the publication of the second printed edition in November 2001 (ISBN 1-57176-303-1).
In 2003-2004, http://www.freebsdmall.com[FreeBSD Mall, Inc], paid several contributors to improve the Handbook in preparation for the third printed edition.
The third printed edition has been split into two volumes.
Both volumes have been published as The FreeBSD Handbook 3rd Edition Volume 1: User Guide (ISBN 1-57176-327-9) and The FreeBSD Handbook 3rd Edition Volume 2: Administrators Guide (ISBN 1-57176-328-7).
