45
BSD For Linux Users Dru Lavigne Chair, BSD Certification Group Ontario LinuxFest 2009

BSD for Linux Users

Embed Size (px)

DESCRIPTION

Presentation for 2009 Ontario LinuxFest.

Citation preview

Page 1: BSD for Linux Users

BSD For Linux Users

Dru LavigneChair, BSD Certification GroupOntario LinuxFest 2009

Page 2: BSD for Linux Users

This presentation will cover...

What is this BSD you speak of? (frame of reference)

How is it different? (will I like it?)

Release engineering? (behind the scenes)

Any features unique to BSD? (am I missing out on anything cool?)

Books (some recommended reading)

Page 3: BSD for Linux Users

What is this BSD you speak of?

Page 4: BSD for Linux Users

aka What is this Linux you speak of?

Page 5: BSD for Linux Users

kernel?

Page 6: BSD for Linux Users

distro?

Page 7: BSD for Linux Users

Ubuntu?

Page 8: BSD for Linux Users

Back to BSD....

Since we only have 45 minutes.....

We'll start with an overview of the BSD projects

Then concentrate on some differences between the BSD and Linux way of doing things

Page 9: BSD for Linux Users

Back to BSD....

Differentiated by focus:

NetBSD: clean design and portability (57 supported platforms)

FreeBSD: production server stability and application support (20,715 apps)

OpenBSD: security and dependable release cycle

Dragonfly BSD: filesystem architecture

PC-BSD: anyone can install and use BSD

Page 10: BSD for Linux Users

How is it different?

Page 11: BSD for Linux Users
Page 12: BSD for Linux Users

Gnome on Ubuntu vs.

Page 13: BSD for Linux Users

KDE on PC-BSD

Page 14: BSD for Linux Users

device names

Page 15: BSD for Linux Users

startup (no runlevels)

Page 16: BSD for Linux Users

one config file philosophy

Page 17: BSD for Linux Users

kernel configuration

Page 18: BSD for Linux Users

consistent layout (man hier)

Page 19: BSD for Linux Users

BSD vs GNU switches

Page 20: BSD for Linux Users

working examples

Page 21: BSD for Linux Users

Release Engineering?

Page 22: BSD for Linux Users

Release Engineering

Complete operating system, not kernel + distro: one source for security advisories, less likelihood of incompatible libraries

Integration of features not limited by copyleft: e.g. drivers and features are built-in

High “bus factor”

Consistent separation between operating system and third party and between BSD and GPL'd code

Page 23: BSD for Linux Users

Release Engineering

● While each BSD project has a separate focus, the communities share ideas/code

● FreeBSD 408 commit bits● NetBSD 259 commit bits● OpenBSD 122 commit bits● plus thousands of contributors for

software, docs, translations, bug fixes, etc● Linux has 1 committer, 547 maintainers

Page 24: BSD for Linux Users

Release Engineering

Principles used by the BSD projects reflect their academic roots:● well defined process for earning a

“commit bit” includes a period of working under a mentor

● code repository from Day 1 and can trace original code back to CSRG days

● no “leader”, instead well defined release engineering, security, and doc teams

Page 25: BSD for Linux Users

Release Engineering

● development occurs on CURRENT which is frozen in preparation for a RELEASE

● nightly builds (operating system and apps) help ensure that upgrades and installs don't result in library incompatibilities (safe for production)

● documentation considered as important as code

Page 26: BSD for Linux Users

Features unique to BSD?

Page 27: BSD for Linux Users

securelevels

Page 28: BSD for Linux Users

FreeBSD jails

Page 29: BSD for Linux Users

NetBSD build.sh

Page 30: BSD for Linux Users

pkgsrc

Page 31: BSD for Linux Users

PC-BSD PBIs

Page 32: BSD for Linux Users

VuXML and portaudit

or pkg_admin audit

for pkgsrc systems

Page 33: BSD for Linux Users

NetBSD veriexec

Page 34: BSD for Linux Users

binary emulation

Page 35: BSD for Linux Users

FreeBSD netgraph

Page 36: BSD for Linux Users

ZFS support

Page 37: BSD for Linux Users

FreeBSD dtrace suport

Page 38: BSD for Linux Users

CARP

Page 39: BSD for Linux Users

FreeBSD superpages

Page 40: BSD for Linux Users

OpenBSM

Page 41: BSD for Linux Users

FreeBSD snapshots

Page 42: BSD for Linux Users

ALTQ

Page 43: BSD for Linux Users

DragonFly HAMMER

Page 44: BSD for Linux Users

Books:

BSD Hacks

Best of FreeBSD Basics

Definitive Guide to PC-BSD (early 2010)

Absolute BSD

Absolute FreeBSD

Absolute OpenBSD

Page 45: BSD for Linux Users

Questions:

[email protected]

Stop by the BSD booth and say hi!