47
BSD For Linux Users Dru Lavigne Chair, BSD Certification Group SouthEast LinuxFest 2010

SELF 2010: BSD For Linux Users

Embed Size (px)

DESCRIPTION

Presentation for SouthEast LinuxFest 2010.

Citation preview

Page 1: SELF 2010: BSD For Linux Users

BSD For Linux Users

Dru LavigneChair, BSD Certification GroupSouthEast LinuxFest 2010

Page 2: SELF 2010: 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: SELF 2010: BSD For Linux Users

What is this BSD you speak of?

Page 4: SELF 2010: BSD For Linux Users

aka What is this Linux you speak of?

Page 5: SELF 2010: BSD For Linux Users

kernel?

Page 6: SELF 2010: BSD For Linux Users

distro?

Page 7: SELF 2010: BSD For Linux Users

Ubuntu?

Page 8: SELF 2010: 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: SELF 2010: 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 (21,873 apps)

OpenBSD: security and dependable release cycle

Dragonfly BSD: filesystem architecture

PC-BSD: anyone can install and use BSD

Page 10: SELF 2010: BSD For Linux Users

How is it different?

Page 11: SELF 2010: BSD For Linux Users
Page 12: SELF 2010: BSD For Linux Users

Gnome on Ubuntu vs.

Page 13: SELF 2010: BSD For Linux Users

KDE on PC-BSD

Page 14: SELF 2010: BSD For Linux Users

device names

Page 15: SELF 2010: BSD For Linux Users

startup (no runlevels)

Page 16: SELF 2010: BSD For Linux Users

one config file philosophy

Page 17: SELF 2010: BSD For Linux Users

kernel configuration

Page 18: SELF 2010: BSD For Linux Users

consistent layout (man hier)

Page 19: SELF 2010: BSD For Linux Users

BSD vs GNU switches

Page 20: SELF 2010: BSD For Linux Users

working examples

Page 21: SELF 2010: BSD For Linux Users

Release Engineering?

Page 22: SELF 2010: 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: SELF 2010: BSD For Linux Users

Release Engineering

● commit bit indicates write permission to code repository

● FreeBSD 425 commit bits● NetBSD 260 commit bits● OpenBSD 132 commit bits● plus thousands of contributors for

software, docs, translations, bug fixes, etc● Linux has 1 committer, 1150 developers

Page 24: SELF 2010: 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: SELF 2010: 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: SELF 2010: BSD For Linux Users

Features unique to BSD?

Page 27: SELF 2010: BSD For Linux Users

securelevels

Page 28: SELF 2010: BSD For Linux Users

FreeBSD jails

Page 29: SELF 2010: BSD For Linux Users

NetBSD build.sh

Page 30: SELF 2010: BSD For Linux Users

pkgsrc

Page 31: SELF 2010: BSD For Linux Users

PC-BSD PBIs

Page 32: SELF 2010: BSD For Linux Users

VuXML and portaudit

or pkg_admin audit

for pkgsrc systems

Page 33: SELF 2010: BSD For Linux Users

NetBSD veriexec

Page 34: SELF 2010: BSD For Linux Users

binary emulation

Page 35: SELF 2010: BSD For Linux Users

FreeBSD netgraph

Page 36: SELF 2010: BSD For Linux Users

ZFS support

Page 37: SELF 2010: BSD For Linux Users

FreeBSD dtrace suport

Page 38: SELF 2010: BSD For Linux Users

CARP

Page 39: SELF 2010: BSD For Linux Users

FreeBSD superpages

Page 40: SELF 2010: BSD For Linux Users

OpenBSM

Page 41: SELF 2010: BSD For Linux Users

FreeBSD snapshots

Page 42: SELF 2010: BSD For Linux Users

ALTQ

Page 43: SELF 2010: BSD For Linux Users

DragonFly HAMMER

Page 44: SELF 2010: BSD For Linux Users

Newest Features

Page 45: SELF 2010: BSD For Linux Users

Newest Features

Page 46: SELF 2010: BSD For Linux Users

Books:

BSD Hacks

Best of FreeBSD Basics

Definitive Guide to PC-BSD

Absolute BSD

Absolute FreeBSD

Absolute OpenBSD

Page 47: SELF 2010: BSD For Linux Users

Questions:

http://www.slideshare.net/dlavigne/

self-2010-bsd-for-linux-users

[email protected]

Stop by the BSD booth and say hi!