bsd for linux users
DESCRIPTION
Presentation for 2009 Ontario LinuxFest.TRANSCRIPT
![Page 1: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/1.jpg)
BSD For Linux Users
Dru LavigneChair, BSD Certification GroupOntario LinuxFest 2009
![Page 2: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/2.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/3.jpg)
What is this BSD you speak of?
![Page 4: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/4.jpg)
aka What is this Linux you speak of?
![Page 5: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/5.jpg)
kernel?
![Page 6: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/6.jpg)
distro?
![Page 7: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/7.jpg)
Ubuntu?
![Page 8: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/8.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/9.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/10.jpg)
How is it different?
![Page 11: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/11.jpg)
![Page 12: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/12.jpg)
Gnome on Ubuntu vs.
![Page 13: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/13.jpg)
KDE on PC-BSD
![Page 14: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/14.jpg)
device names
![Page 15: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/15.jpg)
startup (no runlevels)
![Page 16: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/16.jpg)
one config file philosophy
![Page 17: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/17.jpg)
kernel configuration
![Page 18: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/18.jpg)
consistent layout (man hier)
![Page 19: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/19.jpg)
BSD vs GNU switches
![Page 20: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/20.jpg)
working examples
![Page 21: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/21.jpg)
Release Engineering?
![Page 22: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/22.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/23.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/24.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/25.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/26.jpg)
Features unique to BSD?
![Page 27: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/27.jpg)
securelevels
![Page 28: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/28.jpg)
FreeBSD jails
![Page 29: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/29.jpg)
NetBSD build.sh
![Page 30: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/30.jpg)
pkgsrc
![Page 31: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/31.jpg)
PC-BSD PBIs
![Page 32: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/32.jpg)
VuXML and portaudit
or pkg_admin audit
for pkgsrc systems
![Page 33: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/33.jpg)
NetBSD veriexec
![Page 34: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/34.jpg)
binary emulation
![Page 35: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/35.jpg)
FreeBSD netgraph
![Page 36: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/36.jpg)
ZFS support
![Page 37: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/37.jpg)
FreeBSD dtrace suport
![Page 38: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/38.jpg)
CARP
![Page 39: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/39.jpg)
FreeBSD superpages
![Page 40: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/40.jpg)
OpenBSM
![Page 41: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/41.jpg)
FreeBSD snapshots
![Page 42: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/42.jpg)
ALTQ
![Page 43: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/43.jpg)
DragonFly HAMMER
![Page 44: BSD for Linux Users](https://reader034.vdocuments.us/reader034/viewer/2022051819/54c86afc4a7959e0588b4585/html5/thumbnails/44.jpg)
Books:
BSD Hacks
Best of FreeBSD Basics
Definitive Guide to PC-BSD (early 2010)
Absolute BSD
Absolute FreeBSD
Absolute OpenBSD