52
BSD For Linux Users Dru Lavigne Chair, BSD Certification Group SCALE 2010

Scale 2010: BSD for Linux Users

Embed Size (px)

DESCRIPTION

Presentation for SCALE 2010.

Citation preview

Page 1: Scale 2010: BSD for Linux Users

BSD For Linux Users

Dru LavigneChair, BSD Certification GroupSCALE 2010

Page 2: Scale 2010: BSD for Linux Users

This presentation will cover...

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

How is BSD 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: Scale 2010: BSD for Linux Users

What is this BSD you speak of?

Page 4: Scale 2010: BSD for Linux Users

aka What is this Linux you speak of?

Page 5: Scale 2010: BSD for Linux Users

a kernel?

Page 6: Scale 2010: BSD for Linux Users

a distro?

Page 7: Scale 2010: BSD for Linux Users

If so, which one? Ubuntu?

Page 8: Scale 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 of the differences Linux users tend to notice on BSD

Page 9: Scale 2010: BSD for Linux Users

Back to BSD....

Differentiated by focus:

NetBSD: clean design and portability (56 supported platforms)

FreeBSD: production server stability and application support (21,250+ apps)

OpenBSD: security and dependable release cycle

Dragonfly BSD: filesystem architecture

PC-BSD: anyone can install and use BSD

Page 10: Scale 2010: BSD for Linux Users
Page 11: Scale 2010: BSD for Linux Users

How is BSD different?

Page 12: Scale 2010: BSD for Linux Users
Page 13: Scale 2010: BSD for Linux Users

Gnome vs.

Page 14: Scale 2010: BSD for Linux Users

KDE

Page 15: Scale 2010: BSD for Linux Users

device names

Page 16: Scale 2010: BSD for Linux Users

rc.conf instead of runlevels

Page 17: Scale 2010: BSD for Linux Users

one config file philosophy

Page 18: Scale 2010: BSD for Linux Users

kernel configuration

Page 19: Scale 2010: BSD for Linux Users

consistent layout (man hier)

Page 20: Scale 2010: BSD for Linux Users

BSD vs GNU switches

Page 21: Scale 2010: BSD for Linux Users

working examples

Page 22: Scale 2010: BSD for Linux Users

Release Engineering?

Page 23: Scale 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 are built-in

High “bus factor”

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

Page 24: Scale 2010: BSD for Linux Users

Release Engineering

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

● Mentorship process to earn commit bit● FreeBSD 417 commit bits● NetBSD 263 commit bits● OpenBSD 127 commit bits● plus thousands of contributors for

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

Page 25: Scale 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 26: Scale 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 27: Scale 2010: BSD for Linux Users

Features unique to BSD?

Page 28: Scale 2010: BSD for Linux Users

securelevels

Page 29: Scale 2010: BSD for Linux Users

FreeBSD jails

Page 30: Scale 2010: BSD for Linux Users

NetBSD build.sh

Page 31: Scale 2010: BSD for Linux Users

pkgsrc

Page 32: Scale 2010: BSD for Linux Users

PC-BSD PBIs

Page 33: Scale 2010: BSD for Linux Users

VuXML and portaudit

Page 34: Scale 2010: BSD for Linux Users

pkg_admin audit

or pkg_admin audit

for pkgsrc systems

Page 35: Scale 2010: BSD for Linux Users

NetBSD veriexec

Page 36: Scale 2010: BSD for Linux Users

binary emulation

Page 37: Scale 2010: BSD for Linux Users

FreeBSD netgraph

Page 38: Scale 2010: BSD for Linux Users

ZFS support

Page 39: Scale 2010: BSD for Linux Users

FreeBSD dtrace suport

Page 40: Scale 2010: BSD for Linux Users

CARP

Page 41: Scale 2010: BSD for Linux Users

FreeBSD superpages

Page 42: Scale 2010: BSD for Linux Users

OpenBSM

Page 43: Scale 2010: BSD for Linux Users

FreeBSD system snapshots

Page 44: Scale 2010: BSD for Linux Users

ALTQ

Page 45: Scale 2010: BSD for Linux Users

DragonFly HAMMER

Page 46: Scale 2010: BSD for Linux Users

Books

Page 47: Scale 2010: BSD for Linux Users

Books

Page 48: Scale 2010: BSD for Linux Users

Books

Page 49: Scale 2010: BSD for Linux Users

Books

Page 50: Scale 2010: BSD for Linux Users

Books

Page 51: Scale 2010: BSD for Linux Users

Books

Page 52: Scale 2010: BSD for Linux Users

Questions?

[email protected]

Stop by the BSD booth to say hi and get a free copy of PC-BSD!